Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 2.36 KB

README.md

File metadata and controls

40 lines (24 loc) · 2.36 KB

HPC Basic Networking

Info

This recipe demonstrates a basic cloud networking setup for HPC on AWS. Several other recipes can consume the VPC and subnets configured by this recipe.

It is most useful when your HPC cluster meets these criteria:

  1. You only launch instances in one Availability Zone (this is fairly standard)
  2. You don't need that many instances - the default configuration provided by this template creates subnets with 250 available IP addresses.

Usage

This template creates one public and one private subnet in the same Availability Zone.

If you don't wish to use the quick-create links, you can also download the assets/public-private.yaml file and uploading it to the AWS CloudFormation console.

Once your networking stack has been created, you may wish to activate termination protection for it since you may come to depend on the network assets it creates.

Importing into other CloudFormation Stacks

The template exports several variables, namedspaced by stack name. This lets you import them into other stacks.

  • VPC - the pre-existing or provisioned VPC
  • DefaultPublicSubnet - the public subnet in the VPC
  • DefaultPrivateSubnet - the private subnet in the VPC
  • InternetGatewayId - the pre-existing or provisioned internet gateway for the VPC

Cost Estimate

  • VPC and Subnets - No Charge
  • Internet Gateway - No charge, but you pay a small amount for traffic passing out of the VPC.
  • NAT Gateway - There is a region-specific hourly cost for the NAT gatway, plus a charge for data sent through the gateway.

See AWS VPC pricing for details.

Cleaning Up

When you are done using this networking configuration, you can delete it by navigating to the AWS CloudFormation console and deleting the relevant stack. If you have enabled termination protection, you will need to disable it first.