Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exanubes/fargate-app-with-ssl-certificate
Repository from exanubes.com for Fargate App with a SSL Certificate
https://github.com/exanubes/fargate-app-with-ssl-certificate
acm application-load-balancer aws-cdk ecr ecs fargate load-balancer route53 ssl vpc
Last synced: about 22 hours ago
JSON representation
Repository from exanubes.com for Fargate App with a SSL Certificate
- Host: GitHub
- URL: https://github.com/exanubes/fargate-app-with-ssl-certificate
- Owner: exanubes
- Created: 2022-03-04T22:04:13.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-08T17:16:02.000Z (almost 3 years ago)
- Last Synced: 2024-04-17T23:26:56.054Z (9 months ago)
- Topics: acm, application-load-balancer, aws-cdk, ecr, ecs, fargate, load-balancer, route53, ssl, vpc
- Language: TypeScript
- Homepage: https://exanubes.com/blog/adding-ssl-certificate-to-fargate-app
- Size: 208 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fargate App with SSL Certificate
Repository from [exanubes.com](https://exanubes.com) for [Deploying ECS Fargate Application](https://exanubes.com/blog/adding-ssl-certificate-to-fargate-app).
This repository is using AWS CDK v2 and is not compatible with AWS CDK v1 bootstrap stack.
## Commands:
Run the following commands inside `infrastructure` directory for building, deploying and destroying the stacks
```
npm run build
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`.