In order to launch a new server on Google Compute Engine head to the 'Add server' form and follow the steps below:

  • Choose the region of Google where your server will be hosted. Usually you'll choose the one which is closest to the users of the server.
  • Choose the availability zone of the region where your server will be hosted. Unless you have a compelling reason for not doing so, you can safely choose any of the offered options.
  • Choose the size of your server. The size determines the number of virtual cpus of the server, the amount of ram, and the price you'll be charged for it. You must also choose the size of the root disk attached to the server and its type (standard or SSD).
  • Choose the operating system that your server will run. Moss will determine the latest official image on your behalf.
  • Provide the name that your server will have at both Moss and Google. Moss will also configure the hostname of the server using the value you provide here. Examples: 'my-server', 'vps01'. Note that the name of the server must be unique in your Google project and within your workspace.
  • Choose the timezone that Moss will set in your server. Moss suggests your current timezone as the default option, but select whichever you prefer.
  • Choose the SSH Key to upload onto the server (if any). This is your public SSH key: Moss will upload this key onto the new server so that you can always log into it via SSH as user moss (can run privileged operations with sudo). You may choose to upload your key later on.
  • Check the monitoring box if you want Moss to gather server metrics and send you an alert whenever it's down or under resource pressure. Usually you'll want to monitor your servers, unless they're for testing or similar environments.

Once you're done with the previous configuration, click the 'Add' button and wait until Moss finishes the process.

It may take a while depending on a number of factors, like the size of your server (e.g. shared cpu servers like 'f1-micro' are way slower than dedicated cpu ones) or the state of the network, to name a few. Moss shows the last completed step at any moment so that you can track the progress of the process.

What's next?

Awesome! You've launched a server on Google :-) Moss has started to work for you. You'll receive a notification whenever the server is upgraded with security patches. If you also enabled server monitoring, you'll get an alert whenever it's down or any resource is under pressure (cpu, memory, disk or i-nodes). You can check the metrics Moss is gathering in the 'Metrics' tab of the server details.

Now you may want to keep adding servers or to create some websites on them.

Did this answer your question?