Skip to content

exanubes/nat-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAT Gateway

Repository from blog exanubes.com for NAT or gaining internet access in private networks.

Commands:

Run the following commands for deploying and destroying the stacks

  • npm run cdk:deploy
  • npm run cdk:destroy

Both of these commands use the aws-cli sts service to get the account id and aws IAM role exanubes-cloudformation-access in order to dynamically provide role arn. Make sure you're using the account you want to deploy the stacks to and that you have the role created either with the same name or different name and change the scripts in package.json.