Skip to content

Instantly share code, notes, and snippets.

@sean-smith
Last active May 11, 2020 20:47
Show Gist options
  • Save sean-smith/d50322bc908bd58df2ab15585c033cfa to your computer and use it in GitHub Desktop.
Save sean-smith/d50322bc908bd58df2ab15585c033cfa to your computer and use it in GitHub Desktop.
Setup AWS ParallelCluster with a subnet in a specific Availibility Zone

AWS ParallelCluster Specific AZ Deployment

To use AWS ParallelCluster in a specific Availibility Zone, do the following:

  1. In the VPC Dashboard , click "VPC Wizard"

image

  1. Then select "VPC with a Single Public Subnet"

image

  1. Specify the Availibility Zone you desire, then rename the VPC to a name of your liking (for this I'll use StarCCM) and same for the subnet name. Then click "Create":

image

  1. Grab the VPC Id and Subnet Id then update your ~/.parallelcluster/config file to add a vpc section that includes your newly created vpc and subnets, and reference it in your cluster section:
[cluster mycluster]
...
vpc_settings = public

[vpc public]
vpc_id = [VPC you created]
master_subnet_id = [Public Subnet]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment