-
Notifications
You must be signed in to change notification settings - Fork 1k
New serverless pattern - APIGW Private Custom Domain Name with Internet-Enabled Lambda using NAT Gateway in Terraform #2746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Hello @julianwood and @marcojahn, Any update on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The diagram & wordings seem inaccurate as per the flow defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- title does not meet maximum length of 75
- description does not meet maximum length of 150
- language is not one of values: TypeScript,Node.js,Python,Java,Go,Rust,.NET,OpenAPI,YAML,
- gitHub.template.templateURL: Please remove the projectFolder value from the templateFile
1. Create a new directory, navigate to that directory in a terminal and clone the GitHub repository: | ||
CMD : git clone https://github.com/aws-samples/serverless-patterns | ||
|
||
2. Change directory to the pattern directory: | ||
CMD : cd serverless-patterns/private-apigw-custom-domain-private-restapi-public-lambda-terraform | ||
|
||
3. From the command line, initialize terraform to download and install the providers defined in the configuration: | ||
CMD : terraform init | ||
|
||
4. Review the resources that will be created: | ||
CMD : terraform plan | ||
|
||
5. From the command line, apply the configuration in the main.tf file: | ||
CMD : terraform apply -auto-approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Please use appropriate markup for commands
upper = false | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: scope for uniform pattern of number of new lines (across the file)
Issue #2747, if available:
Description of changes:
This architecture demonstrates how to build a private API accessible only from within a VPC using API Gateway private endpoints, where the API is protected by custom domain names and SSL certificates. The solution includes a Lambda function running in private subnets that can access the internet through NAT Gateways, and an EC2 instance configured with Session Manager for secure management, all while maintaining network isolation and security best practices through VPC endpoints.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.