AWS CDK Construct Library to manage micro apis for Renovo Solutions
Project description
Renovo Solutions Private Lambda Micro REST API (proxy
) Infrastructure Library
This infrastructure construct library implements a private lambda backed REST API on AWS API Gateway using proxy+
.
Features
- Utilizes an internal Micro API project to provide an api via Lambda (with
proxy+
) and API Gateway - Configures the required VPC endpoint attachment automatically
- Configures logging for API requests
- Configures the private gateways policy to restrict access to the VPC endpoint
- Exports the private DNS name to be used in the app
What this construct does not do
- Provide the VPC endpoint with private DNS enabled. The user utilizing this construct should create a single VPC endpoint with private DNS enabled and share it across all projects utilizing this consturct.
Private API Gateway traffic flow using VPC Endpoint
API gateways are a managed service that lives outside of our own VPC. Therefore when creating a private gateway this means that in order to access it additional configurations need to occur. Specifically a VPC endpoint must exist for traffic to route to the API Gateway. In addition the Lambda service itself also lives outside our VPC. This can seem a bit complex given that most of our Micro API projects then return to the VPC to route traffic to the database. To help visualize what this looks like here is a diagram of this traffic flow when routing through the api gateway for Micro APIs:
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for renovosolutions.aws-cdk-renovo-microapi-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b22952fcf478c7ed420bed818914b8f18aaf4a5f93d6f7b321a0bf7faf6b460 |
|
MD5 | aa68c33957091a37d9f1400f910e2cad |
|
BLAKE2b-256 | 097cd952c9de7909bad3d4d4d8fead55965f99997345c0a8a59ea34c01523f3b |
Hashes for renovosolutions.aws_cdk_renovo_microapi-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eb9f21bb8bf2ed2c4506b04519babe3927d82ede078ac6d1c7fef45293906dd |
|
MD5 | 1d44204fff2bfdec954cf3eb8fb30626 |
|
BLAKE2b-256 | 0e77c957b681efb7f53c0f2fa4e07bbabc3c3b7af2e6098673ae0b6e573119d6 |