Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yamamotok/cdk-demo-summer2022
Material for a webinar, Serverless with AWS CDK - 2022 夏の特別企画の素材
https://github.com/yamamotok/cdk-demo-summer2022
aws-cdk aws-cdk-typescript aws-lambda fastify typescript
Last synced: 15 days ago
JSON representation
Material for a webinar, Serverless with AWS CDK - 2022 夏の特別企画の素材
- Host: GitHub
- URL: https://github.com/yamamotok/cdk-demo-summer2022
- Owner: yamamotok
- Created: 2022-08-09T19:54:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-11T07:28:13.000Z (over 2 years ago)
- Last Synced: 2023-08-05T12:06:56.945Z (over 1 year ago)
- Topics: aws-cdk, aws-cdk-typescript, aws-lambda, fastify, typescript
- Language: TypeScript
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
2022 夏の特別企画 「AWS CDK だけでサーバーレス」の教材
------This is a material for the webinar "Serverless with AWS CDK" in 2022 Summer.
## ウェビナーの概要 - Summary
[Serverless](https://www.serverless.com/) や [SST](https://sst.dev/)
などのフレームワークを用いずに、[AWS CDK](https://aws.amazon.com/cdk/) だけでウェブアプリケーションをデプロイします。 今回は [Fastify](https://www.fastify.io/) と
TypeScript で書かれたAPIサーバーをAPI Gateway + Lambda でホストします。Now we try to deploy a web application on AWS without serverless frameworks
e.g. [Serverless](https://www.serverless.com/), [SST](https://sst.dev/) but only
using [AWS CDK](https://aws.amazon.com/cdk/). The application is made with [Fastify](https://www.fastify.io/) and
written in TypeScript, then it will be served through API Gateway + Lambda.## 注意 - Note
ご自身でお試しの際は、以下の設定が必要ですのでご注意ください。
Please be noted that following settings are required when you try by yourself.
(1) すべての npm script の実行のに際しては以下の環境変数の設定が必要です。
(1) Before executing every npm script, you need to set environment variables below;
```
AWS_ACCESS_KEY_ID=mmmmm
AWS_SECRET_ACCESS_KEY=nnnnn
AWS_DEFAULT_REGION=us-west-2
AWS_ACCOUNT=00000
```(2) 最初に AWS CDK の bootstrap が必要です
(2) At first you need bootstrapping with the CDK command below;
```
cdk bootstrap aws://{{your_AWS_account}}/{{AWS_region}}
```