Common security group configurations

An Amazon Elastic Compute Cloud (EC2) instance can only allow network traffic from sources and ports defined in its security group. When you use Amazon EC2, you need to set up some security groups that correspond to the types of things you'll be doing with your EC2 instances. This topic describes some common security groups you can configure for different ArcGIS Server deployments.

By default, a security group is completely locked down. You add rules to a security group specifying the type of traffic allowed, the ports it will be allowed through, and the computers from which communication will be accepted. The ports you decide to open and the type of traffic you need to allow depend on what you are doing with the instance.

The following are suggestions of security group names and rules that you can configure in the AWS Management Console. Allowed ports and protocols may vary based on your organization's IT policies. The suggestions below use the most common port numbers. If your organization has an IT specialist, consider consulting with him or her to devise the best security strategy for your EC2 instances.

ArcGIS Server Development

Consider creating a security group specifically for EC2 instances that are being used for development and testing purposes. This type of group could allow the following access:

ArcGIS Server Production

Once you've developed and tested your application and are ready to move it to a production tier, it's a good idea to disable remote desktop access. If a problem occurs and you need to log in to the machine, you can temporarily change the security group configuration to allow yourself access. An ArcGIS Server Production group could allow the following access:

ArcGIS Server Production Secure

If you want to require encrypted communication with your machine, you should configure an Elastic Load Balancer on your site that receives traffic through port 443, the port typically used for encrypted communication through SSL. Then configure the load balancer to forward traffic to port 6443. On your security group, open the ports described above for ArcGIS Server Production.

Enterprise Geodatabase

If you choose to have enterprise geodatabases on a separate instance from your ArcGIS Server instance, You can configure a security group specifically for your enterprise geodatabase instance that allows the following:

Commonly used ports

Following are some of the most common ports you may work with as you create security groups. Some of these ports you may not need to explicitly open; rather, you may just decide to give machines within your security group full access to each other. If you want to allow access from machines not participating in your security groups (for example, your desktop workstation in your office), you need to open specific port numbers.

Port

Common purpose

80

HTTP access to IIS web server or load balancer

443

HTTPS access to IIS web server or load balancer

445

Windows file sharing

1433

Connections to Microsoft SQL Server

3389

Connections to Windows Remote Desktop

5432

Connections to PostgreSQL

6080

HTTP access to ArcGIS Server

6443

HTTPS access to ArcGIS Server

Windows Firewall is enabled on any instance that you launch using the Esri-provided AMIs, including on sites that you build with Cloud Builder. If you install a third-party application that requires ports other than those listed above, ensure that Windows Firewall is also configured to allow the port.

12/29/2014