Deploy Your Own Private PaaS

Before you get started, make sure you understand Deis Concepts as outlined in the Understanding Deis section of the documentation.

Want help? Engine Yard provides installation assistance and commercial support.

01. Install CoreOS

Install CoreOS on the hosting infrastructure of your choice. Deis includes documentation for installing CoreOS on Amazon AWS, DigitalOcean, Google Compute Engine, Microsoft Azure, Rackspace, Vagrant and bare metal.

02. Provision Deis

Install the deisctl utility used to manage a Deis cluster. Then follow the instructions for installing the Deis platform on CoreOS.

$ deisctl install platform
● ▴ ■
■ ● ▴ Installing Deis...
▴ ■ ●
...
Deis installed.
Please run `deisctl start platform` to boot up Deis.

$ deisctl start platform
● ▴ ■
■ ● ▴ Starting Deis...
▴ ■ ●
...
Done.

Please use `deis register` to setup an administrator account.

03. Deploy your Applications

Install the deis client used to interact with the Deis platform. Then follow the instructions to register a user and deploy an application.

$ git clone https://github.com/deis/example-ruby-sinatra.git
$ cd example-ruby-sinatra

$ deis create
Creating application... done, created lambda-hawthorn
Git remote deis added

$ git push deis master
Counting objects: 92, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (87/87), done.
Writing objects: 100% (92/92), 19.29 KiB | 0 bytes/s, done.
Total 92 (delta 40), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-1.9.3
-----> Installing dependencies using 1.5.2
       Running: bundle install --without development:test
       ...
-----> Discovering process types
       Procfile declares types -> web
       Default process types for Ruby -> rake, console, web
-----> Compiled slug size is 12M
-----> Building Docker image
Uploading context 11.81 MB
...
Step 3 : ENTRYPOINT ["/runner/init"]
 ---> Running in 94eb867135db
 ---> f49031ecd6c1
Successfully built f49031ecd6c1
-----> Pushing image to private registry

       Launching... done, v2

-----> lambda-hawthorn deployed to Deis
       http://lambda-hawthorn.local3.deisapp.com

       To learn more, use `deis help` or visit http://deis.io

To ssh://git@local3.deisapp.com:2222/lambda-hawthorn.git
 * [new branch]      master -> master

$ curl -s http://lambda-hawthorn.local3.deisapp.com
Powered by Deis!

$ deis scale web=4
Scaling containers... but first, coffee!
done in 9s

Learn more about Using Deis in the documentation.