Node.js and Containers Go Together Like Peanut Butter and Jelly

20
©2016 NodeSource @RossKukulinski Page Title 1

Transcript of Node.js and Containers Go Together Like Peanut Butter and Jelly

©2016 NodeSource @RossKukulinski

Page Title

1

©2016 NodeSource @RossKukulinski

Node.js and Containers Go Together Like Peanut Butter and Jelly

Ross Kukulinski, NodeSource

©2016 NodeSource @RossKukulinski3

©2016 NodeSource @RossKukulinski

Welcome

4

Ross Kukulinski

Product Manager @ NodeSource

Node.js Evangelism WG

Introduction to CoreOS - O’Reilly Media

©2016 NodeSource @RossKukulinski5

Welcome

Today’s Roadmap • Why Node & Containers

• Container Orchestration

• Deploy Node.js using Kubernetes

©2016 NodeSource @RossKukulinski

Why Node & Containers?

6

©2016 NodeSource @RossKukulinski7

Business Goals

Businesses need to innovate faster • Reduce time-to-market

• Rapid feedback from users

• Build better products & services

• PROFIT!

©2016 NodeSource @RossKukulinski

Node.js & Containers Accelerate Innovation

8

©2016 NodeSource @RossKukulinski9

Why Node & Containers

They excel in three key areas • Performance

• Packaging

• Scalability

©2016 NodeSource @RossKukulinski10

Performance

Node.js • Developer productivity (& joy!)

• C10K Solution

Containers • Low overhead

• Enables developers to own deployment

©2016 NodeSource @RossKukulinski11

Packaging

Node.js • Leverage extensive module ecosystem

• Explicit application dependency manifest

• Repeatable dependency installation

Containers • Explicit build manifest

• Immutable build artifact

• Run anywhere

©2016 NodeSource @RossKukulinski12

Scalability

Node.js • Scales at the process level

• Fast boot time

• High concurrency

Containers • Scale at the process level

• Fast boot time

• Scaling not tightly tied to cloud-provider

©2016 NodeSource @RossKukulinski

Containers & Node make Developers & Businesses

Happy

13

©2016 NodeSource @RossKukulinski

OK! So I’ve containerized all the things… now what?

14

©2016 NodeSource @RossKukulinski15

If your architecture looks like this

Mange your containers with Ansible, Docker Swarm, ECS, etc.

©2016 NodeSource @RossKukulinski16

If your architecture looks like this

You need orchestration help

©2016 NodeSource @RossKukulinski

Kubernetes is an open source system for

automating deployment, scaling, and management of containerized applications

Kubernetes 101

17

©2016 NodeSource @RossKukulinski18

Kubernetes 101

Kubernetes Orchestration • Schedules containers to physical machines

• Service discovery & load balancing

• Horizontal application scaling

• Automated rollouts & rollbacks

• Secret and configuration management

• … and a whole lot more!

©2016 NodeSource @RossKukulinski

Let’s ship to Kubernetes right now!

19

Thank you.Ross Kukulinski

[email protected]@RossKukulinski