Amazon Web Services - Security Group

A security group acts as a virtual firewall for your instance to control inbound and outbound traffic.

Whitelisting IPs

  1. To whitelist IPs, login into the AWS Management Console.

  2. Select the right AWS Region top right.

Select AWS Region

  1. Click top left on Services and go to Compute --> EC2 --> Instances and click on the Security Group.
Instances

  1. Click on the button Edit inbound rules to manage the rules.

  2. To add a new Rule click on the button Add Rule.

Add Inbound Rule

In the table below, you find the most common services with its ports.

ServicePort Range
SSH/SFTP22
FTP20-21
MySQL3306
Elasticsearch9200
RabbitMQ15672
Security

For security reasons, make sure to allow only whitelisted IPs access to these services.

  1. Click on the button Save rules to apply the changes.