: 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
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!
More posts by @Sue5673885
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.