Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS EC2 how to use pre-existing EBS volume as main bootable disk?

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?

like image 592
eastwater Avatar asked Aug 14 '26 03:08

eastwater


1 Answers

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.

like image 156
hopeIsTheonlyWeapon Avatar answered Aug 16 '26 16:08

hopeIsTheonlyWeapon