Patching instances using automation

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:

  1. To do this, first select the Automations option present under the Systems Manager Services section.
  2. From the Automations dashboard, select the Run automation document option.
  3. 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 ...

Get AWS Administration : The AWS Definitive Guide to core AWS service offerings and implementing AWS in your own environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.