https://github.com/brittonhayes/dnd-deploy
Infrastructure for dnd5eapi.co deployment to AWS. Built on Elastic Container Sevice + Cloudfront🎲
https://github.com/brittonhayes/dnd-deploy
aws ecs pulumi
Last synced: over 1 year ago
JSON representation
Infrastructure for dnd5eapi.co deployment to AWS. Built on Elastic Container Sevice + Cloudfront🎲
- Host: GitHub
- URL: https://github.com/brittonhayes/dnd-deploy
- Owner: brittonhayes
- Created: 2022-05-30T02:56:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-12T04:49:56.000Z (over 3 years ago)
- Last Synced: 2025-02-28T03:25:55.699Z (over 1 year ago)
- Topics: aws, ecs, pulumi
- Language: TypeScript
- Homepage:
- Size: 395 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 Deploy
> AWS deployment of the [D&D 5e REST API](https://dnd5eapi.co) using AWS ECS/Fargate.
## Usage
Deploying the application to AWS with [Pulumi](https://www.pulumi.com/).
```shell
# Clone the repository
gh repo clone brittonhayes/dnd-deploy
# Install dependencies
npm install
# Deploy with pulumi
pulumi up
```
## Infrastructure
The compute infrastructure is built on [AWS Elastic Container Service](https://aws.amazon.com/ecs/) with request caching handled by [AWS Cloudfront](https://aws.amazon.com/cloudfront/) and routing handled by [AWS Elastic Load Balancing](https://aws.amazon.com/elasticloadbalancing/)
1. 1x AWS ECS Cluster - dnd-api-cluster
1. 1x ECS Service - dnd-api-service
1. 3x AWS ECS Tasks - api + db + cache
1. 1x AWS Application Loadbalancer - dnd-api-loadbalancer
1. 1x Cloudfront Distribution
## Development
All source code for infrastructure configurations are located in the `src/` directory. Infrastructure component definitions can be found in `src/components`.