17
Building a Platform-as-a- Service with Docker and Node.js @kevinswiber

Building a Platform-as-a-Service with Docker and Node.js

  • Upload
    kswiber

  • View
    1.756

  • Download
    4

Embed Size (px)

DESCRIPTION

Docker describes itself as "an open source project to pack, ship and run any application as a lightweight container." Learn how to use Docker to create a simple Platform-as-a-Service for packaging and deploying your Node.js applications! Introducing Borealis.

Citation preview

Page 1: Building a Platform-as-a-Service with Docker and Node.js

Building a Platform-as-a-

Service with Docker and

Node.js@kevinswiber

Page 2: Building a Platform-as-a-Service with Docker and Node.js

You may know…

Page 3: Building a Platform-as-a-Service with Docker and Node.js

“We all live every day in virtual

environments, defined by our ideas.”

- Michael Crichton

Page 4: Building a Platform-as-a-Service with Docker and Node.js

The enterprise cometh…

Page 5: Building a Platform-as-a-Service with Docker and Node.js

Design Goals

• Process isolation• Rapid deployment• Ops visibility• Elastic scaling• Developer

experience

Page 6: Building a Platform-as-a-Service with Docker and Node.js

Characteristics

• Transparent scale• Developers use their own tools• Access control• Status monitoring• Task scheduling• Release versioning / rollback• Zero-downtime deployments• Built-in analytics• Client SDKs for app developers

Page 7: Building a Platform-as-a-Service with Docker and Node.js

Components• User

Management• Routing• Logging• Application

Lifecycle• Add-on Support• Monitoring

Page 8: Building a Platform-as-a-Service with Docker and Node.js
Page 9: Building a Platform-as-a-Service with Docker and Node.js

Docker Features

• Images• Communi

ty• Registry• Container

s

Page 10: Building a Platform-as-a-Service with Docker and Node.js

Personal PlatformsFlyn

n

Dokku

Deis

Page 11: Building a Platform-as-a-Service with Docker and Node.js

borealis

http://github.com/borealis-io/borealis

Page 12: Building a Platform-as-a-Service with Docker and Node.js

Borealis Components

• Routing• Logging• Host API• Deploym

ent

Page 13: Building a Platform-as-a-Service with Docker and Node.js

Why use Node?• Event loop• HTTP• JSON• Rich module

ecosystem• We know it, and so do

you.

Page 14: Building a Platform-as-a-Service with Docker and Node.js

Challenges

• Routing between containers

• SSH WTF???• $ man iptables• Docker API quirks

Page 15: Building a Platform-as-a-Service with Docker and Node.js

Future Work• User Management• Application

Lifecycle• Better deploy

strategy• Scale out

Page 16: Building a Platform-as-a-Service with Docker and Node.js
Page 17: Building a Platform-as-a-Service with Docker and Node.js

Thanks!

https://github.com/borealis-io/borealis

Current contributors:

@kevinswiber@mdobs@AdamMagaluk