Balaji Vajjala's Blog

A DevOps Blog from Trenches

01.10

  • 1.10 Run Jenkins Continuous Integration server jobs
    • Learning Objectives
    • Continuous Integration
    • Continuous Integration
    • EXERCISE: Launch a Jenkins instance using CloudFormation

1.10 Run Jenkins Continuous Integration server jobs

Learning Objectives

By the end of this lesson you will be able to:

  • Run jobs on the Jenkins CI server.

Continuous Integration

Slide1

Continuous Integration

Slide1

EXERCISE: Launch a Jenkins instance using CloudFormation

  1. Login to your assigned student account by going to http://aws.amazon.com/console. Your username is either student01, student02 and so on..
  2. Go to CloudFormation at: https://console.aws.amazon.com/cloudformation/home?region=us-east-1.
  3. When uploading the template, use https://s3.amazonaws.com/filescdcourse/templates/jenkins.template. Name the stack Jenkins29 (where 29 is your student id).
  4. Click the Continue button.
  5. Enter a Key Pair name in the KeyName field. If you want to find your key pairs, click https://console.aws.amazon.com/ec2/home?region=us-east-1#s=KeyPairs. If you followed the instructions in previous exercises, your key will be cd29 (where 29 is your student id). Select the checkbox next to I acknowledge that this template may create IAM resources and click the Continue button.
  6. Click Continue again, then Close.
  7. Once the status in CloudFormation is CREATE_COMPLETE, select the checkbox next to Jenkins stack.
  8. Select the Outputs tab in the bottom panel and click on the URL for the Jenkins CI server.
  9. Verify the Jenkins dashboard is displayed.