13. CI / CD Review, Practice

Key Skills and Concepts from CI / CD Lesson

Key Skills and Concepts from CI / CD Lesson

You’ve learned a lot in this lesson! Here are some of the key skills and topics we covered in the course so far:

  • Set up IAM user, role, group & policy
  • Launched EC2 instance
  • Installed Jenkins
  • Enabled BlueOcean
  • Showed the components of CI/CD
  • Described a pipeline

Practice Exercise 1

Practice Exercise 1

** Working through these practice exercises will set you up for success in your project at the end of the course!**

As a practice exercise, please do the following:

  • Set up IAM user, role, group and policy
  • Now check your work by reviewing your policy JSON. It should look like the following:

Policy JSON for Practice Exercise 1

Your policy JSON should look like this

Your policy JSON should look like this

Practice Exercise 2

Practice Exercise 2

Here is another practice exercise. Please do the following:

  • Launch a t2.micro EC2 instance
  • Install Jenkins
  • Recall these are the steps to install Jenkins:
sudo apt-get update
sudo apt install -y default-jdk
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install -y jenkins
  • Take a screenshot of the Homepage after logging into Jenkins. Check your work by comparing your screenshot to the following. Include the URL bar in your screenshot.

Practice Exercise 2

Your Jenkins screen should look like this

Your Jenkins screen should look like this

Practice Exercise 3

Practice Exercise 3

For the last practice exercise for this lesson, please do the following:

  • Install the Blue Ocean Plugin.
  • To check your work, compare the screen you see inside of Blue Ocean with the following. Make sure you include the URL bar in your comparison also.

Practice Exercise 3

Your view from inside Blue Ocean should look like this

Your view from inside Blue Ocean should look like this