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

Securing Containerized GCP Web Apps
A critical step in software development security is to identify vulnerabilities within container images and running web apps. In this hands-on lab, you'll identify security vulnerabilities within a container image and perform web app security vulnerability scanning using Web Security Scanner.

Lab Info
Table of Contents
-
Challenge
Enable Artifact Registry
Enable the Artifact Registry AP and the Container Scanning API using the GCP console.
-
Challenge
Docker Pull, Tag, and Push Container Image
Using the Cloud Shell, perform the following tasks:
- Pull the DVWA Docker image.
- Tag the DVWA Docker image.
- Authenticate Docker to the Google Cloud Artifact Registry:
- Push the DVWA Docker image.
-
Challenge
View Vulnerabiilties
Use Artifact Registry to view the vulnerabilities associated with the container image.
-
Challenge
Deploy Container on a VM Instance
Create a new Compute Engine VM instance, using the newly pushed image, in the GCP console.
-
Challenge
Reserve Static IP Address
- From the GCP console, navigate to the IP Addresses page.
- For the External IP, go to the far right and click the three vertical dots, and choose Promote to static IP address.
-
Challenge
Create and Run Scan Using Web Security Scanner
- Enable the Web Security Scanner service using the GCP console.
- Create a Web Security Scanner scan.
- Run the newly created Web Security Scanner scan.
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.