Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
An EC2 Auto Scaling group's instances are slow to launch due to lengthy UserData scripts. Optimize instance availability, ensure the latest app version and security patches, and minimize AMI creation with validation.
A
Create an AMI with EC2 Image Builder pre-installed with necessary patches and agents, then update the Auto Scaling launch configuration.
B
Produce an AMI with EC2 Image Builder incorporating the latest app version, patches, and agents, then revise the Auto Scaling launch configuration.
C
Employ AWS CodeDeploy for runtime deployment of the most current application version.
D
Utilize AWS CodePipeline for automated runtime deployment of the latest application version, including updates and patches.
E
Eliminate OS patching commands from the UserData script to expedite instance readiness.