customink / lamby-vpc

๐Ÿฆพ๐ŸŒŽ Simple VPC for RDS Proxy Tutorial with Rails & Lambda

Home Page:https://lamby.custominktech.com/docs/database_connections

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My CDK VPC

Lamby: Simple Rails & AWS Lambda Integration using Rack.Very simple CDK TypeScript project to create a new VPC. Made for learning as part of the Lamby with Database Connections guides. See deploy section for configuraiton optoins.

Use this project if you do not want to use your default AWS VPC or if for some reason you want to setup a new one.

Bootstrap & Setup

All that is needed is Docker and your AWS account setup. This will install the Docker container and run npm setup.

$ ./bin/bootstrap
$ ./bin/setup

Deploy

Creates a VPC with a CIDR of 172.16.0.0/16. If needed you can change this in the code. Other common values include 10.0.0.0/16 or 192.168.0.0/16.

If needed you can export or pass an AWS_PROFILE (defaults to "default") environment variable. This will automatically set the CDK_DEFAULT_ACCOUNT value. Likewise, you can pass or export AWS_DEFAULT_REGION (defaults to us-east-1) too.

$ ./bin/deploy

About

๐Ÿฆพ๐ŸŒŽ Simple VPC for RDS Proxy Tutorial with Rails & Lambda

https://lamby.custominktech.com/docs/database_connections

License:MIT License


Languages

Language:Shell 55.6%Language:JavaScript 20.5%Language:TypeScript 20.3%Language:Dockerfile 3.5%