how to back up my ec2 instance for a biginner


please i have a instance that is generating cost i will back the information of that instance and terminate it and only relaunch it when i need it please can anyone help me with how to back up the information?

asked 3 months ago25 views
2 Answers

Does your EC2 instance have only instance store or does it have an EBS volume -

If you already have your data in EBS, then your data won't get lost if you reboot your EC2 machine. However, it is still recommended to backup the data in your EBS volumes -

If you have only instance store, then the data is ephemeral. Then you should create an EBS volume and attach it to your EC2 machine and copy the data from the instance store to the EBS volume, as mentioned here -

There is also a service called AWS Backup that allows you to backup your EBS volumes among other things. This tutorial will help you come up to speed on how to do that -

profile picture
answered 3 months ago

Just take the snapshot of the block storage and terminate the instance. You can able to restore it in the future with the same configurations.

answered a month 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