Balaji Vajjala's Blog

A DevOps Blog from Trenches

03

  • 3.2 Define security groups
    • Learning Objectives
    • Create a Security Group

3.2 Define security groups

Learning Objectives

By the end of this lesson you will be able to:

  • Create a security group that can be assigned to EC2 instances.

Create a Security Group

Create a Security Group with SSH access to port 22.

  1. Go to the EC2 tab on the management console: https://console.aws.amazon.com/ec2/.
  2. Select the Security Groups link on the left panel.
  3. Click on the Create Security Group button and enter ssh for the name and description.
  4. Select the Inbound tab and enter 22 in the Port range field
  5. Click the Add Rule button and then click the Apply Rule Changes button.
  6. (Optional) Enter CIDR notation in the Source field.