To provide you with quick start instructions for managing basic Google Compute Engine assets in the RightScale Dashboard.
- Add Google - Register Google Compute Engine with the RightScale Dashboard
- Import - Import a base ServerTemplate from the MultiCloud Marketplace
- Launch - Launch a Server
- Stop/Start - Stop/Start an Instance on Google Compute Engine
Add Google Compute Engine (GCE)
Follow the instructions on this page to add your GCE Project to RightScale.
Import a ServerTemplate. Although many ServerTemplates from the Multi-Cloud Marketplace would work, for this tutorial use the
Base ServerTemplate for Linux. That ServerTemplate is the
blueprint for the Server you will launch in the next and final step. Log into the Dashboard and follow the steps below.
- Go to Design > MultiCloud Marketplace > ServerTemplates
- Find and select the appropriate ServerTemplate. Browse by categories, perform a keyword search, or use the filter options to find the correct ServerTemplate.
- Click Import.
Once imported, the ServerTemplate and associated RightScripts are considered part of your
Note: If you have problems finding the ServerTemplate, here is an example full URL (below). You can click on that URL and import the ServerTemplate instead of the steps above. https://my.rightscale.com/library/server_templates/Base-ServerTemplate-for-Linux-/lineage/46939
Add and launch the Server that is based on the ServerTemplate you just imported. Click the
Add Server action button. This will start the Add Server Assistant.
- Select Google from the Cloud drop-down menu
- Select Default from the Deployment drop-down menu (Tip: Alternatively, you could of course select an existing Deployment name. Deployments are simply containers to organize your cloud assets. See Create a New Deployment in the Dashboard Users Guide for more information.)
- Click Continue
The Server Details dialog is split into two windows: Hardware on the left, and Networking on the right. Provide the following information for each:
- Hardware - Leave the default values for Server Name, MultiCloud Image and Instance Type.
- Select the Default Security Group
- Select an available
Datacenter / Zone(e.g. us-central1-a)
- Click the Confirm action button when ready
The Confirm tab provides a detailed summary of the server you're about to create in the cloud. If you are satisfied with your selections, click Finish to create the server.
After confirming your server creation, you are automatically placed in the correct deployment, viewing the server you just created.
- Click the Launch action button. Note: With more complicated server setups you would have the opportunity to set Inputs (server variables). Your server is already configured for you however, so you can simply click the Launch action button one last time.
- The server is launched and you should see a message in the blue banner near the top of the Dashboard similar to:
Launched server Base ServerTemplate for Linux (RSB) (v13.0)
Congratulations! You just launched your first server in GCE using the RightScale Dashboard... in 3 easy steps! In approximately 10 minutes your server state should progress from
operational. Don't forget to terminate your server when finished using it to avoid any unneccessary charges.
Stop/Start an Instance on Google Compute Engine
Once you have successfully launched a server in GCE, you can stop/start the instance from the RightScale CM dashboard using the following steps.
Stop a Running Server
- To stop a running server, navigate to Manage > Instances and Servers, locate and select the GCE server you want to stop.
- Click the Actions button and select Stop from the menu.
Start a Stopped Server
- To start a stopped server, navigate to Manage > Instances and Servers, locate and select the GCE server you want to start.
- Click the Actions button and select Start from the menu.
You can also Stop/Start a GCE instance by going directly the 'show' page of the instance/server and clicking the Stop or Start button as appropriate.
If you terminate an instance from the GCE console, that instance will display as 'stopped' rather than 'provisioned' in the CM dashboard.
Terminating a Google Instance in RightScale
If you terminate a GCE instance in RightScale, the backing boot disk is automatically cleaned up if the instance was originally launched from RightScale. In this scenario, the terminated instance shows as 'provisioned' in the CM Dashboard. If the instance was launched from the Google Console and then terminated from RightScale, the instance will be shown in a 'clean_up' state in the CM Dashboard ('stopped' the Cloud Analytics UI). In this case, you must access the Google Console in order to properly shutdown the instance. This additional step clears the backing boot disk associated with the terminated instance.