Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Labs

Working with Custom Images on Google Compute Engine

In this hands-on lab, we are going to practice creating custom images from two versions of a web server (which will be provided for you), add both images to the same image family, describe the image family, deprecate an image, and create a new web server from our custom images.

Lab platform
Lab Info
Level
Intermediate
Last updated
Sep 20, 2025
Duration
1h 0m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Create an Image from the base-apache Instance Using the Web Console

    Create a custom image called webserver-base using the base-apache instance as the source. Additionally, when creating the image, in the Family field, enter webserver.

    Verify the image is created and located in the appropriate family using the web console.

  2. Challenge

    Create an Image from the custom-webpage Instance Using Cloud Shell

    Open Cloud Shell and create a custom image using the custom-webpage instance as the source. Additionally, add the custom image to the webserver family. This can be accomplished with the following command:

    gcloud compute images create custom-webpage --source-disk=custom-webpage --source-disk-zone=us-central1-a --family=webserver
    

    Verify the image is created and located in the appropriate family using the web console.

  3. Challenge

    View the Images in the Web Console and View the Webserver Image Family Information in Cloud Shell

    In the web console, view the images and view the webserver image family in Cloud Shell. This can be accomplished with the following command:

    gcloud compute images describe-from-family webserver
    
  4. Challenge

    Deprecate the webserver-base Image Using the Cloud Shell

    Using Cloud Shell, deprecate the webserver-base image with the following command:

    gcloud compute images deprecate webserver-base --state DEPRECATED
    
  5. Challenge

    Create a New Web Server from the custom-webpage Image

    From the web console, create a new instance using the custom-webpage image. The new instance should be called new-webserver and should be of Machine Type e2-micro in any region. Ensure that HTTP traffic is allowed on the firewall.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

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.

Get started with Pluralsight