/
Creating an AMI of the root volume/root Volume and Data disks in AWS

Creating an AMI of the root volume/root Volume and Data disks in AWS

Symptoms

Creating an AMI based on your SoftNAS current root volume could be a fast for recovery or having a DR site with the same configurations.

Purpose

This article allows you to create an AMI of your root volume and how to launch it 

Resolution

Please follow the step by step guide below to create an AMI of the root volume


  1. SSH to your machine and by using the root privileges remove the /etc/udev/rules.d/70-persistent-net.rules file as below



  2. Log in to the AWS console and navigate to the "Instances" tab on your left
  3. Right-click on the instance you wish to create an AMI based on it and choose "Images" then "Create Image"



  4. Give your new AMI a name and a description and remove any other EBS volume(s) form the menu or leave them if you want to create a full AMI with Data disks included, then hit "Create"



  5. Your AMI is being created, you can check that in "AMI" 




To launch a new instance based on this AMI, you have two methods:

  1. From AMI section, write click on your AMI and click "Lanch"



  2. Or, From Instances section, click on "Launch instance", then you will find it under "My AMIs" in the launching wizard






Related content

Encrypting SoftNAS root volume
Encrypting SoftNAS root volume
More like this
AWS Getting Started - Selecting an AMI
AWS Getting Started - Selecting an AMI
More like this
AWS Instance Creation
AWS Instance Creation
More like this
Creating a Snapshot of the root volume in AWS
Creating a Snapshot of the root volume in AWS
More like this
AWS: Adding EBS Disks
AWS: Adding EBS Disks
More like this
AWS: Creating a gp3 Volume
AWS: Creating a gp3 Volume
More like this