An open API service indexing awesome lists of open source software.

https://github.com/hidekuma/serverless-project-2019

πŸ’Ύ ν”„λ‘œμ νŠΈ 자료제곡
https://github.com/hidekuma/serverless-project-2019

Last synced: over 1 year ago
JSON representation

πŸ’Ύ ν”„λ‘œμ νŠΈ 자료제곡

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 μ‚¬μš© μ„œλΉ„μŠ€ 뢄포도
![AWS services to use](./i/aws-to-use.png)
- API Gateway
- CloudWatch
- CloudFront
- DynamoDB
- Lambda
- S3
- SNS
- IAM

## μ•„ν‚€ν…μ²˜
![AWS architecture](./i/aws-arch.png)
---

## μž‘μ—…λ‚΄μš©
### 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/)