How can I attach a new EBS Volume to an EC2 instance created with a Cloudformation stack?


I'm new to Cloudformation. I used a template to launch my stack. Since the successful launch, I now need to attach a new EBS volume or modify the existing volume to add more disk space. Does this have to be done through the Cloudformation console or can I attach a volume using the EBS console without "corrupting" my Cloudformation stack? If it needs to be done through the stack, I assume I should modify my template to add/modify the EBS volumes. Just wondering what the best way is. Thanks

1 Answer

My recommendation is always to leverage infrastructure as code and in your case, modify the cloud formation template.

Look into this construct:

profile picture
answered 2 months ago
profile picture
reviewed 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions