![]() ![]() Choose the same security group that's applied to the instance that you're moving.Accept the defaults, and then choose Next: Add Tags.If the instance is a production instance, then for Enable termination protection, choose Protect against accidental termination. Choose the same instance type as the instance that you want to move, and then choose Next: Configure Instance Details.įor Subnet, choose the subnet where you want to launch the new instance.Select the new AMI, and then choose Launch.Note: You can also choose AMIs from the Images section of the navigation pane to view pending images. Wait for the Status to change from pending to available. Under Create Image request received, choose View pending image.Note: If you select No reboot on the Create Image page, then the file system integrity of the image might be compromised. Choose Actions, then Image, and then choose Create Image.įor Image name, enter a name for the image.įor Image description, enter a description of the image. ![]() Note: You can skip this step if you're testing this procedure or if you don't want to stop or reboot your instance. This makes sure that the data is consistent between the old and new EBS volumes. Choose Actions, then choose Instance State, and then choose Stop. Select the instance that you want to move.Open the Amazon EC2 console, and then choose Instances from the left navigation pane.Manually copy the instance and launch a new instance from the copy To view the automation output, expand Outputs.įor more information about this runbook, see AWSSupport-CopyEC2Instance. Choose the running automation, and then review the Executed steps. To monitor the progress, open the Systems Manger console, and then choose Automation from the navigation pane.Complete any of the additional optional fields that are required for your use case, and then select Execute.Provide the destination Region or the SubnetID where you want to copy the instance to.If you use the interactive instance picker, then select Show all instances from the dropdown list. For Input parameters, enter the InstanceID of the EC2 instance you want to copy. ![]() For Execute automation document, choose Simple execution.Note: Make sure that you're in the same Region as the instance that you want to copy. Open the AWSSupport-CopyEC2Instance runbook.To run the automation, complete the following steps: Use the AWS Systems Manager Automation runbook AWSSupport-CopyEC2Instance to complete the following tasks automatically:Īfter these procedures complete, follow the instructions in Reassign the Elastic IP address section, if it's required. Use the AWS System Manager automation runbook AWSSupport-CopyEC2Instance For more information, see How can I use Sysprep to create and install custom reusable Windows AMIs? Before you capture the AMI, use Sysprep or remove the domain-joined instance from the domain to prevent conflict issues. Domain security identifier (SID) conflict issues can occur when the copy launches and tries to contact the domain.If you use an Elastic IP address on your source instance, then be sure to attach it to the new instance. ![]() Update all references to the old IP addresses (for example, in DNS entries) with the new IP addresses that are assigned to the new instance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |