A.
- You will create a CloudFormation Template to define the AWS Infrastructure.
- You will then enable Health Check on ELB.
- If EC2 instance Health Check fails, you will initiate CloudFormation stake, to deploy new infrastructure.
B.
- You will create a CloudFormation Template to define the AWS Infrastructure.
- Spin up second infrastructure using CloudFormation
- Configure ELB Spillover, so that if there is any slow connection ELB will re-direct connection to second Infrastructure.
C. Correct Answer
D.
- Define new Auto Scaling Group.
- You will be creating two separate ELB.
- You will add auto scaling group behind both the ELB.
Correct Answer : In this case overall we want to reduce the page load time when number of page request increases. Solution for that is auto scaling. Now point is how you would enable auto scaling for the already running EC2 instances. Most suitable option is below
- You will create a CloudFormation Template to define the AWS Infrastructure.
- You will be using Elastic Beanstalk and Auto Scaling
- Re-deploy infrastructure using CloudFormation stake, Auto Scaling and Elastic Beanstalk.
- Set up auto scaling policies to scale based on the number of requests per second and as well as page load time.