21.3 Installing Ubuntu in the Cloud

Most cloud providers support Ubuntu. It is possible to fire up a Ubuntu server in the cloud for just $5 per month. Many cloud vendors will provide free credit (from $100 to $200) to get you started.

For example, you can get free credit ($200) from Microsoft to trial Azure. After signing up with Azure, the Azure portal will allow you to create a new Ubuntu 20.04 LTS server, creating a new resource group for it, providing a name for the virtual machine, a user name and a password, choosing a location (e.g., westus2), opening network port 22 for ssh connectivity, and choosing a machine size to suit your needs. Once created go to the portal and provide a DNS name from the overview page’s, DNS link. Connect to the server using ssh from a terminal to the DNS name, set the server up as in Section 21.5, then connect to the server using X2Go on your own desktop.

Connection to a remote server will often be using X2Go. This usually requires the MATE desktop and the X2Go server to be installed on the cloud server. This can take 15 minutes or so.

$ wajig install ubuntu-mate-desktop x2goserver

Whilst installing select the default option for any questions (e.g., gdm3).

Your donation will support ongoing development 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-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.