Skip to content

Commit

Permalink
[vpc_doc] Add link to create Security Group guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kouzant committed Nov 18, 2020
1 parent b499702 commit 6502785
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/hopsworksai/aws/restrictive_permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ Hopsworks.ai to only access resources in a specific VPC.

To restrict Hopsworks.ai from accessing resources outside of a specific VPC, you need to create a new VPC
connected to an Internet Gateway. This can be achieved in the AWS Management Console following this guide:
[Create the VPC](https://docs.aws.amazon.com/vpc/latest/userguide/getting-started-ipv4.html#getting-started-create-vpc).
The option VPC with a Single Public Subnet from the Launch VPC Wizard should work out of the box.
[Create the VPC](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-getting-started.html).
The option VPC with a `Single Public Subnet` from the Launch VPC Wizard should work out of the box.
Alternatively, an existing VPC such as the default VPC can be used and Hopsworks.ai will be restricted to this VPC.
Note the VPC ID of the VPC you want to use for the following steps.

!!! note
The VPC and its Network ACLs need to be configured so that at least port 80 is reachable from the internet or creating Hopsworks instances will fail when creating SSL certificates. DNS hostnames need to be enabled as well.
Make sure you enable `DNS hostnames` for your VPC

After you have created the VPC either [Create a Security Group](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#CreatingSecurityGroups) or use VPC's default.

!!! note
The [Security Group](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#AddRemoveRules) and/or [Network ACLs](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html#Rules)
need to be configured so that at least port `80` is reachable from the internet otherwise creating Hopsworks instances will fail when creating SSL certificates.

## Step 2: Create an instance profile

Expand Down

0 comments on commit 6502785

Please sign in to comment.