A Linux server is all you need — a cloud server or a NAS at home both work. This page uses Aliyun ECS as the example.
Set the login password
Section titled “Set the login password”- Sign in at
aliyun.comand click Console at the top right. - Search for ECS and open Elastic Compute Service.
- In the left menu, open Instances and find the server you bought.
- On its row, open the ⋯ menu and click Reset password. Set a password you will remember and confirm.
- Restart the instance when the console asks — a new password only works after a restart.
You will type this password into the deployment in the next step, so keep it to hand.
Open two ports
Section titled “Open two ports”The server sits behind a firewall, and two ports have to be opened before anything can reach it.
- Still on the instance page, click Network and Security Group → Security groups in the left menu.
- Find the security group this server uses and click Configure rules.
- On the Inbound tab, click Add rule.
- Fill the first rule in: protocol Custom TCP, port range
80/80, source0.0.0.0/0, then save. - Add a second rule the same way for
8443/8443.
Port 80 is what issues the HTTPS certificate later; 8443 is the port the service itself will use.
Note the public IP
Section titled “Note the public IP”Copy the public IP address from the instance page; the deployment asks for it.
Next chapter: Deploy a server.