背景:
最近由于工作所需,开始学习了解混沌工程。
目前项目多用 AWS 的云服务,由此展开了对官方混沌工程工具 AWS FIS 的调研。
调研结果做了一点笔记,包含工具的基本功能,可注入的缺陷类型,价格等
以下为笔记
Resource
https://docs.aws.amazon.com/fis/latest/userguide/what-is.html
https://docs.aws.amazon.com/zh_cn/wellarchitected/latest/reliability-pillar/rel_testing_resiliency_failure_injection_resiliency.html
Price
https://aws.amazon.com/cn/fis/pricing/?refid=12eea001-bcfd-40ce-9788-748f73400e32
The AWS FIS price is $0.10 per action-minute plus an additional $0.10 per action-minute for each additional account, for all regions except AWS GovCloud (US-East and US-West), where the price is $0.12 per action-minute, plus an additional $0.12 per action-minute for each additional account.
increasing CPU utilization on an instance or failing over a database is called an action.
Experiments include one or several actions that will be run in sequence or in parallel per your specification.
Charges are the same regardless of the action type, number of affected resources, or total experiment duration.
Feature
https://aws.amazon.com/cn/fis/features/
list of scenarios
https://docs.aws.amazon.com/fis/latest/userguide/scenario-library-scenarios.html
EC2:
- EC2 stress: instance failure
- EC2 stress: Disk
- EC2 stress: CPU
- EC2 stress: Memory
- EC2 stress: Network Latency
EKS:
- EKS stress: Pod Delete
- EKS stress: CPU
- EKS stress: Disk
- EKS stress: Memory
- EKS stress: Network latency
for multi-AZ and multi-Region
- AZ availability: Power interruption
- Cross-Region: Connectivity
目前看来能用上的大概是 EKS 的几种缺陷注入能力,
想打听一下咱们 testerhome 有没有 混沌工程 方面的大佬?
对于 基于 AWS 云的微服务架构系统 进行缺陷注入和混沌实验有什么建议?
对于混沌工程 领域新人常踩的坑有哪些?
在实际生产环境执行混沌实验有哪些最佳实践?
如何评估实验成本?
希望能多多交流。