Returning Customers — Login
Call 1.866.720.0208 or contact us
To create a new security group (or groups) to use with servers in deployments.
Table of Contents
Adding and editing security groups requires the "security_manager" role. See User Role Privileges.
Note: The "security_manager" role also enables you to run Infrastructure Audit reports (which include security group audit trail information).
Security groups are essentially firewalls for servers in the cloud. They define which ports are open to allow incoming connections to a server via specific protocols. Security groups only affect ingress (incoming) communications and do not prevent a server from initiating outbound communications.
Each server must have at least one security group assigned. By default, a new security group set up with no associated rules will deny all access to its associated servers. You must add rules in order to allow inbound traffic to the servers.
Security groups give you a flexible way to restrict server access, allowing you to set restrictions specific to particular protocols, ports, IP addresses, or combinations of these. Permissions defined in a security group are additive in nature; so, if a server has two security groups where one group has port 80 open and the other group has port 80 closed, port 80 will be open (not closed) on the server.
1. In the RightScale Dashboard, go to Clouds -> CloudName -> Security Groups -> New.
2. Provide a name and description for your security group.

3. Click Create.
You will need to open ports to provide access to any servers that are in this security group. In this example, we will enter rules common to a single LAMP server requiring both SSH access and the ability to browse to the server from any source IP address. (Your specific requirements may differ, but the setup steps will be similar.) To open port 22 for your security group:
1. Under "Permissions" in your security group properties, enter the following:

2. Click Add to add your new rule. The new entry is added to the "Permissions" section in the security group properties.
You can repeat the above steps to add additional rules for other needed services—for example, to open port 80 for HTTP browsing, or 443 if SSL (HTTPS) is required.
You can click the Revoke button to remove a rule from the security group.
The Audit Entries tab in your security group properties shows activity such as the creation of the security group, along with all updates.
Use the "Add Group" feature to add security groups to other security groups or to add a security group to itself. This feature grants group-wide access permissions that apply to all servers in the added group.
When experiencing communications issues with servers in a deployment, you may need to troubleshoot your security group settings. The following is a list of common issues often associated with the setup and configuration of security groups.