AWS-RestartEC2Instance - AWS Systems Manager Automation Runbook Reference
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: January 3, 2026.

AWS-RestartEC2Instance

Description

Restart one or more Amazon Elastic Compute Cloud (Amazon EC2) instances.

Run this Automation (console)

Document type

Automation

Owner

Amazon

Platforms

Linux, macOS, Windows

Parameters

  • AutomationAssumeRole

    Type: String

    Description: (Optional) The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows Systems Manager Automation to perform the actions on your behalf. If no role is specified, Systems Manager Automation uses the permissions of the user that starts this runbook.

  • InstanceId

    Type: StringList

    Description: (Required) The IDs of the Amazon EC2 instances to restart.