Implementing a Deployment solution for AWS #152
@@ -1,14 +1,14 @@
|
|||||||
# This is the deployment Infrastructure as code for use with AWS
|
# This is the deployment Infrastructure as code for use with AWS
|
||||||
|
|
||||||
## configuration, please set them as env var
|
## configuration, please set them as env var
|
||||||
* `LOCALTUNNEL_BASE_DOMAIN` the base domain for the localtunnel server, must be a root domain like example.com
|
* `LOCALTUNNEL_BASE_DOMAIN` the root domain in route53
|
||||||
* `LOCALTUNNEL_ROUTE53_ID` the ID of the route53 hosted zone for the domain
|
* `LOCALTUNNEL_ROUTE53_ID` the ID of the route53 hosted zone for the domain
|
||||||
|
* `LOCALTUNNEL_DOMAIN` the domain of the localtunnel server
|
||||||
## After setting the environment variables, simply run:
|
## After setting the environment variables, simply run:
|
||||||
```npm i && cdk deploy```
|
```npm i && cdk deploy```
|
||||||
|
|
||||||
## Deployed Architecture
|
## Deployed Architecture
|
||||||
1. This Architecture brings up a ECS fargate cluster, 2 public subnets, 2 private subnets, and 2 NAT gateways
|
1. This Architecture brings up a ECS fargate cluster and 2 public subnets
|
||||||
|
|
||||||
2. It spins up a container that runs using fargate runtype with the upstream docker image
|
2. It spins up a container that runs using fargate runtype with the upstream docker image
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user