Cloud Launcher provides a way to launch common software packages and stacks on Google Compute Engine with just a few clicks. Many common web frameworks, databases, CMSs, and CRMs are supported. This is one of the fastest ways to get up and running on Google Cloud Platform.

Follow along this lab to learn how to launch one of the cloud launcher products on Google Cloud Platform.

What you'll learn

What you'll need

How will you use this tutorial?

Read it through only Read it and complete the exercises

How would rate your experience with Google Cloud Platform?

Novice Intermediate Proficient

Codelab-at-a-conference setup

The instructor will be sharing with you temporary accounts with existing projects that are already setup so you do not need to worry about enabling billing or any cost associated with running this codelab. Note that all these accounts will be disabled soon after the codelab is over.

Once you have received a temporary username / password to login from the instructor, log into Google Cloud Console: https://console.cloud.google.com/.

Here's what you should see once logged in :

Note the project ID you were assigned ( "codelab-test003" in the screenshot above). It will be referred to later in this codelab as PROJECT_ID.

In this section, you'll learn how to create an Nginx Stack on Google Compute Engine with Cloud Launcher.

Navigate to Cloud Launcher

Open another browser window/tab and navigate to: https://cloud.google.com/launcher/.

Choosing Nginx

In the box that says "Search from 100+ solutions" type "Nginx".

Click on Nginx. The following screen will appear.

Click "Launch on Compute Engine".

Logging Into Google Cloud Console

Now you will be asked to login using a Google Account. Use the login credential given to you by the lab proctor.

VM Instance Configuration

Once the project is created you'll be taken to the New Nginx deployment page in the Cloud Console to configure your Nginx instance. It should look something like this.

Choose a name for your instance and pick a zone that is close to you.

You can use the default machine type of f1-micro. The default 10 GB SSD is fine for the boot disk.

Ensure that both "Allow HTTP Traffic" and "Allow HTTPS Traffic" are checked.

Click "Deploy".

Creating the VM instance and deploying the Nginx stack to it may take a few minutes. Cloud Deployment Manager will provide progress details.

When the Cloud Console says "<deployment name> has been deployed" (where <deployment name> is the name you chose for your deployment) you can verify that everything worked correctly. Your screen should look something like this.

Verifying via the Web

Click on the blue Visit the site button to access the deployed Nginx Stack in a new tab. If everything worked correctly you should see something that looks like this.

Verifying via ssh

You can also click on the ssh link to open an ssh prompt in a new browser window. You can use standard unix commands like ps to see if ngnix is running on your instance.

$ ps aux | grep nginx
root      3877  0.0  0.2  52564  1608 ?        Ss   19:47   0:00 nginx: master process /opt/bitnami/nginx/sbin/.ngi
nx.bin -p /opt/bitnami/nginx/
daemon    3879  0.0  0.7  52564  4488 ?        S    19:47   0:00 nginx: worker process  

Cloud Launcher provides an easy and fast way to get up and running on Google Cloud Platform with common databases, operating systems, and web frameworks.

What we've covered

Next Steps