- You will be creating AMI of your EC2 instance before it is getting terminated by auto-scaling and save that AMI in your S3 bucket.
- You need to write a script which will create a snapshot of the ephemeral storage and save that snapshot in the S3 bucket specified by you.
- Correct Answer
- You will schedule a Job which will create an snapshot of all the EC2 instances in auto-scaling group and save them in S3 bucket specified by you.
Correct Answer : C
Detailed Explaination: In question we can see that cost is a major factor and another important point website should not be down, because customer are ordering online as well even it is possible restaurant staff is also using the same website for billing and ordering. Website is already running with the auto scaling, hence its good solution.
Another objective is to use the logs for applying .........................we don’t need cost to increase very high. Two possible solution is
- Attach EBS volume to each instance and persist log in this. But in this case cost will increase and even we don’t have option in question.
- You need to stream logs from EC2 instance on real.....can use CloudWatch logs, and we need to install CloudWatch log agents on each EC2 in...ogs from EC2 instance and we can store them somewhere on S3 bucket. As we are done with the log analysis we can either delete it or send it to cheaper storage.