반응형
mac 환경에서 aws lambda 용 serverless project 생성을 해보자
| 프로젝트 폴더를 생성
⇒ mkdir serverlessProject
| npm init, package.json 생성 (y 옵션을 사용하면 바로 package.json 생성 할 수 있다.)
⇒ npm init -y
설정
- package name
- version
- description
- entry point
- test command
- git repository
- keywords
- author
- license
| Serverless 설치하기
⇒ npm install serverless
| python template 생성하기
⇒ npx serverless create --template aws-python3
반응형
'AWS' 카테고리의 다른 글
API Gateway 사용자 도메인 생성 (0) | 2021.02.15 |
---|---|
ECS - Create scheduled task / 예약된 작업 생성하기 (0) | 2021.01.04 |
ECS 새 작업 정의 생성하는 법 (0) | 2020.05.26 |
Brew 로 AWS Elastic Beanstalk Command Line Interface 설치하기 (0) | 2020.03.19 |
Install the AWS Elastic Beanstalk Command Line Interface (EB CLI) / EB CLI 설치 방법 (0) | 2020.03.18 |