Learn how to run Jenkins on Amazon Web Services. Find out how to move a Jenkins instance to the cloud, connect with webhooks, deploy to Elastic Beanstalk, and more.
Overview
Syllabus
Introduction
- Running Jenkins on AWS
- What you should know
- What's new in this update
- Create a security group
- Create a key pair
- Create the Jenkins EC2 instance
- Install Java, Jenkins, NGINX
- Configure NGINX
- Configure Jenkins
- Challenge: Set up a Jenkins master server
- Solution: Set up a Jenkins master server
- Plan the build environment
- Create an IAM role for the build server
- Create a security group and key pair for the build server
- Create the build server
- Connect the Jenkins master to the build server
- Challenge: Set up a build server
- Solution: Set up a build server
- Plan the CI/CD pipeline
- What's a webhook?
- Create and test a webhook
- Challenge: Connect Jenkins to GitHub
- Solution: Connect Jenkins to GitHub
- Create an Elastic Beanstalk application
- Download the application code
- Create a GitHub repository for the application code
- Create a freestyle job to deploy code from GitHub, part 1
- Create a freestyle job to deploy code from GitHub, part 2
- Deploy to Elastic Beanstalk from GitHub
- Challenge: Deploy to Elastic Beanstalk from GitHub
- Solution: Deploy to Elastic Beanstalk from GitHub
- Stop or remove AWS resources
- Challenge: Decommission your Jenkins servers
- Solution: Decommission your Jenkins servers
- Next steps
Taught by
Michael Jenkins