Configuring security groups

Security groups are sets of IP filter rules that define networking access. Before you launch an instance, you should add security group rules to enable users to interact with the instance. To do this, you can either add rules to the default security group or add a new security group with rules.

You can assign as many security groups as you like to an instance at any time.

Add a rule to the default security group

If you add rules to the "default" security group, they will be applied to all instances within a given project (unless you explicitly remove the "default" group from an instance). In this example, a rule to open up TCP port 8080 to all incoming traffic will be created. This procedure can be adjusted as necessary to add additional security group rules to a project.

  1. Log in to the DreamCompute Dashboard.
  2. Select the appropriate project from the drop down menu at the top left.
  3. On the Project tab, open the Compute tab and click the Access & Security category. The Security Groups tab shows the security groups that are available for this project.
    how-to-add-a-rule-to-a-security-group_1
  4. Click Manage Rules next to the default security group.
    how-to-add-a-rule-to-a-security-group_2
  5. Click Add Rule.
  6. In the Add Rule pop-up, select/enter the following values:
    • Rule: Custom TCP Rule
    • Direction: Ingress
    • Open Port: Port
    • Port: 8080
    • Remote: CIDR
    • CIDR: 0.0.0.0/0

    To limit port requests to a particular range of IP addresses, specify the IP address block in the CIDR box.

    how-to-add-a-rule-to-a-security-group_3
  7. Click Add.

    Instances will now have port 8080 open for requests from any IP address.

Add a new security group

  1. Log in to the DreamCompute Dashboard.
  2. Select the appropriate project from the drop down menu at the top left.
  3. On the Project tab, open the Compute tab and click the Access & Security category. The Security Groups tab shows the security groups that are available for this project.
    how-to-add-a-rule-to-a-security-group_4
  4. Click Create Security Group.
    how-to-add-a-rule-to-a-security-group_5
  5. Type in a Name for the new security group, add a description (optional), and click Create Security Group.
  6. Click Manage Rules next to the new security group and add rules to it using the same procedure as above.

Did this article answer your questions?

Article last updated .