In this section, we will be manually invoking the AWS-UpdateLinuxAmi automation document for patching our Linux instance and later creating a new AMI out of it:
- To do this, first select the Automations option present under the Systems Manager Services section.
- From the Automations dashboard, select the Run automation document option.
- From the Document name field, select the AWS-UpdateLinuxAmi document and populate the required fields in the Input parameters section as described here:
- SourceAmiId: Provide the source Amazon Machine Image ID from which the new instance will be deployed.
- InstanceIamRole: Provide the IAM role name that enables Systems Manager to manage the instance. We created this role earlier ...