3

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).

2

This (slightly old in cloud years) question on Hacker News provides a few suggestions:

  • 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.

| improve this answer | |
  • Also you can change the network ACL for a subnet. That can effectively sever all traffic between the AZs. – myron-semack Jun 19 '18 at 23:19
  • 1
    I did mention that ;) (although, not in the bullet points ha!) – Tim Malone Jun 20 '18 at 0:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.