On Github dhilipsiva / open-source-paas
@dhilipsiva
Full-Stack, DevOps, iOS, Big Bata, IoT, ML, Father
Jack of All trades, Master of None
@appknox
Appknox helps developers and enterprises to detect and fix security loopholes within a few minutes
No vendor lock-in
Portable (Any cloud / bare-metal)
Hackable
Cheaper
Manual setup & Manintanance
Git
Docker
Kuberbetes (only for Deis)
From guys who built heroku & others.
One codebase tracked in revision control, many deploys
Explicitly declare and isolate dependencies
Store config in the environment
Treat backing services as attached resources
Strictly separate build and run stages
Execute the app as one or more stateless processes
Export services via port binding
Scale out via the process model
Maximize robustness with fast startup and graceful shutdown
Keep development, staging, and production as similar as possible
Treat logs as event streams
Run admin/management tasks as one-off processes
heroku login heroku create appknox heroku addons:create heroku-postgresql:appknox-db git push heroku master heroku ps:scale web=2
Debian OS (Preferably Ubuntu 14.04)
# On Local # instance --image "/ubuntu-os-cloud/ubuntu-1404-trusty-v20160406" # ssh # On Host wget https://raw.githubusercontent.com/dokku/dokku/v0.5.6/bootstrap.sh sudo DOKKU_TAG=v0.5.6 bash bootstrap.sh dokku apps:create apknox-app dokku plugin:install https://github.com/dokku/dokku-postgres.git dokku postgres:create appknox-db dokku postgres:link appknox-db appknox-app dokku ps:scale web=2 # On Local git remote add dokku dokku@dokku.me:appknox-app git push dokku master # App will be deployed to http://appknox-app.example.com
Through Plugins - https://github.com/dokku
# On local Machine L=/usr/local/bin/flynn && curl -sSL -A "`uname -sp`" https://dl.flynn.io/cli | zcat >$L && chmod +x $L git clone https://github.com/flynn/nodejs-flynn-example.git cd nodejs-flynn-example flynn create example git push flynn master # Procfile # Scale flynn scale web=3
V1 Had long setup process
Was not built on top of kuberbetes
Currently Beta3
Buildpacks / Dockerfiles
Expected stable version to release on June 8, 2016: https://github.com/deis/workflow/milestones
# On Local gcloud container clusters create deis-paas helm target helm repo add deis https://github.com/deis/charts helm fetch deis/workflow-beta3 helm generate -f -x manifests workflow-beta3 helm install workflow-beta3 kubectl get pods --namespace=deis kubectl --kubeconfig=kubeconfig proxy & # Client deis register http://deis.example.com deis login http://deis.example.com deis create appknoxp-app --buildpack heroku/python git push heroku master deis apps:scale web=2
Deis / Dokku / Flynn
I use Deis - I love it.
@dhilipsiva