how to back up my ec2 instance for a biginner

0

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?

질문됨 2년 전267회 조회
2개 답변
0

Does your EC2 instance have only instance store or does it have an EBS volume - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Storage.html

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 - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html

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 - https://aws.amazon.com/premiumsupport/knowledge-center/back-up-instance-store-ebs/

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 - https://aws.amazon.com/getting-started/hands-on/amazon-ebs-backup-and-restore-using-aws-backup/

profile pictureAWS
전문가
답변함 2년 전
0

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.

Kanav
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠