A company needs to implement a solution to install specific software on Amazon EC2 instances when the instances launch.
Which solution will meet this requirement?
A.
Configure AWS Systems Manager State Manager associations to bootstrap the EC2 instances with the required software at launch.
B.
Use the Amazon CloudWatch agent to detect EC2 InstanceStart events and to inject the required software. Modify the InstanceRole IAM role to add permissions for the StartTask API operation.
C.
Use Amazon Inspector to detect EC2 launch events. Configure Amazon Inspector to install the required software as part of lifecycle hooks for the EC2 launch events.
D.
Use AWS Security Hub remediation actions to install the required software at launch.
AWS Systems Manager State Manager is a service that allows you to automate the process of keeping your EC2 instances in a defined state, including installing software at launch or on a schedule.
From the AWS Systems Manager documentation:
You can use State Manager to bootstrap instances with software, apply configurations at launch, and maintain state across your fleet.
This is the most operationally efficient way to install software during instance launch.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit