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
From the course: Running Jenkins on AWS: Deploying and Managing Jenkins on Cloud Infrastructure
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
-
-
-
-
Plan the build environment2m 7s
-
(Locked)
Create an IAM role for the build server1m 18s
-
(Locked)
Create a security group and key pair for the build server3m 20s
-
(Locked)
Create the build server1m 34s
-
(Locked)
Connect Jenkins to the build server4m 39s
-
(Locked)
Solution: Set up a build server1m 58s
-
-
-
-
-