Cause#
I was previously using Alibaba Cloud's ECS. Because it was about to expire, and renewing it was too expensive. (2 cores, 2GB RAM for over 600 RMB per year.)
After comparing several cloud server providers, I found that Huawei Cloud had the most favorable price (2 cores, 2GB RAM, 3M bandwidth for 89 RMB per year).
Migration Process#
Actually, I didn't use the server for much. Mainly just two things: a Telegram bot and TTRSS. They are both deployed using Docker, so it saved me a lot of trouble.
- Docker Installation
I didn't expect that the first step, installing Docker, would take me a whole night. With a 3M bandwidth, the download speed was only a pitiful ten-odd kilobytes. In the end, I had to manually download the software package and then install it.
# Replace "package.deb" with the downloaded software package
sudo dpkg -i /path/to/package.deb
I should have configured the mirror source from the beginning...
-
Network Configuration
network - EuDs's blog -
Faye_Bot
EuDs63/Faye_Bot: my telegram Bot -
TTRSS
Conclusion#
Originally, I didn't plan to buy another server because vscode+WSL2 already satisfied most of my Linux usage needs. But I thought, maybe in the future? If there's a need, I would have to set up the environment again without the existing one as a reference, which would probably take more time. So I decided to buy one anyway.
I still need to find a way to make good use of it.
Final Thoughts#
I didn't expect to have another server so soon. Today (the next day), while browsing blogs, I came across a tutorial on registering for the Azure student package. I remembered that I had tried it before but didn't succeed for some reason. Today, with the mindset of giving it another try, I clicked on it again. Unexpectedly, it worked directly.
So, following the instructions in GitHub Student Package and Azure Perks, I applied for a Linux virtual machine. I used the Ubuntu image again.
The result was very smooth. Docker installation took less than three minutes, and no additional configuration or proxy was needed. The yihong0618/tg_bing_dalle: tg bing dalle-3 that failed yesterday also worked.
Although I knew it would be like this, it's the first time I've experienced it so personally. Quite emotional.