In this project, you will learn how to deploy and host Jenkins, an open-source automation software predominantly used for CI/CD (Continuous Integration/Continuous Deployment). You will use Amazon Elastic Compute Cloud (EC2) in a public subnet within your own Amazon Virtual Private Cloud (VPC) and you will also set up an Amazon Elastic Block Store (EBS) volume.
What you'll accomplish:
Launch a virtual application server to host your Jenkins installation using Amazon EC2. In this single-node setup, both the Jenkins server and agent run on the same Amazon EC2 instance. The instance type you provision will match your expected load. You will also be able to resize the instance if your expected load changes.
Deploy Jenkins on Amazon EC2. You will download and deploy the latest version of Jenkins.
Configure Jenkins with build servers. You will configure Jenkins so that it spins up additional Amazon EC2 instances as build servers, based on resource consumption.
What you'll need before starting:
An AWS Account: You will need an AWS account to begin provisioning resources to host your website. Sign up for AWS.
IT Skill level: Prior experience with Jenkins is recommended, but not required, to complete this project.
AWS Experience: Basic familiarity with Amazon EC2 and Virtual Private Clouds (VPCs) are recommended to successfully complete this project.
Cost to complete project: The estimated cost to complete this project is $0.00. This cost assumes that you are within the AWS Free Tier limits, you follow the recommended configurations, and that you terminate all resources within 1 hour of completing the project. Your use case may require different configurations that can impact your bill. Use the Pricing Calculator to estimate costs tailored for your needs.
Monthly billing estimate: The total cost of building a Jenkins server will vary depending on the selected instance types. Using our recommended configuration and starting with an m4.large instance type and provisioning a 40GB EBS drive will typically cost $89/month to host Jenkins if you are within the AWS Free Tier limits. This includes an Elastic IP address. To see a breakdown of the services used and their associate costs, see Services Used and Costs.