4
votes

Does anyone know if there is a way to restore deleted stack on AWS Cloudformation? I can see the deleted stacks in the Filter but there is no option to restore them. If restore is not possible can i recreate the same stack?

To give little background, my application is running on elasticbeanstalk and i did not realize it creates cloudformation stack for Autoscaling. I deleted it and then realized all my deployments fail. So wondering if i can restore it.

Thanks for all the help.

1
I just deleted my website by mistake! Exactly like you, I deployed it with Elastic Beanstalk and when I checked into CloudFormation half a year later while following some tutorials, I noticed there were a lot of stacks, so I deleted them, bc I thought they were from my previous tutorials... AWS should flag the resources and make clear where they came from. I was able to restore it with Beanstalk but still... - G-Unit
@G-Unit what abput the rds service? how did youu restore that? - adir abargil
That's too long ago, don't remember, sorry! - G-Unit

1 Answers

4
votes

The easiest way: go to your Elastic Beanstalk environment and choose "Rebuild environment". AWS will recreate everything from scratch, including CloudFormation stack.