I want to migrate my workloads from Xen-based instances to Nitro-based instances in Amazon Elastic Compute Cloud (Amazon EC2).
Short description
To migrate Xen-based Amazon EC2 Linux instances to the Nitro platform, use the AWS Systems Manager automation runbooks AWSSupport-MigrateXentoNitroLinux and AWSSupport-CloneXenEC2InstanceAndMigrateToNitro.
Resolution
Note: Before you start the AWSSupport-MigrateXenToNitroLinux runbook, make sure that your AWS Identify and Access Management (IAM) user or role has the required permissions.
To run the AWSSupport-MigrateXenToNitroLinux automation runbook, complete the following steps:
- Open the Systems Manager console.
- Navigate to the AWSSupport-MigrateXenToNitroLinux runbook, and then select Execute automation.
- Modify the following input parameters:
TargetInstanceId - Enter your Amazon EC2 instance ID. Make sure that Show managed instances only is selected from the dropdown list that's to the right of the Amazon EC2 instance list.
OperationType - Enter FullMigration or Clone&Migrate. To complete a migration from Xen to Nitro with root volume replacement, enter FullMigration. If a Nitro-based golden AMI is required, then enter Clone&Migrate.
Note: This parameter is visible only when you choose the AWSSupport-MigrateXentoLinux runbook for automation.
AutomationAssumeRole - Enter your IAM role. If you don't provide an IAM role, then Systems Manager uses the permissions of the user that runs the automation. For more information, see Setting up Automation.
SNSTopicArn - Enter your Amazon Simple Notification Service (Amazon SNS) topic. To create an Amazon SNS topic, see Creating an Amazon SNS topic.
MinimumRequiredApprovals - Enter the number of approvals that you want for the automation. For example, if you entered 3 IAM principals in the ApproverIAM section, then specify a value of 1, 2, or 3. Automation resumes when all specified IAM principals provide approval.
NitroInstanceType - Enter the Nitro instance type that you want to migrate to. Only M5, C5, C6, R5, R6, and T3 instance types are supported.
ApproverIAM - Enter a list of authenticated principals that receive approvals, update notifications, and approve the automation.
DeleteResourceOnFailure - Enter True or False. To delete created resources when automation fails, enter True. To keep created resources when the automation fails, enter False.
Acknowledgement - Enter Yes, I understand and acknowledge. Make sure that you review the document details before you enter Yes, I understand and acknowledge.
- (Optional) In the Tags section, enter tags for the automation.
- To start the automation, select Execute.
When the automation completes, the target Nitro-based Amazon EC2 instance and an AMI based on the target Amazon EC2 instance appear in the Outputs.
Note: In the Systems Manager console, under Executed Steps, choose an Execution ID to check each step for success or failure. If a step fails, then select the Step ID and check the Outputs section for further information.
Related information
AWS Support Automation Workflows (SAW)
Run an automation