Home/Server & Website Managed Operations/Configuring Security Groups for AWS EC2
Server & Website Managed Operations

Configuring Security Groups for AWS EC2

One of the key features of EC2 is that it allows users to update instance states at any time. Users can add or remove instances at will, and this dynamic change in instance status facilitates user operations but complicates firewall configuration.

To address this limitation of EC2, AWS introduced the concept of Security Groups.

A security group essentially consists of a set of rules that determine which network traffic is accepted by an instance and which is denied. A user can currently create up to 100 security groups. When an instance is created without specifying a security group, the system automatically assigns it to a default group (Default Group).

Security Group Configuration for Web Servers

1. Select “Security Groups” in EC2 and click “Create Security Group”;

Create-Security-Group1

2. Fill in the corresponding content within the red box and click “Create”;

Security-Group-Configure

3. The name of the security group is “ELB-SG”;

Name

4. Select this security group (ELB-SG) and configure “Outbound” to allow all traffic;

Outbound

The above security rules have other configuration details; please refer to the detailed security group design document.

Check the status of the following 6 security groups in EC2 “Security Groups”;

EC2-Content-validation

Check the status of the following 6 security groups in VPC “Security Groups”;

VPC-Content-validation

FREE CHECKUP

Free server checkup

We will send a problem checklist and remediation advice within one business day — no obligation to engage.

135 410 16684
Weekdays Mon – Fri 10:00 – 22:00 (UTC+8) · 7×24 emergency response
Call now
CONTACT

Contact Us

How can we help?

* Required