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

Create a security group

- [Instructor] Before launching our Jenkins server, we need to create a security group to control the traffic that can reach the instance. Security groups are associated with network interfaces and act as a firewall for our instances. Using a security group, we can specify the ports that will be accessible on the instance for incoming and outgoing traffic. Along with specifying the ports that are open. We can also specify the IP addresses that can connect to them. This is an absolute requirement to keep the resources secure because the servers will be publicly accessible on the internet. Let's go to the AWS console and create a security group for our Jenkins server. I'm logged into my AWS account and I'm viewing the EC2 dashboard. If you're following along, you'll want to make sure you're using an account that has all the permissions needed to work with EC2 resources. First, make a note of the region that you're working in. Since EC2 resources are tied to specific regions, you can…

Contents