ANS-1311 · WEB SERVICES & INTEGRATIONS

How to Create Amazon EC2 Images (AMIs) from Instances

Understand the operational impact of creating Amazon Machine Images (AMIs) from EC2 instances, including instance state and data consistency considerations.

Short answer

When creating an Amazon Machine Image (AMI) from an EC2 instance, the instance typically reboots by default to ensure data consistency. AWS offers a 'No reboot' option, allowing the instance to remain running, though this carries a warning about potential filesystem inconsistency. It is recommended to perform AMI creation during off-peak hours.

Scenario

Users need to create an Amazon Machine Image (AMI) from an existing Amazon EC2 instance. They seek to understand the operational impact of this process on the running instance, particularly regarding its availability and state during AMI creation.

Solution

When creating an Amazon Machine Image (AMI) from an Amazon EC2 instance, the process by default typically involves a reboot of the instance to ensure data consistency.AWS provides an option, such as a 'Reboot instance' checkbox in the console or the --no-reboot CLI parameter, to prevent the instance from rebooting during AMI creation.If the 'No reboot' option is utilized, the instance can remain in a running state. However, it is important to note that this option comes with a warning about potential filesystem inconsistency.Therefore, it is advisable to perform AMI creation during periods when the instance is not actively in use to minimize disruption and ensure data integrity.

Expert NetSuite Support

Need help with this NetSuite issue?

Web Services & Integrations consulting and configuration support

Talk to a consultant