EC2 instance launch control
poetory install
poetory run ansible-playbook -i ansible/hosts ansible/site.yml
using Serverless Framework
https://serverless.com/framework/docs/getting-started/
$ npm install -g serverless
Or, update the serverless cli from a previous version
$ npm update -g serverless
$ cp {dot,}.envrc
$ direnv allow
and edit .envrc
$ make deploy
if serverless deploy only is sls deploy --aws-profile mine --vervose
- Consider national holiday in stop instance logic