Ultimate access to all questions.
A startup utilizes Elastic Beanstalk to manage its cloud infrastructure, which comprises a few Amazon EC2 instances, an Auto Scaling Group (ASG), and an Elastic Load Balancer (ELB). Despite the ELB identifying an EC2 instance as unhealthy, the ASG has not automatically substituted it with a healthy instance.
As a Developer, recommend the essential configurations needed to ensure the automatic replacement of unhealthy instances.