简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM