Deis is an open source paas that is Docker-friendly.
What’s Digital Ocean?
A very cheap virtual private server provider like AWS, but simpler. Sign up here
What’s a Paas?
Platform as a service, like Heroku. Get an app deployed on demand.
A tool for automating complex deployments. More here
The Six Steps
2) Get a personal access token by clicking on “Generate New Token”.
3) Set up a free temporary domain (if you don’t have a spare one)
I use dot.tk for this. I set up shutitdeis.tk there, for example.
Note that this script will wipe any pre-existing settings on Digital Ocean for this domain.If you create one as described above, there’s nothing to worry about.
4) Clone the repo
git clone https://github.com/ianmiell/shutit-coreos-do.git
5) Copy and edit the Dockerfile subbing in your access token and domain
cd shutit-coreos-do/deis/dockerfile cp Dockerfile.eg Dockerfile sed -i 's/YOUR_ACCESS_TOKEN/<your access token here>/' Dockerfile sed -i 's/YOUR_DOMAIN/<your domain here>/' Dockerfile
6) Run the build
docker build --no-cache .
and wait a good while. Well done! You’ve now got your own Deis cluster! Admin user is admin/admin
Instructions for use are here: http://docs.deis.io/en/v0.15.1/using_deis/
Here are some instructions to get you going. We’re going to deploy the example from here in the deis documentation:
curl -sSL http://deis.io/deis-cli/install.sh | sh ln -fs $PWD/deis /usr/local/bin/deis # or elsewhere on your path deis login # <input admin/admin> mkdir -p /tmp/example-go && cd /tmp/example-go deis create #Creating application... done, created example-go deis pull deis/example-go:latest #Creating build... done, v5 curl -s http://example-go.<your domain> #Powered by Deis
Be sure you switch it off before the hour is up or it will cost you another whole $0.18 per hour!
Any problems, please contact me below/via github issues/other social networks.