Ufo is a tool that makes building and shipping Docker images to AWS ECS super easy.
The main command is ufo ship
. Here's summary of what it does:
- Builds a docker image.
- Generates and registers the ECS template definition.
- Deploys the ECS template definition to the ECS service.
Ufo deploys a task definition that is written in a templating language that is easily and fully controllable.
See ufoships.com for full documentation.
If you are on version 2, you can run ufo upgrade3
within your project to upgrade it to version 3. Refer to the CHANGELOG.
gem install ufo
Full installation instructions are at Install Ufo.
To quickly demonstrate how simple it is to use ufo we will use an example app from tongueroo/hi. The app is a barebones sinatra app. Here are the steps:
gem install ufo
git clone https:///github.com/tongueroo/hi.git
cd hi
ufo init --app=hi --image=tongueroo/hi
ufo ship hi-web
Congratulations, you have successfully used ufo to deploy to an ECS service.
- This blog post provides an introduction to the tool: Ufo - Build Docker Containers and Ship Them to AWS ECS.
- This presentation covers ufo also: Ufo Ship on AWS ECS
Bug reports and pull requests are welcome on GitHub at https://github.com/tongueroo/ufo/issues.
QA Checklist is a good list of things to check.