use google server
1 login in VM
login in the console and then change the configuration
sudo -i vim /etc/ssh/sshd_config
change the following lines
PermitRootLogin yes
PasswordAuthentication yes
reboot and then change you password
passwd # if you want change other user's password passwd username
2 bound your domain
make sure you have a domain
in console, config apache
sudo apt-get update && sudo apt-get install apache2 -y
echo '<!doctype html><html><body><h1>Hello World!</h1></body></html>' | sudo tee /var/www/html/index.html
now input http://public ip, you can see 'hello world' on your page.
then be here to enable Compute Engine API
lastly, be here to add the domain info.
浙公网安备 33010602011771号