Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29431

Automatically attach and mount EBS volume on new EC2 instance

$
0
0

Scenario

I currently have an EC2 instance with a root EBS volume attached to it of 30gb and i have some files stored in that EBS

If i delete the EC2 instance and have delete on termination false then EBS persists.

Desired outcome

I want to provision a new EC2 (provisioned by auto scaling group) instance such that it uses the old EBS volume as its root volume which was detached as a result of me terminating the old instance

Note

I want to have the liberty of choosing OS of newly provisioned EC2 so creating an AMI does not work


Viewing all articles
Browse latest Browse all 29431

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>