Cloning of AWS Lightsail and migrating it back to original Lighstail

0

Hi,

We are not experts of Lightsail and Wordpress.

We want to clone our Lightsail/Wordpress site to a staging environment (so that we won't touch the live site). After we make our updates on the clone site, we want to push back the changes to the origina/live site.

What's the best way to do it?

Thank you all.

질문됨 5달 전176회 조회
1개 답변
0

Hello,

I understand that you wish to clone your Lightsail/Wordpress website to verify the changes and once done planning to publish it on production website.

Create staging environment :-

  1. Create snapshot of your Amazon Lightsail instance so you will have backup as well. Follow steps mentioned in below document.

    [+] https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-a-snapshot-of-your-instance

  2. Launch new test/staging instance using newly created snapshot, step to launch instance using snapshot given in below public document. Make sure to perform changes at application level as per new lightsail instance public IP .

    [+] https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-instance-from-snapshot

  3. Once testing is successfully done on staging environment you can make same changes on production server in non-production hours.

NOTE - Please note the changes need to be done manually on production website. As there is no direct way in lightsail to copy/push changes from staging environment to your production website.

Feel free to raise case with AWS support if you have further query regarding this.

AWS
지원 엔지니어
답변함 5달 전

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

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

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

관련 콘텐츠