- Newest
- Most votes
- Most comments
Hello.
EC2 in Elastic Beanstalk is managed by AutoScaling.
Due to the utoScaling specification, if a failure occurs in an Availability Zone or EC2, a new instance will be launched.
This behavior is the same even if there is only one instance.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#limitations-simplified-recovery
Simplified automatic recovery is not initiated for instances in an Auto Scaling group. If your instance is part of an Auto Scaling group with health checks enabled, then the instance is replaced when it becomes impaired.
https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html
Better fault tolerance. Amazon EC2 Auto Scaling can detect when an instance is unhealthy, terminate it, and launch an instance to replace it. You can also configure Amazon EC2 Auto Scaling to use multiple Availability Zones. If one Availability Zone becomes unavailable, Amazon EC2 Auto Scaling can launch instances in another one to compensate.
Relevant content
- Accepted Answerasked 4 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 16 days ago
- AWS OFFICIALUpdated 2 years ago