state of the art containerized nodejs

14
July 25, 2016 State of the Art Containerized Node.js Ross Kukulinski

Upload: ross-kukulinski

Post on 11-Jan-2017

76 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: State of the Art Containerized Nodejs

July 25, 2016

State of the Art Containerized Node.js

Ross Kukulinski

Page 2: State of the Art Containerized Nodejs

© 2016 Ross Kukulinski#NeedToNode

2

@RossKukulinski Product Manager — NodeSource

Node.js Evangelist

Container Advocate

Introduction to CoreOS - O’Reilly Media

Welcome

Page 3: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential

Welcome

3

Today’s plan • Container Orchestration for Node.js

• Deploy Node.js to Kubernetes

Page 4: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential4

Containers + Node.js = Happy Ops • Immutability

• Explicit Dependencies

• Fast boot & restart

• Scale at process level

Happy Ops

Page 5: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential5

If your architecture looks like this: Manage Docker applications with Ansible or ECS/Docker Swarm

Container Orchestration

Page 6: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential6

If it looks like this… We need some orchestration help

Container Orchestration

Page 7: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential

Orchestration Overview

7

Container Orchestration • Schedule containers to physical machines

• Service discovery

• Configuration/Secret Management

• Private container network

• Scale up and down

Page 8: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential

Kubernetes 101

8

Page 9: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential

Kubernetes Overview

9

Kubernetes is an open source system for automating

deployment, scaling, and management of containerized

applications

Page 10: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential

Kubernetes Overview

10

Kubernetes + Node.js = Happy Devs/DevOps • Excels at microservice / distributed architectures

• Enables expedited shipping of new Node services

• Automated rollouts and rollbacks

• Service discovery and load balancing

• Secret and configuration management

• Horizontal application scaling

Page 11: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential

Let’s ship to Kubernetes right now!

11

Page 12: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential

Deploying Node with Kubernetes

12

github.com/rosskukulinski/n2n-docker

Page 13: State of the Art Containerized Nodejs

© 2016 NodeSource Confidential

Summary

13

Quick recap • Docker ideal distribution mechanism for Node.js applications

• Leverage best-practices when building Docker images

• Kubernetes provides efficient orchestration, management, and scaling of containerized Node.js Services

Page 14: State of the Art Containerized Nodejs

Stay in touch!Ross Kukulinski

[email protected]

@RossKukulinski