Home > Software design >  AWS EC2 how to use pre-existing EBS volume as main bootable disk?
AWS EC2 how to use pre-existing EBS volume as main bootable disk?

Time:04-13

We have a EBS volume from a previous T2 instance, which contains operating system, mysql installation, created users and all configurations.

For launching a new instance (T2), how to use the pre-existing EBS volume as main bootable disk so that we have the operating system, apps and all configurations? This would save us days of time and efforts.

For a business application, should we choose T2 or T3?

CodePudding user response:

As discussed you can perform the below steps to create an EC2 instance from a pre existing EBS volume.

  • Create a snapshot from the EBS volume.
  • Create an AMI from the same.
  • Look for the AMI in your private AMI.
  • Create the EC2 instance with desired instance-type from this AMI.
  • Also you need to care for the EBS volumes with this new EC2 instance with minimum EBS volume size etc.

Please let me know.

  • Related