From the course: Running Jenkins on AWS: Deploying and Managing Jenkins on Cloud Infrastructure

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Create the build server

Create the build server

- [Instructor] At this point, we have everything in place to spin up our Build server instance, a role for accessing AWS resources, a security group for managing network access, and a key pair that Jenkins can use to connect to the Build server, so let's go ahead and create this thing. From the EC2 dashboard I'll select launch instance, and of course, I'll name this instance Build Server. For the AMI I'll make sure Amazon Linux is selected. For the instance type, we'll stick with T2 Micro. Under key pair, I'll select the key that I created for the Build server. For network settings, we need to select the existing security group. Under storage, I'll change the size to be 20 gigabytes. Now I'll open up the advanced detail section. Under IAM instance profile, select the EC2 Lambda roll. Now scroll to the bottom of the advanced section to enter user data. For the user data, we need to add the script that will install all the tools needed to set up the Build Agent, work with AWS Lambda…

Contents