Original link: https://www.mbcao.com/amazon/
I have been upset with Tencent Cloud for a long time. The three-year period originally expired in May. As a result, I didn’t have time to migrate, so I had to renew it for another three months, but I was busy and forgot, and suddenly wanted to take a look, but the server had been given by Tencent Cloud. Fortunately, the seven-day safety period has not passed. I don’t know if the server will be destroyed directly if it expires. Anyway, it took more than 300 yuan to renew it for another month, and it was difficult and lucky to save it from the recycle bin. I spent more than 800 yuan in the first three months and more than 300 yuan this time, and I lost a thousand yuan in four months. I still remember that this 2-core 4G5M bandwidth 60G hard drive was bought at a 1.5% discount for the newcomer event. It cost three thousand yuan in three years. Nor does it create value that benefits others. But I still don’t think it’s a waste of money. There are also people who often send me comments, saying that they hope to advertise him on my blog for a fee, but thinking that scams are so rampant now, even if they can recover a little bit of blood, it will stop there. In fact, occasionally looking back at the journals I wrote before, it has a special flavor. When I see some sentences, I will suddenly be pleasantly surprised: Oh, so I had such an idea at the beginning. This one-year free experience of Amazon Cloud is very exciting. As for what will happen in one year, we will wait and see at that time. The migration process went fairly smoothly. Basically, it is to configure the server environment on the Amazon cloud, with detailed documents, it is very easy. Use AWS Systems Manager to remotely run commands on EC2 instances Install LAMP on Amazon Linux 2023 Configure SSL/TLS on Amazon Linux 2023 Manage WordPress blogs Then migrate all the content under wp-content from the original server, and then migrate the database Export sql and import it into the new database. Finally, configure the SSL certificate and change the resolution of the domain name to the new host. Well, there are also tutorials. This is the end of configuring SSL/TLS on Amazon Linux 2023. It took about three hours before and after. The main reason is that it is slow to download files from the old server to the new server for migration, and then it takes a long time to resolve domain names and SSL certificates. Others are basically fool-like operations according to Amazon’s documents, just copy, paste, and run. No one will stare at my server and make phone calls anymore, asking me to modify it because my website name is inconsistent with the one filed. Cool!
The post Migrate the Server to Amazon Cloud appeared first on Li Zibai .
This article is transferred from: https://www.mbcao.com/amazon/
This site is only for collection, and the copyright belongs to the original author.