Skip to navigation

EC2: Convert an Instance to AMI

Who can use this feature

Anyone with these permissions: Restore resources

This article explains how to convert an Eon EC2 snapshot to an AMI.

Decide whether to convert to an AMI or restore

An EC2 instance can be converted to an AMI or restored, so you’ll need to decide which option is best for your case:

AMIInstance restore
  • Can be shared with another availability zone or region.
  • Can be used to create multiple copies of the instance.
  • Deployed in a specific availability zone.

Convert the snapshot

Before you start

Before you convert to an AMI, make sure:

1

Find the snapshot you want to convert

  1. In your inventory, select the EC2 resource you want to restore. The Resource Details drawer opens.

  2. Click the Eon snapshots tab. You’ll see a calendar view with colored dots on the days when snapshots were taken. There can be more than one snapshot per day.

    When you click a day, a list of Eon snapshots taken that day is displayed below the calendar.

  3. Expand the snapshot you want to restore. Click Instance, and then click (Convert to AMI). The Convert to AMI wizard opens.

2

Choose the restore account

In the Convert to AMI wizard, you’re taken through a three-step process. The first step is to choose a restore account.

Choose the cloud account you want to restore the AMI in, and then click Next.

3

Set the AMI details

In the Image configuration step, you’ll set the AMI details.

  1. Choose a Region to store the AMI in, and enter a Name to identify the AMI.

  2. Optionally, enter an Image description.

  3. If you want to retain the tags that were present when the snapshot was taken, turn Keep original tags on. Otherwise, turn Keep original tags off.

    In both cases, the new AMI is tagged with eon:restore=true. Tags with the eon: prefix aren’t included in the original tags because Eon uses this prefix for internal operations.

  4. Click Next.

4

Set details for the attached volumes

In this step of the wizard, you’ll set encryption, volume settings, and tags for the volumes attached to the instance at the time the snapshot was taken. Expand individual volumes to show volume-specific settings.

Encryption

You can encrypt all volumes with the same key, or you set each volume’s key separate from the other volumes. If you choose to encrypt each volume separately, turn off Encrypt all volumes with the same key. Encryption settings are then displayed for each volume.

You can either select an existing key or create a key and paste an ARN.

Volume settings

For each volume, you can keep the original volume settings, or you can customize the drive’s type, size, IOPS, and throughput.

Tags

Each volume has its own tags, independent of the instance-level tags in the previous step. If you want to retain the tags that were present when the snapshot was taken, turn Keep original tags on. Otherwise, turn Keep original tags off.

In both cases, the new volume is tagged with eon:restore=true. Tags with the eon: prefix aren’t included in the original tags because Eon uses this prefix for internal operations.

5

Start the restore job

Click Restore to start the asynchronous restore job.

You can see your list of restore jobs on the Restore jobs tab in the Jobs page.