https://github.com/hidekuma/serverless-project-2019
πΎ νλ‘μ νΈ μλ£μ 곡
https://github.com/hidekuma/serverless-project-2019
Last synced: over 1 year ago
JSON representation
πΎ νλ‘μ νΈ μλ£μ 곡
- Host: GitHub
- URL: https://github.com/hidekuma/serverless-project-2019
- Owner: hidekuma
- Created: 2019-10-22T09:11:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T08:54:09.000Z (over 6 years ago)
- Last Synced: 2025-01-13T14:33:41.526Z (over 1 year ago)
- Language: HTML
- Homepage:
- Size: 26.7 MB
- Stars: 3
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless project 2019
μλ²λ¦¬μ€ μΉ νλ‘μ νΈ 2019
## νκ²½
- AWS κ³μ
- python 3.7.4
- docker
- docker-compose
### μ
ν
νμ΄μ¬3μ κ°μνκ²½ μ€μΉ
```bash
$ yum update -y
$ yum install python3 -y
$ pip3 install virtulenv
$ mkdir virutalenv directory, e.g. venv
$ virtualenv -p {python3_path} {env_name}
$ source {env_name}/bin/activate
$ pip3 install awscli
$ awscli configure
$ deactivate
```
## AWS μ¬μ© μλΉμ€ λΆν¬λ

- API Gateway
- CloudWatch
- CloudFront
- DynamoDB
- Lambda
- S3
- SNS
- IAM
## μν€ν
μ²

---
## μμ
λ΄μ©
### Front-end
[νλ°νΈμλ νλ©΄ κ΅¬μ± (./front-end)](./front-end)
- μμ
μλ£λμ λ°λΌ λ€λ¦
1. [νλ©΄ μμ±](./front-end/step1)
2. [API μ°λ μλ£](./front-end/step2)
3. [μμ
λ³Έ μ 리](./front-end/step3)
### Back-end
[λ°±μλκΈ°λ₯ ꡬν (./back-end)](./back-end)
#### API Gateway
- [serverless2019-dev-swagger-postman.json](./back-end/serverless2019-dev-swagger-postman.json)
#### lambdas
- API
- GET : [get.py](./back-end/get.py)
- POST : [post.py](./back-end/post.py)
- Make Image
- GET : [make.py](./back-end/make.py)
---
## λ νΌλ°μ€
### Lambda
- [λ°νμ](https://docs.aws.amazon.com/ko_kr/lambda/latest/dg/lambda-runtimes.html)
- [νλ](https://docs.aws.amazon.com/ko_kr/lambda/latest/dg/limits.html)
- [κ³μΈ΅](https://docs.aws.amazon.com/ko_kr/lambda/latest/dg/configuration-layers.html)
### DynamoDB
- [μ νκ°](https://docs.aws.amazon.com/ko_kr/amazondynamodb/latest/developerguide/Limits.html)
- [ν΅μ¬κ΅¬μ±μμ](https://docs.aws.amazon.com/ko_kr/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html#HowItWorks.CoreComponents.TablesItemsAttributes)
- [μ½κΈ°μΌκ΄μ±](https://docs.aws.amazon.com/ko_kr/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html)
### ClodFront
- [μΊμ±κΈ°κ°κ΄λ¦¬](https://docs.aws.amazon.com/ko_kr/AmazonCloudFront/latest/DeveloperGuide/Expiration.html)
- [μμΆ](https://docs.aws.amazon.com/ko_kr/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html)
- [νλ](https://docs.aws.amazon.com/ko_kr/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
- [μ€μ κ°](https://hidekuma.github.io/aws/cloudfront/cloudfront-settings/)
### API Gateway
- [λ§€ν λͺ¨λΈ](https://docs.aws.amazon.com/ko_kr/apigateway/latest/developerguide/models-mappings.html)
- [λ§€ν ν
νλ¦Ώ](https://docs.aws.amazon.com/ko_kr/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html)
### S3
- [S3 λ°μ΄ν°λͺ¨λΈ](https://hidekuma.github.io/aws/s3/s3-data-model/)