- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

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.

Lab Info
Table of Contents
-
Challenge
Copy Your Deployment Manager File into Your Directory and Modify the Template
- Initialize Cloud Shell Terminal.
- Copy the yaml template to your current directory with
gsutil -m cp -r gs://acg-gcp-labs-resources/deployment-manager-basic/* .
- In Cloud Shell Editor, open the
vm-web.yaml
file. - On line 5, change the instance name to acloud-html.
- On lines 8 and 31, replace
YOUR_PROJECT
to your actual project ID. - On line 15 replace "debian-10" to debian-12.
- On line 24, change "Welcome to your custom website." to Welcome to Acloud Guru.
- On line 25 change "VERSION 1" to Welcome all cloud gurus.
- Save the file.
-
Challenge
Deploy the Template
- In Cloud Shell Terminal, deploy the application with Deployment Manager.
- Verify
acloud-html
instance is available in Compute Engine. - 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.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.