baal: build. automate. autoscale. launch.
Automated, autoscaled, zero-downtime, immutable deployments using plain old bash, Packer, nginx, Node.js, and AWS. Made easy.
Read about this deployment strategy on Pony Foo, and then clone this repository. Copy the scripts, and adjust as needed. A few pointers.
- The application is named
baalin a few places. Change that to your application's name
- You need to set a value for
setupscript. Read the articles on Pony Foo to learn about that
- In the
deployscript you can set
PRIMAL_IDto an AMI so that your base AMI isn't rebuilt on every deploy
- By default,
baalexpects to build your static assets with
npm run build-$NODE_ENV
Relevant Pony Foo articles:
You'll need to install all of the following.
pip install awscli aws configure brew install jq npm install underscore-cli --save-dev