Running Jenkins on AWS: Deploying and Managing Jenkins on Cloud Infrastructure
1h 8mIntermediate2025-07-29
Authors

Michael Jenkins
Senior Systems Engineer
Course details
Learn how to create a Jenkins environment using the cloud-based servers of AWS. In this course, instructor Michael Jenkins covers steps for setting up Jenkins, creating a build environment, connecting to code repositories with webhooks, using a deployment service, and shutting down AWS resources. First, Michael shows you how to create a Jenkins controller instance, including how to configure a security group, an NGINX reverse proxy, and the Jenkins automation service. Next, he takes you through creating a build environment and connecting the Jenkins controller to the build server. Michael explains what a webhook is, demonstrates how to create and test one in GitHub, and shows how to use a webhook to trigger an automated deployment with AWS Lambda. Finally, Michael discusses how to stop or remove AWS resources.
Learning objectives
Deploy and configure Jenkins on AWS using best practices for security and reliability.
Integrate Jenkins with AWS services such as EC2, IAM, and AWS Lambda to streamline CI/CD workflows.
Implement security best practices for Jenkins on AWS, including credential management and IAM role configuration.
Learning objectives
Deploy and configure Jenkins on AWS using best practices for security and reliability.
Integrate Jenkins with AWS services such as EC2, IAM, and AWS Lambda to streamline CI/CD workflows.
Implement security best practices for Jenkins on AWS, including credential management and IAM role configuration.
Skills covered
JenkinsDevOps ToolsAmazon Web Services (AWS)AmazonDevOpsOpen SourceOne-Off
Concepts
0. Introduction
- 01 - CI CD supercharged - Jenkins meets AWS
1. Setting Up Jenkins
- 02 - Architect the Jenkins environment on AWS
- 03 - Create an IAM role
- 04 - Create a security group
- 05 - Create the Jenkins EC2 instance
- 06 - Install Java, Jenkins, and NGINX
- 07 - Configure NGINX
- 08 - Configure Jenkins
- 09 - Solution - Set up a Jenkins server
2. Create a Build Environment
- 10 - Plan the build environment
- 11 - Create an IAM role for the build server
- 12 - Create a security group and key pair for the build server
- 13 - Create the build server
- 14 - Connect Jenkins to the build server
- 15 - Solution - Set up a build server
3. Connect Jenkins with Webhooks
- 16 - Plan the CI CD pipeline
- 17 - What's a webhook
- 18 - Create and test a webhook with GitHub
- 19 - Solution - Connect Jenkins to GitHub
- 20 - Create and test webhooks with other services
4. Deploy Code to AWS Lambda
- 21 - Initialize the deployment target in AWS Lambda
- 22 - Create a GitHub repository for the application code
- 23 - Create a freestyle job to deploy code from GitHub, part 1
- 24 - Create a freestyle job to deploy code from GitHub, part 2
- 25 - Deploy to AWS Lambda from GitHub
- 26 - Solution - Deploy to AWS Lambda from GitHub
5. Shut Down AWS Resources
- 27 - Decomission AWS resources
- 28 - Solution - Decommission AWS resources
Conclusion
- 29 - Next steps
Related courses
- Running Jenkins on AWS
- Software Testing Foundations: Continuous Testing and DevOps
- Robot Framework Test Automation: Level 1 (Selenium) (2018)
- Robot Framework Test Automation: Level 1 (Selenium)
- Learning Jenkins: Automating Software Development and System Administration
- DevOps Foundations: Your First Project (2019)
- Learning HashiCorp Vault
- Running Microsoft 365 Live Events: Teams, Yammer, and Stream Classic
Related learn paths
- Developing and Delivering Software with Docker
- Continuous Integration/Continuous Delivery (CI/CD) with Jenkins
- Develop Your NoSQL Skills
- Getting Started with Continuous Integration / Continuous Delivery (CI/CD)
- Getting Started with DevOps
- Improve Your Infrastructure Automation with HashiCorp Tools
- Become a Web Designer
- Getting Started in Test Automation Engineering