caisson icon indicating copy to clipboard operation
caisson copied to clipboard

Deploy your static website to AWS

Caisson (deprecated)

I recommend you use AWS SDK for JavaScript in Node.js or AWS Command Line Interface instead.

Deploy your static website to AWS

Caisson makes it easy to host and deploy a static website to AWS via the root domain, e.g. http://yoursite.com.

Why?

It's a tedious process to configure services via the AWS web console. Caisson initializes all of the necessary services in a single init command and syncs your build directory using a smart push command.

What does it do?

Caisson creates two S3 buckets, a Route 53 Hosted Zone, and a CloudFront CDN. It also manages a small cache in S3 for fast pushes.

Installation

Install with npm:

$ npm install -g caisson

Usage

Initialize AWS and push your build directory to S3:

$ caisson init yoursite.com
$ caisson push

You need to manually update your domain to use Route 53's name servers. Caisson will log this information in caisson.json.

Help

For additional help, see:

$ caission --help

Tests

Clone the repo, then run:

$ npm install
$ npm test

License

MIT License, see LICENSE for details.