Hamburger Icon
  • Labs icon Lab
  • Core Tech
Google Cloud Platform icon
Labs

Deploying and Monitoring Applications with Jenkins

In this lab, you will learn how to set up and use Jenkins to manage deployments. You will configure a Jenkins pipeline job, implement monitoring, and deploy a Python application. Additionally, you will apply a Blue/Green deployment strategy and execute a rollback. By the end of this lab, you will have hands-on experience with key deployment practices using Jenkins.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 1h 10m
Published
Clock icon Feb 19, 2025

Contact sales

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

Table of Contents

  1. Challenge

    Get Started in the Lab Environment

    Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!

  2. Challenge

    Setting up the Lab Environment

    In this challenge, you will verify that Jenkins, Prometheus, Grafana, and Nagios containers are running without errors. Additionally, you will check that Docker, Git, and Terraform are installed in the lab environment. Finally, you will navigate to the lab files directory to confirm that all necessary files are present.

  3. Challenge

    Set up and Configure Jenkins for your Environment

    In this challenge, you will be taught how to verify access to the Jenkins UI using the provided credentials, install the required plugins, configure the installed plugins, and create the necessary variables that would be used within our pipeline jobs.

  4. Challenge

    Set up monitoring with Prometheus, Grafana, and Nagios

    In this challenge, you will set up Prometheus to collect data from Jenkins, configure Grafana to create a Jenkins dashboard using Prometheus as a data source, and use Nagios to monitor infrastructure and container health.

  5. Challenge

    Set up and Configure a Jenkins Pipeline

    In this challenge, you will create a Jenkins pipeline job to deploy a simple web application. You will configure SSH-Agent credentials to enable Jenkins to access the Git server and set up the pipeline to poll for changes and trigger deployments automatically. Additionally, you will also configure post-deployment monitoring using the Jenkins Dashboard, which will populate Prometheus and Grafana with deployment metrics.

  6. Challenge

    Set up and implement a Blue/Green Deployment Strategy

    In this challenge, you will modify an existing Jenkins pipeline job to implement a Blue/Green deployment strategy. Then, you will confirm that monitoring tools (Grafana & Prometheus) are capturing deployment performance metrics.

  7. Challenge

    The Last Challenge

    Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.

Obinna Amalu is a Tech Leader with 20+ years of experience training and being hands-on with technology. He enjoys mentoring and public speaking.

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.