EC2 creating images
0
Hi. I have two EC2 instances running linux which I use as a web/database server and a mail server. I occasionally want to back-up both of these as AMI images. What I now do is "Stop Instance", then I select "Create Image". I then wait until the images have finished creating ( I watch the progress under Elastic Block Store>Snapshots). When the images show 100% completion, I start my instances again and my backup is finished. I would like to know, is it ok to start the EC2 instances up before the image creation is complete? I am trying to minimize my downtime, which currently is about 15 minutes.
Topics
AWS-User-2952379
asked 9 days ago4 views
1 Answers
0
Accepted Answer
Yes, you can restart everything once the snapshot gets to 'pending' according to the documentation, Create Amazon EBS snapshots:
Snapshots occur asynchronously; the point-in-time snapshot is created immediately, but the status of the snapshot is pending until the snapshot is complete (when all of the modified blocks have been transferred to Amazon S3), which can take several hours for large initial snapshots or subsequent snapshots where many blocks have changed. While it is completing, an in-progress snapshot is not affected by ongoing reads and writes to the volume.
Relevant questions
Move dockerized Jenkins server to AWS
Accepted Answerliangming2003asked 3 years agoEC2 Windows Server integrated with Docker (Linux)?
Yuriiasked 17 days agoDoes AWS Backup guarantees No Reboot to EC2 instances?
Quan95asked a year agoEC2 creating images
Accepted AnswerAWS-User-2952379asked 9 days agoAWS Backup - two ec2 instances are assigned as the protected services - but I see an EBS snapshot in the vault?
AWS-User-4761960asked 5 months agoDeploying a Machine Learning Project with django and laravel as a backend.
RazaibAWSasked 7 days agoInstances stuck in shutting down
Accepted AnswerB. Shermanasked 3 years agoEC2 Instance with recurrent I/O errors, but fsck reports filesystems as clean
adrianhasked 13 days agoEC2 instance stuck in Stopping state
jleggatasked 8 months agoWant to create g5g instance for EC2
Accepted AnswerTrungPNasked 2 months ago