Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonufrienko/experiment-nextjs-cloud
Infrastructure as Code with AWS CDK
https://github.com/sonufrienko/experiment-nextjs-cloud
Last synced: 23 days ago
JSON representation
Infrastructure as Code with AWS CDK
- Host: GitHub
- URL: https://github.com/sonufrienko/experiment-nextjs-cloud
- Owner: sonufrienko
- License: mit
- Created: 2020-04-12T09:43:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T03:14:48.000Z (almost 2 years ago)
- Last Synced: 2024-06-12T17:30:22.004Z (5 months ago)
- Language: TypeScript
- Size: 1.14 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![](cover.jpg)
# Infrastructure as Code with AWS CDK
This is the infrastructure for [this project](https://github.com/sonufrienko/experiment-nextjs).
## Features
- Serverless Architecture
- DynamoDB## How to deploy
```bash
npm run build
cdk synth
cdk deploy# Deploy only HostingStack using "sg-profile" AWS profile
cdk deploy HostingStack --profile=sg-profile
```## Useful commands
- `npm run build` compile typescript to js
- `npm run watch` watch for changes and compile
- `npm run test` perform the jest unit tests
- `cdk deploy` deploy this stack to your default AWS account/region
- `cdk diff` compare deployed stack with current state
- `cdk synth` emits the synthesized CloudFormation template