Create a VPC Security Group

Security Group

A security group is like a virtually established firewall where the incoming and outgoing traffic will be controlled.

For the complete steps from the beginning of creating a VPC, you can follow the below link and this blog defines how to create and configure a Security Group for an already running VPC.

https://technetworkz.wordpress.com/2018/04/17/create-a-vpc-and-subnets

Step 1: Go to the Security Groups page, from the left navigation panel

  • Proceed by Clicking Security Groups

Now, the configuration page will be displayed and configure the settings as shown below

  • Name tag: WebSecurityGroup
  • Group Name: WebSecurityGroup
  • Description: Enable HTTP access
  • VPC:My Lab VPC (This is the VPC that we created already and we are going to attach this security group to that VPC)

Select Yes, Create to create the security group and now we need to add some rules to this Security group so that the incoming and outgoing traffic should work fine.

Step 2: Select WebSecurityGroup and go to Inbound Rules tab and edit.

  • Type:  HTTP (80)
  • Source: 0.0.0.0/0

Save this configuration, and now the Inbound rule allowing HTTP connection from any IPs.

 

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.