AWS Security Groups

You are here:
← All Topics

Security groups define a firewall used to restrict access to AWS resources. Essentia typically requires 2 firewall settings:

  1. SSH (port 22) access to the master node (so you can log into it)
  2. HTTP (port 80) access to the master node (so you can access the web GUI)

Covering every organization or user’s security preferences or requirements is beyond the scope of this article. We present here a simple setup sufficient for many users. For more complex configurations, please do contact us.

Configure via AWS Console

  1. Log into Amazon AWS services on a web browser and navigate to EC2.
  2. On the left menu, select “Security Groups”.
  3. Click on “Create Security Group” button.
  4. Enter a name for the Security group name (example: essentia-access).
  5. Enter a description for the current security group (example: Essentia Access).
  6. Select the VPC the instance belongs to.
  7. Click on the “Add Rule” button.
  8. Select ‘SSH’ from the Type dropdown menu, and ‘My IP’ from the Source dropdown.
  9. Repeat the previous two steps, but this time selecting HTTP from the Type dropdown.
  10. Click the “Save” button on the lower right corner.

Caution
Security groups that are too open pose a potential security risk. Consult with your AWS experts or contact us for more advice on how to setup security groups.

Setup via the AWS Command Line Interface

Users with the AWS CLI installed may find this script useful. Simply save it in a file, and execute it using sh security-group.sh