arrow_back

Provision Services with Google Cloud Marketplace

Sign in Join
Quick tip: Review the prerequisites before you run the lab
Use an Incognito or private browser window to run this lab. This prevents any conflicts between your personal account and the student account, which may cause extra charges incurred to your personal account.
Test and share your knowledge with our community!
done
Get access to over 700 hands-on labs, skill badges, and courses

Provision Services with Google Cloud Marketplace

Lab 30 minutes universal_currency_alt 1 Credit show_chart Introductory
info This lab may incorporate AI tools to support your learning.
Test and share your knowledge with our community!
done
Get access to over 700 hands-on labs, skill badges, and courses

GSP003

Google Cloud self-paced labs logo

Overview

Google Cloud Marketplace provides a way to launch common software packages and stacks on 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 the Google Cloud.

In this hands-on lab you'll learn how to launch and configure a Marketplace service on the Google Cloud.

What you'll do

  • Launch a common web stack with Marketplace
  • Verify your deployment

Setup

Before you click the Start Lab button

Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.

This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.

To complete this lab, you need:

  • Access to a standard internet browser (Chrome browser recommended).
Note: Use an Incognito (recommended) or private browser window to run this lab. This prevents conflicts between your personal account and the student account, which may cause extra charges incurred to your personal account.
  • Time to complete the lab—remember, once you start, you cannot pause a lab.
Note: Use only the student account for this lab. If you use a different Google Cloud account, you may incur charges to that account.

How to start your lab and sign in to the Google Cloud console

  1. Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the left is the Lab Details pane with the following:

    • The Open Google Cloud console button
    • Time remaining
    • The temporary credentials that you must use for this lab
    • Other information, if needed, to step through this lab
  2. Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).

    The lab spins up resources, and then opens another tab that shows the Sign in page.

    Tip: Arrange the tabs in separate windows, side-by-side.

    Note: If you see the Choose an account dialog, click Use Another Account.
  3. If necessary, copy the Username below and paste it into the Sign in dialog.

    {{{user_0.username | "Username"}}}

    You can also find the Username in the Lab Details pane.

  4. Click Next.

  5. Copy the Password below and paste it into the Welcome dialog.

    {{{user_0.password | "Password"}}}

    You can also find the Password in the Lab Details pane.

  6. Click Next.

    Important: You must use the credentials the lab provides you. Do not use your Google Cloud account credentials. Note: Using your own Google Cloud account for this lab may incur extra charges.
  7. Click through the subsequent pages:

    • Accept the terms and conditions.
    • Do not add recovery options or two-factor authentication (because this is a temporary account).
    • Do not sign up for free trials.

After a few moments, the Google Cloud console opens in this tab.

Note: To access Google Cloud products and services, click the Navigation menu or type the service or product name in the Search field. Navigation menu icon and Search field

Task 1. Getting started with Marketplace

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

Navigate to Marketplace

  • In the Cloud Console, navigate to Marketplace:

The Marketplace option highlighted within the Cloud Console.

You should see the Marketplace home page, which includes a search engine.

Choosing Nginx

  1. In the search box that says "Search Marketplace", type "Nginx".

  2. Then click on the Bitnami package for NGINX Open Source tile to select the platform.

The NGINX Open Source packaged by Bitnami tile, which includes a Launch button.

  1. Now click Get Started.

  2. Click the checkbox to accept the terms and conditions, then click on Agree.

  3. Click Deploy

  4. If prompted, click on Enable for the Compute Engine API and the Infrastructure Manager API.

Task 2. Launching the Nginx stack

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.

Now do the following:

  1. Choose a name for your instance (for example nginxstack-1).

  2. Under Deployment Service Account, select Existing Account and choose the account Compute Engine default service account .

  3. Select zone as .

Note: See the Regions and zones article for more information about regions and zones.
  1. Leave as default:

    • Machine type: f1-micro (1vCPU, 614MB memory).
    • Boot Disk: 10 GB SSD.
    • Allow HTTP Traffic and Allow HTTPS Traffic are checked.
  2. Click Deploy to launch your Nginx Stack.

The new Nginx Stack, which includes information about its networking, boot disk, and firewall, along with a Deploy button.

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

Click Check my progress to verify the objective.

Launch the Nginx Stack.

Task 3. Verifying the deployment

Once your Nginx stack has been deployed you can verify that everything worked correctly. Your screen should look something like this:

The nginxstack-1 deployment, with the 'nginxstack-1 is being deployed' message along with its overview and sub-folders.

Verifying via the web

  • Click on the Details tab, and then click the Site Url at the bottom to access the deployed Nginx Stack in a new tab.

You should see something that looks like this:

The Congratulations! pop-up, with the 'You are now running Bitnami Nginx 1.10.0-2 in the Cloud notification.

Verifying via SSH

  1. In the Cloud Console, click on the Resources tab, and then click on the Resource name(for example nginxstack-1-vm) for Compute Engine.

  2. Click on the SSH for the VM instance in the console to open an SSH prompt in a new browser window.

    You can use standard Unix commands like ps to see if Nginx is running on your instance.

  3. Try typing the following into Cloud Shell:

ps aux | grep nginx

Output:

root 1571 0.0 0.3 61316 1920 ? Ss 18:48 0:00 nginx: master process /opt/bitnami/nginx/sbin/.nginx.bin -p /opt/bitnami/nginx/ daemon 1572 0.0 0.9 98836 5680 ? S 18:48 0:00 nginx: worker process student+ 7249 0.0 0.1 12780 932 pts/0 S+ 18:54 0:00 grep nginx

Task 4. Test your knowledge

Test your knowledge about Google Cloud Platform by taking our quiz.

Congratulations!

You used Google Cloud Marketplace to launch your Nginx Stack! Marketplace provides an easy and fast way to get up and running on Google Cloud with common databases, operating systems, and web frameworks.

Next steps / learn more

  • Wondering how much it'll cost to run your workloads? Check the Pricing Calculator - you can enter the number of instances, vCPU, and memory needs.
  • Learn about other software available via Google Cloud Marketplace at the Marketplace Homepage.

Google Cloud training and certification

...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.

Manual last updated January 24, 2025

Lab last tested January 24, 2025

Copyright 2025 Google LLC All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.

Before you begin

  1. Labs create a Google Cloud project and resources for a fixed time
  2. Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
  3. On the top left of your screen, click Start lab to begin

Use private browsing

  1. Copy the provided Username and Password for the lab
  2. Click Open console in private mode

Sign in to the Console

  1. Sign in using your lab credentials. Using other credentials might cause errors or incur charges.
  2. Accept the terms, and skip the recovery resource page
  3. Don't click End lab unless you've finished the lab or want to restart it, as it will clear your work and remove the project

This content is not currently available

We will notify you via email when it becomes available

Great!

We will contact you via email if it becomes available

One lab at a time

Confirm to end all existing labs and start this one

Setup your console before you begin

Use an Incognito or private browser window to run this lab. This prevents any conflicts between your personal account and the Student account, which may cause extra charges incurred to your personal account.