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 a security group and key pair for the build server
From the course: Running Jenkins on AWS: Deploying and Managing Jenkins on Cloud Infrastructure
Create a security group and key pair for the build server
- [Instructor] Let's continue creating the resources we need for the build server by creating a security group and a key pair. Let's start with the security group. From the EC2 dashboard, I'll select into security groups and then select create security group. For the name, let's use build-server, and for the description, let's enter SSH from Jenkins server. Now let's add a rule. For the traffic type, we need to select SSH, which automatically fills in the port range for us. We'll leave the source as custom and search for the security group attached to the Jenkins server. For the description, let's enter the same description we used before, SSH from Jenkins server. We don't need to make any changes to the outbound rules since we want our instance to be able to reach any address on the internet. However, I will add a tag with the name build-server. When we attach this group to the EC2 instance running our build server, the server will only be accessible from the Jenkins server and only…
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
-
-
-
-
-