Mobile app version of vmapp.org
Login or Join
Sue5673885

: Taking AWS EBS snapshot while website on AWS is running.. OK? we have a website that's getting about 10k users everyday running on AWS instance/ebs (centos). Now for test purposes I want to

@Sue5673885

Posted in: #AmazonAws #AmazonEc2

we have a website that's getting about 10k users everyday running on AWS instance/ebs (centos).

Now for test purposes I want to setup another replica webserver.

My question is, can I start a EBS snapshot process while the website is running? Would it work?

Also other question is that if I start the snapshot process, (it might take a few hours to complete) can I close my web browser while the snapshot process is running and login again to check status of snapshot?

Your expert assistance is appreciated. Thanks!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angie530

Yes, you can start an EBS snapshot while the website is running.
Yes, you can close your browser.

That being said, you should realize that while your website is running there might be some data in RAM that's not yet committed to the disk. So the recommended way is to lock the tables, flush all the DB transactions to disk, freeze filesystem (like fsfreeze in linux), start the snapshot, then unfreeze the filesystem and resume DB operations. That should give you more or less consistent snapshot.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme