Confetti is one of those projects where I’m not sure if anybody is using it but I use it all the time myself.
The idea is simple:
Static sites are great because they are easy to maintain.
Lower the barrier to entry by making it easier to create and deploy them.
Running static sites on AWS is really nice because you get a lot of nice things for little money:
- SSL (yeah, the green lock that we all love)
- Global distribution using Cloudfront
- Cheap storage of your files (S3)
Setting all that up however can be quite a bit of work however and that is where Confetti comes in. Confetti does all the wiring and packages it in a Cloudformation Stack which is also easy to delete if something got screwed up.
Basically you run
boot -d confetti create-site --domain "my-app.com" --access-key XXX --secret-key YYY --dns
And 15 minutes later (Cloudfront distributions take some time to be ready) you’ll have an S3 bucket to deploy to and a designated access key that is only allowed to modify this S3 bucket.
You can then use any tool to sync files. Confetti also provides tools to do that of course.
Consider it next time when you:
- deploy a single page app
- create a blog based on a static site generator
- create a documentation site for you project or company
- create any kind of statically rendererd website.
PS. As part of Confetti I also created a library for syncing stuff to S3 which I had a lot of fun writing. It is probably the most versatile of all S3 syncing libraries I know. Check it out of you need to sync stuff to S3