4.2 Ubuntu VM in the Cloud

20210728 The cloud provides quick and cheap access to Ubuntu servers from $5 per month (or less if you shutdown the server when not required). Cloud vendors often provide free credit (from $100 to $200) to get you started. Linux oriented vendors include Linode and Digital Ocean. The larger providers Azure and Amazon also support Ubuntu.

A new Ubuntu 20.04 LTS server can be set up on any one of the cloud platforms. You will often have a choice of hosting locations from around the world. Typically, you will name the virtual machine and provide a user name for the default user. A password or ssh public key will be required, being sure to open network port 22 for ssh connectivity. Machine sizes to suit your needs can be chosen. A DNS name will usually be created so as to refer to the server by name rather than IP address.

Once you have created your cloud server, from your local machine you can connect to it using ssh:

$ ssh -X myhub.westus.cloudapp.azure.com

The server can then be set up as described in Section 4.1 which also covers setting up desktop access using X2Go.

Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0