Skill 1.2.3
Create or run custom and predefined Systems Manager Automation runbooks (for example, by using AWS SDKs or custom scripts) to automate tasks and streamline processes on AWS
Key Concepts
AWS provides hundreds of runbooks, such as AWS-RestartEC2Instance, AWS-CreateImage, AWS-StopEC2Instance, AWSSupport-TroubleshootSSH and AWS-UpdateLinuxAmi. Custom runbooks are YAML or JSON documents with parameters and steps such as aws:executeAwsApi, aws:runCommand, aws:executeScript (Python or PowerShell), aws:waitForAwsResourceProperty, aws:branch and aws:approve.
Runbooks run from the console, the CLI (aws ssm start-automation-execution), SDKs, EventBridge targets, CloudWatch alarm OpsItems, AWS Config remediation and maintenance windows. Rate control targets many resources by tag with a maximum concurrency and error threshold, and executions can span multiple accounts and Regions. The runbook uses an AutomationAssumeRole so it can act with permissions the caller does not need.