Create Security Group on AWS

Guide to create Security Group on AWS

A security group acts as a virtual firewall for your EC2 instances to control incoming and outgoing traffic. When you launch an instance, you can specify one or more security groups. Each security group contains rules that allow traffic to or from its associated instances. Security groups are stateful, meaning if you allow an incoming request from an IP address, the response to that request is automatically allowed, regardless of inbound rules. This makes managing access and security for your instances both flexible and powerful.

Procedure

The steps to create Security Group on AWS are given below.

  1. Login to AWS. Navigate to the EC2 dashboard.

  2. In Networks & Security section, click the Security Group and then click the Create Security Group.

  3. Enter the Name, Description, and the VPC in the associated fields to configure Security Group.

  4. Set the inbound and outbound rules as per the firewall rules mentioned here.

  5. After configuring the inbound and outbound rules, recheck the settings. Create the security group.

Last updated

Logo

Copyright © 2024 OpenG2P. This work is licensed under Creative Commons Attribution International LicenseCC-BY-4.0 unless otherwise noted.