PaaS


It has nothing to do with easter.

Platform as a Service

  • Tier above IaaS
  • Next¬† Generation of "managed hosting"¬†
    • (excepting that it doesn't suck)
  • Standards-based deployment
  • Better security / tenant separation
  • Way more language / data store choices



Deployment

  • Git
  • Mercurial
  • Subversion
  • Conceptually, anything with service hooks

Security / Resource Control

  • Kernel-level separation
    • Namespaces
    • SELinux (MAC)
  • UNIX users/groups (MAC)
  • CPU / Memory allocation (cgroups)
  • Storage quotas (user level)
  • SSH, SCP, etc...
    • No more FTP access (!!!)
    • No more .htpasswd auth to tools

Cont'd

  • Programmatic everything
    • UI -> API
    • CLI -> API
    • Code -> API
  • Break out of "chinese menu" - think "global buffet"
    • If it's a web app, it'll run
    • If it compiles on linux, it'll run
  • Less waste
    • Beached kernels
    • System service overlap

Cont'd

  • Auto-scaling
    • No, seriously. Actual auto-scaling
    • Event-driven HAProxy config
    • Best if sessionless, no filesystem deps
      • Object Stores, K/V, NoSQL... so many options
  • Resource pools
    • Container floor / ceiling
    • Container sizes (vertical)

Context / Bias

  • Containers, not IaaS automation (fake & bloated)
    • VM consolidation / multi-tenancy
    • Linux-centric
  • What can I deploy on my own?
    • I've got customers, yknow!
  • Bare metal, one of these days...

One less VM



Lator Gator


New Kids in Town

OpenShift Demo

  1. UI: Create container via UI

CLI: Add Database


CLI: Clone to local git repo


UI: Create github repo



CLI: Hello World!

CLI: Push to github


Rinse


Wash


Repeat


CLI: Push to OpenShift -> Deployed!


UI: Go have a beer with all this free time

Github Demo

  1. Log in to MasterPeace org
  2. Create repo
  3. Clone
  4. Push some code

Title

Resources

  • Docker
    • github.com/dotcloud/docker
  • OpenShift
    • github.com/openshift
    • openshift.com

Paas

By Joe Mader

Paas

  • 639
Loading comments...

More from Joe Mader