Take a Snapshot of Running Server On Amazon Cloud

Take a Snapshot of Running Server On Amazon Cloud

If you want to do perform some tasks on the running server, So it’s better you have a snapshot of the running server before it. you can restore ec2 snapshot in AWS.

This is pretty easy to take a snapshot of the AWS server instance. Snapshot takes the backup of the server you can either include the volume with it. Volume just takes the snapshot of your data.

If something goes wrong, you can restore the server using this snapshot.
I have run a webserver and will take a snapshot. 

Check Out: How To Take Server of a Backup On Amazon cloud

EC2 -> Elastic Block storage –> snapshots
Click on create a snapshot

take a snapshot of

Copy the instance id from instances.

snapshot aws ec2

Select the resource type -> instance and instance ID

Check Out: How To Restore Server Using AMI On Amazon Cloud

aws restore snapshot

Click on Create snapshot

restore snapshot aws ec2

Snapshot is ready and now you can perform your task on the running 
servers.

snapshot aws

Suppose something goes wrong, now I need to restore the server using these 
snapshots. 

The apache server was running on this server as shown in the below figure.

Check Out: How To Launch EC2 Instances(server) On Amazon Cloud

aws snapshot vs backup

Now terminate the instance.

Check Out: How To Check Running Container In Docker Machine

Click on yes terminate

Restore EC2 from Elastic block store

EC2 -> Elastic block store -> snapshots -> actions -> create image

Check Out: How To Setup Multi-Factor authentication In Amazon Web Service

Fill the details

Click on create

You can see the images under images -> AMI

Check Out: How To Take Snapshot of a Running Container In Docker

Now simply launch the server using this AMI and check everything will be the same as before. When you will launch the server using this AMI.

Instance created

Check Out: Install Apache Web Server On Ubuntu 17.10/18.04

Now access the server and see apache should be there.

You’re done aws restore snapshot ec2

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment