snippetMinor
How can I simulate failure of an AWS Availability Zone?
Viewed 0 times
canzoneawshowavailabilitysimulatefailure
Problem
In order to test that our load balancers and Multi-AZ RDS instances are working the way I'd expect them to, I'd like to simulate failure of an AWS Availability Zone.
Short of locating one of the datacenters and setting fire to it (which probably wouldn't be successful anyway), how can I do this? (I'm aware of Netflix' Chaos Gorilla, but it doesn't seem to have been released to the public like Chaos Monkey has, and I'm not sure what techniques it uses to cause its chaos).
Short of locating one of the datacenters and setting fire to it (which probably wouldn't be successful anyway), how can I do this? (I'm aware of Netflix' Chaos Gorilla, but it doesn't seem to have been released to the public like Chaos Monkey has, and I'm not sure what techniques it uses to cause its chaos).
Solution
This (slightly old in cloud years) question on Hacker News provides a few suggestions:
You could also probably adjust the Network ACL attached to the relevant subnets to deny all traffic.
I'm not aware of an existing, available tool that does any of this automatically, though.
- Remove the security groups from all instances in one zone, which should technically make them all appear 'down'
- Adjust the VPC route tables to black hole the subnets in one availability zone
- Disable an availability zone from the load balancer (docs)
You could also probably adjust the Network ACL attached to the relevant subnets to deny all traffic.
I'm not aware of an existing, available tool that does any of this automatically, though.
Context
StackExchange DevOps Q#4315, answer score: 5
Revisions (0)
No revisions yet.