20. Copyright (C) 2019 Toranoana Inc. All Rights Reserved.
SAM CLI
• S3
AWS CLI
aws s3 mb s3://<bucketname>
20
21. Copyright (C) 2019 Toranoana Inc. All Rights Reserved.
SAM CLI
pip install
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt -t ./
21
22. Copyright (C) 2019 Toranoana Inc. All Rights Reserved.
SAM CLI
sam package --template-file template.yaml
--output-template-file packaged-template.yaml
--s3-bucket tora-alexa-skill
sam deploy --template-file packaged-template.yaml
--stack-name TestStack --capabilities CAPABILITY_IAM
22
23. Copyright (C) 2019 Toranoana Inc. All Rights Reserved.
template.yaml
• AWS SAM
•
→
23
24. Copyright (C) 2019 Toranoana Inc. All Rights Reserved.
Cloud Formation
24