Create a VPS with public IP using HCaaS in three minutes
background
get ready
-
One PC -
Xshell software One LinkCloud HCaaS account, if you do not click the link below to register and apply for an invitation code https://cubepaas.com/?spread=4fab48c896ee4879bb5c0416bf09e7f2fugq4wt3c4 -
One domain name (optional)
Start building
-
Name: random -
Type: stateful -
Namespace: Default -
Docker image: select the image address, and fill in the address: registry.cn-zhangjiakou.aliyuncs.com/hanlc/centos7-ssh -
Update policy: update when rolling upgrade or deleting containers -
Image pull strategy: pull if it does not exist -
Domain selection: AliCloud - required -
Container specification: 2H4G or other user-defined Port mapping: corresponding to the ports to be exposed one by one -
For example: -
Container port: 22, protocol: TCP, network mode: L4 load balancer, node listening port: 22 -
Container port: 80, protocol: TCP, network mode: L4 load balancer, node listening port: 80 -
Container port: 8888, protocol: TCP, network mode: L4 layer load balancer, node listening port: 8888 -
Other ports you need to use are added
-