arrow_back

Google Cloud Fundamentals: Getting Started with Cloud Marketplace

Sign in Join
Test and share your knowledge with our community!
done
Get access to over 700 hands-on labs, skill badges, and courses

Google Cloud Fundamentals: Getting Started with Cloud Marketplace

Lab 25 minutes universal_currency_alt 5 Credits 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

Overview

In this lab, you use Google Cloud Marketplace to quickly and easily deploy a LAMP stack on a Compute Engine instance. The Bitnami LAMP Stack provides a complete web development environment for Linux that can be launched in one click.

Component Role
Linux Operating system
Apache HTTP Server Web server
MySQL Relational database
PHP Web application framework
phpMyAdmin PHP administration tool

You can learn more about the Bitnami LAMP stack from the Bitnami Documentation article Google Cloud Platform.

Objectives

In this lab, you learn how to launch a solution using Cloud Marketplace.

Task 1. Sign in to the Google Cloud Console

For each lab, you get a new Google Cloud project and set of resources for a fixed time at no cost.

  1. Click the Start Lab button. If you need to pay for the lab, a pop-up opens for you to select your payment method. On the left is the Lab Details panel 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 panel.

  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 panel.

  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 view a menu with a list of Google Cloud products and services, click the Navigation menu at the top-left. Navigation menu icon

Task 2. Use Cloud Marketplace to deploy a LAMP stack

  1. In the Google Cloud Console, on the Navigation menu (Navigation menu icon), click Marketplace.

  2. In the search bar, type LAMP and then press ENTER.

  3. In the search results, click Bitnami package for LAMP.

    If you choose another LAMP stack, such as the Google Click to Deploy offering, the lab instructions will not work as expected.

  4. On the LAMP page, click GET STARTED.

  5. On the Agreements page, check the box for Terms and agreements, and click AGREE.

  6. On the Successfully agreed to terms pop up, click DEPLOY.

    If this is your first time using Compute Engine, the Compute Engine API must be initialized before you can continue.

  7. For Zone, select the deployment zone to .

  8. For Machine Type, select E2 as the Series and e2-medium as the Machine Type.

  9. Leave the remaining settings as their defaults.

  10. Click Deploy.

  11. If a Welcome to Deployment Manager message appears, click Close to dismiss it.

Note: Warnings may appear as the deployment is happening. You can disregard these for this lab.

The status of the deployment appears in the console window: lampstack-1 is being deployed. When the deployment of the infrastructure is complete, the status changes to lampstack-1 has been deployed.

After the software is installed, a summary of the details for the instance, including the site address, is displayed.

Click Check my progress to verify the objective. Use Cloud Marketplace to deploy a LAMP stack

Task 3. Verify your deployment

  1. When the deployment is complete, click the Site address link in the right pane. (If the website is not responding, wait 30 seconds and try again.) If you see a redirection notice, click on that link to view your new site.

    Alternatively, you can click Visit the site in the Get started with Bitnami package for LAMP section of the page. A new browser tab displays a congratulations message. This page confirms that, as part of the LAMP stack, the Apache HTTP Server is running.

Note: If you can't see the web page in the browser on your corporate laptop: If possible, exit any corporate VPN/network and try again. Enter the IP address on another device, such as a tablet or even a phone.

Congratulations!

In this lab, you deployed a LAMP stack to a Compute Engine instance.

End your lab

When you have completed your lab, click End Lab. Google Cloud Skills Boost removes the resources you’ve used and cleans the account for you.

You will be given an opportunity to rate the lab experience. Select the applicable number of stars, type a comment, and then click Submit.

The number of stars indicates the following:

  • 1 star = Very dissatisfied
  • 2 stars = Dissatisfied
  • 3 stars = Neutral
  • 4 stars = Satisfied
  • 5 stars = Very satisfied

You can close the dialog box if you don't want to provide feedback.

For feedback, suggestions, or corrections, please use the Support tab.

Copyright 2022 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.

More resources

Read the Google Cloud documentation on Cloud Marketplace.

827b33e18db55754.png

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