Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Labs

Deploying App Infrastructure with Deployment Manager

Your team needs you to create and test a webpage on a Compute Engine instance using repeatable code. They would like to use Deployment Manager, since they have heard great things about it. You have been tasked with this objective! In the end, you will have to spin up an instance with a test webpage, and access the page to confirm it works.

Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Mar 25, 2022

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Copy Your Deployment Manager File into Your Directory and Modify the Template

    1. Initialize Cloud Shell Terminal.
    2. Copy the yaml template to your current directory with gsutil -m cp -r gs://acg-gcp-labs-resources/deployment-manager-basic/* .
    3. In Cloud Shell Editor, open the vm-web.yaml file.
    4. On line 5, change the instance name to acloud-html.
    5. On lines 8 and 31, replace YOUR_PROJECT to your actual project ID.
    6. On line 15 replace "debian-10" to debian-12.
    7. On line 24, change "Welcome to your custom website." to Welcome to Acloud Guru.
    8. On line 25 change "VERSION 1" to Welcome all cloud gurus.
    9. Save the file.
  2. Challenge

    Deploy the Template

    1. In Cloud Shell Terminal, deploy the application with Deployment Manager.
    2. Verify acloud-html instance is available in Compute Engine.
    3. Find the public IP of the instance, click on the IP address, and you will be sent to the HTML page to confirm it's working.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans