hands-on lab

Live Lab QASREE-BL : Lab 2 CICD

Difficulty: Beginner
Duration: Up to 3 hours
Students: 1
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

In this lab, as an SRE, you will provision a multi-stage pipeline using a number of tools. The initial environment, networking, and EC2s will be provided.

Using GitHub, Jenkins, and Spinnaker, you will manually install and configure these tools to provide an end-to-end solution. By manually building and configuring these tools, you'll be able to better see and understand the steps involved during the lab. This will provide a good foundation as an engineer to then automate a solution in the future.

The pipeline will start with GitHub being used as a Version Control System and storing the developers' code. As code is committed to the main branch, it will trigger a workflow (GitHub Actions), which in this case will demonstrate the possibilities of integration with other tools, such as Jenkins. 

Jenkins will perform the compiling, testing, and packaging operations and act as both the intermediate "pipeline" and the build server. Jenkins will then notify Spinnaker for deployment.

Spinnaker can support multi-stage operations and deployment onto many types of compute/infrastructure. In this lab we will not provide a deployment as that will be specific to the technology used in the workplace. Spinnaker will however accept a webhook from Jenkins that will trigger a stage (or stages) that in turn could be configured for deployment onto your platform of choice.

Challenge

To take what you have learned and build a CloudFormation template to deploy the AWS infrastructure, including Jenkins and Spinnaker.

Hands-on Lab UUID

Lab steps

0 of 9 steps completed.Use arrow keys to navigate between steps. Press Enter to go to a step if available.
  1. Logging in to the Amazon Web Services Console from the Remote Desktop Environment
  2. Discover Instance IP and connect with SSM
  3. Install Jenkins and Dependencies
  4. Create a Sample App in GitHub
  5. Setup integration between Jenkins and GitHub
  6. Installing and Configuring Spinnaker
  7. Testing the Pipeline
  8. Challenge
  9. Appendix