Want to know:
You have built an application that is deployed with an Elastic Load Balancer and an Auto Scaling Group. As a Solutions Architect, you have configured aggressive CloudWatch alarms, making your Auto Scaling Group (ASG) scale in and out very quickly, renewing your fleet of Amazon EC2 instances on a daily basis. A production bug appeared two days ago, but the team is unable to SSH into the instance to debug the issue, because the instance has already been terminated by the ASG. The log files are saved on the EC2 instance.How will you resolve the issue and make sure it doesn't happen again?Disable the Termination from the ASG any time a user reports an issueInstall a CloudWatch Logs agents on the EC2 instances to send logs to CloudWatchMake a snapshot of the EC2 instance just before it gets terminatedUse AWS Lambda to regularly SSH into the EC2 instances and copy the log files to S3
Get a detailed, AI-powered explanation for this question and thousands more on StudyFetch.
Get the Answer for FreeHow StudyFetch Helps You Master This Topic
AI-Powered Answers
Get instant, detailed explanations powered by AI that understands your course material.
Deep Understanding
Go beyond surface-level answers with step-by-step breakdowns and examples.
Personalized Learning
Spark.E adapts to your learning style and helps you connect ideas.
Practice & Test
Turn any question into flashcards, quizzes, and practice tests to solidify your knowledge.
Explore More Questions
- When was the Declaration of Independence approved?
- 235. Який показник бюджету часу визначається відношенням стояночного часу до часу рейсу?
- In the late nineteenth century, industry in the United StatesA. obtained the bulk of its raw materials from Central and South America.B. faced a growing shortage of laborers.C. saw the federal government eager to assist in its growth.D. lacked adequate capital to expand the domestic market.E. suffered from an entrepreneurial deficit.