SlideShare a Scribd company logo
@RossKukulinski
Building a SaaS with
NodeJS, Docker, and
CoreOS
London Node Users’ Group
March 25, 2015
@RossKukulinski
@RossKukulinski
Yodlr Founder / CEO
BayNode Co-Organizer
Soccer Fanatic
rossk on Freenode
@RossKukulinski
What I’m going to Cover
• Our story
• Why Docker & CoreOS
• Tips & Tricks
Building a SaaS with Nodejs, Docker, and CoreOS
@RossKukulinski
The internal tool that wasn’t
internal anymore
@RossKukulinski
12factor.net
@RossKukulinski
Our Goals
• Reduce application complexity (do one thing well!)
• Run multiple versions of the same app
• Consistent app from dev → test → staging → prod
• Scalable
• Fault tolerant
• Minimize time spent doing ‘devops’
@RossKukulinski
Docker
@RossKukulinski
VM vs Docker
https://docker.com/whatisdocker/
@RossKukulinski
• Containers start quickly
• Containers have small footprint
• “Dockerized” applications run anywhere
• Fast builds via cached images
• Registry for storing images from build pipeline
• Images can be stacked
• Abstracts app networking from system networking
@RossKukulinski
Our Goals
• Reduce application complexity (do one thing well!)
• Run multiple versions of the same app
• Consistent app from dev → test → staging → prod
• Scalable
• Fault tolerant
• Minimize time spent doing ‘devops’
@RossKukulinski
How do you ship
docker containers?
Bash scripts (ugh)
Ansible / Puppet / Chef
Docker Swarm (just released)
@RossKukulinski
Linux for Massive Server Deployments
@RossKukulinski
• Minimal Operating System
• Automated software updates
• Runs docker containers
• Supported by all major cloud
providers
• Can also run on bare metal
https://coreos.com/
@RossKukulinski
Fault Tolerant
• Clustered by default
• Support for multiple HA zones
• Distributed tools like etcd & fleet
• HTTP Key-Value Store
• Service Discovery
• Application Scheduling
https://coreos.com/
@RossKukulinski
Scalable
https://coreos.com/
@RossKukulinski
Goals
• Reduce application complexity (do one thing well!)
• Run multiple versions of the same app
• Consistent app from dev → test → staging → prod
• Scalable
• Fault tolerant
• Minimize time spent doing ‘devops’
@RossKukulinski
Now for the good stuff
Let’s talk tips & tricks
@RossKukulinski
Dockerizing NodeJS
App
Building a SaaS with Nodejs, Docker, and CoreOS
@RossKukulinski
Docker Compose
https://coreos.com/
@RossKukulinski
Booting CoreOS
@RossKukulinski
Booting CoreOS Cluster
• Most frustrating part of the whole experience
• RTFM re: cloud_config.yml
• Use Ansible for easy provisioning
• Great resources:
• https://coreos.com/docs/
• https://www.digitalocean.com/community/
tutorial_series/getting-started-with-coreos-2
@RossKukulinski
npm install -g coreos-cluster-cli
@RossKukulinski
Service Discovery
“Sidekick Pattern”
http://tinyurl.com/redis-sk
@RossKukulinski
Confd
• https://github.com/kelseyhightower/confd
• Monitors etcd for changes to key:value pairs
• Writes updated config file based on Go template
• We use with nginx, could be anything!
http://tinyurl.com/redis-sk
@RossKukulinski
Monitoring CoreOS
with
https://github.com/yodlr/CoreGI
https://github.com/yodlr/CoreGI
@RossKukulinski
Continuous Deployment
with Paz
http://paz.sh
http://www.paz.sh/
@RossKukulinski
Other Tools
• Kubernetes (Powers Google Container Engine)
• Deis (Open-source heroku clone)
• Vulcan Proxy (https://vulcand.io/)
@RossKukulinski
etcd is a database

treat it like one
@RossKukulinski
Docker & CoreOS are the
future for application
development and
deployment
Write that down
@RossKukulinski
Thanks!
Questions?

More Related Content

What's hot (20)

PDF
DockerCon SF 2015: DHE/DTR
Docker, Inc.
 
PPTX
DockerCon 15 Keynote - Day 2
Docker, Inc.
 
PDF
DockerCon SF 2015: Ben Golub's Keynote Day 1
Docker, Inc.
 
PDF
Making it Easier to Contribute to Open Source Projects Using Docker Container...
Docker, Inc.
 
PPTX
Dell Trials and Triumphs using Docker on Client Systems by Sean McGinnis and ...
Docker, Inc.
 
PPTX
Introduction to Docker
Pubudu Jayawardana
 
PDF
On Prem Container Cloud - Lessons Learned
CodeOps Technologies LLP
 
PPTX
DevOps, Microservices, and Azure Container Service
David Tesar
 
PPTX
Structured Container Delivery by Oscar Renalias, Accenture
Docker, Inc.
 
PDF
DockerCon SF 2015: Docker at Lyft
Docker, Inc.
 
PPTX
ACM Gazi Docker?
kloia
 
PDF
DCSF19 Container Security: Theory & Practice at Netflix
Docker, Inc.
 
PPTX
Azure kubernetes service
Vishwas N
 
ODP
Practical Container Security by Mrunal Patel and Thomas Cameron, Red Hat
Docker, Inc.
 
PDF
Your Auto-Scaling Bot - Volkan Tufecki
Docker, Inc.
 
PDF
DockerCon SF 2015: From Months to Minutes
Docker, Inc.
 
PDF
Intro to docker - innovation demo 2022
Hussain Mansoor
 
PDF
DockerDay2015: Microsoft and Docker
Docker-Hanoi
 
PDF
Immutable Awesomeness by John Willis and Josh Corman
Docker, Inc.
 
PDF
DCEU 18: Desigual Transforms the In-Store Experience with Docker Enterprise C...
Docker, Inc.
 
DockerCon SF 2015: DHE/DTR
Docker, Inc.
 
DockerCon 15 Keynote - Day 2
Docker, Inc.
 
DockerCon SF 2015: Ben Golub's Keynote Day 1
Docker, Inc.
 
Making it Easier to Contribute to Open Source Projects Using Docker Container...
Docker, Inc.
 
Dell Trials and Triumphs using Docker on Client Systems by Sean McGinnis and ...
Docker, Inc.
 
Introduction to Docker
Pubudu Jayawardana
 
On Prem Container Cloud - Lessons Learned
CodeOps Technologies LLP
 
DevOps, Microservices, and Azure Container Service
David Tesar
 
Structured Container Delivery by Oscar Renalias, Accenture
Docker, Inc.
 
DockerCon SF 2015: Docker at Lyft
Docker, Inc.
 
ACM Gazi Docker?
kloia
 
DCSF19 Container Security: Theory & Practice at Netflix
Docker, Inc.
 
Azure kubernetes service
Vishwas N
 
Practical Container Security by Mrunal Patel and Thomas Cameron, Red Hat
Docker, Inc.
 
Your Auto-Scaling Bot - Volkan Tufecki
Docker, Inc.
 
DockerCon SF 2015: From Months to Minutes
Docker, Inc.
 
Intro to docker - innovation demo 2022
Hussain Mansoor
 
DockerDay2015: Microsoft and Docker
Docker-Hanoi
 
Immutable Awesomeness by John Willis and Josh Corman
Docker, Inc.
 
DCEU 18: Desigual Transforms the In-Store Experience with Docker Enterprise C...
Docker, Inc.
 

Viewers also liked (18)

PPTX
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
MongoDB
 
PPTX
Docker Based SaaS Platform - Case Study
WaveMaker, Inc.
 
PPTX
Multi tenancy - Wining formula for a PaaS
WSO2
 
PPTX
Lessons Learned from Building a Multi-Tenant Saas Content Management System o...
MongoDB
 
PDF
Developing Software As A Service App with Python & Django
Allan Mangune
 
PDF
Design in Tech Report 2017
John Maeda
 
PDF
Dockerizing IoT Services
msyukor
 
PPTX
How to build a SaaS solution in 60 days
Brett McLain
 
PPTX
Containers #101 Meetup: Building a micro-service using Node.js and Docker - P...
Codefresh
 
PDF
Developing multi tenant applications for the cloud 3rd edition
David J Rosenthal
 
PPTX
How to build, manage and operate a successful saas business
kanimozhin
 
PDF
API Microservices with Node.js and Docker
Apigee | Google Cloud
 
PDF
SmartCity IoT on Kubernetes and OpenStack
Jakub Pavlik
 
PPTX
The API Facade Pattern: Overview - Episode 1
Apigee | Google Cloud
 
PDF
Node Foundation Membership Overview 20160907
NodejsFoundation
 
PDF
Docker on Raspberry Pi and CoreOS
Philip Zheng
 
PPTX
Tectonic Summit 2016: Brandon Philips, CTO of CoreOS, Keynote
CoreOS
 
PDF
Présentation CoreOS
gcatt
 
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
MongoDB
 
Docker Based SaaS Platform - Case Study
WaveMaker, Inc.
 
Multi tenancy - Wining formula for a PaaS
WSO2
 
Lessons Learned from Building a Multi-Tenant Saas Content Management System o...
MongoDB
 
Developing Software As A Service App with Python & Django
Allan Mangune
 
Design in Tech Report 2017
John Maeda
 
Dockerizing IoT Services
msyukor
 
How to build a SaaS solution in 60 days
Brett McLain
 
Containers #101 Meetup: Building a micro-service using Node.js and Docker - P...
Codefresh
 
Developing multi tenant applications for the cloud 3rd edition
David J Rosenthal
 
How to build, manage and operate a successful saas business
kanimozhin
 
API Microservices with Node.js and Docker
Apigee | Google Cloud
 
SmartCity IoT on Kubernetes and OpenStack
Jakub Pavlik
 
The API Facade Pattern: Overview - Episode 1
Apigee | Google Cloud
 
Node Foundation Membership Overview 20160907
NodejsFoundation
 
Docker on Raspberry Pi and CoreOS
Philip Zheng
 
Tectonic Summit 2016: Brandon Philips, CTO of CoreOS, Keynote
CoreOS
 
Présentation CoreOS
gcatt
 
Ad

Similar to Building a SaaS with Nodejs, Docker, and CoreOS (20)

PDF
Shipping NodeJS with Docker and CoreOS (No Notes)
Ross Kukulinski
 
PDF
Introduction to containers a practical session using core os and docker
Alessandro Martellone
 
PPTX
Docker-N-Beyond
santosh007
 
PDF
From CoreOS to Kubernetes and Concourse CI
Denis Izmaylov
 
PDF
Introducción a Microservicios, SUSE CaaS Platform y Kubernetes
SUSE España
 
PDF
create auto scale jboss cluster with openshift
Yusuf Hadiwinata Sutandar
 
PDF
State of the Art Containerized Nodejs
Ross Kukulinski
 
PDF
Dockerize or die
Create Digital
 
PPTX
Containers Orchestration using kubernates.pptx
rani marri
 
PDF
Kubernetes and CoreOS @ Athens Docker meetup
Mist.io
 
PPTX
Docker for the enterprise
Bert Poller
 
PPTX
Understanding docker ecosystem and vulnerabilities points
Abdul Khan
 
PDF
Microservices Docker @Bonn Agile
Timo Derstappen
 
PDF
Docker in Production: How RightScale Delivers Cloud Applications
RightScale
 
PDF
IAU workshop 2018 day one
Walid Shaari
 
PDF
Docker-v3.pdf
Bruno Cornec
 
PDF
Triton + Docker, July 2015
Casey Bisson
 
PDF
Introduction to containers, k8s, Microservices & Cloud Native
Terry Wang
 
PPTX
Docker & aPaaS: Enterprise Innovation and Trends for 2015
WaveMaker, Inc.
 
PDF
Oscon Talk; 2014
Jesse Noller
 
Shipping NodeJS with Docker and CoreOS (No Notes)
Ross Kukulinski
 
Introduction to containers a practical session using core os and docker
Alessandro Martellone
 
Docker-N-Beyond
santosh007
 
From CoreOS to Kubernetes and Concourse CI
Denis Izmaylov
 
Introducción a Microservicios, SUSE CaaS Platform y Kubernetes
SUSE España
 
create auto scale jboss cluster with openshift
Yusuf Hadiwinata Sutandar
 
State of the Art Containerized Nodejs
Ross Kukulinski
 
Dockerize or die
Create Digital
 
Containers Orchestration using kubernates.pptx
rani marri
 
Kubernetes and CoreOS @ Athens Docker meetup
Mist.io
 
Docker for the enterprise
Bert Poller
 
Understanding docker ecosystem and vulnerabilities points
Abdul Khan
 
Microservices Docker @Bonn Agile
Timo Derstappen
 
Docker in Production: How RightScale Delivers Cloud Applications
RightScale
 
IAU workshop 2018 day one
Walid Shaari
 
Docker-v3.pdf
Bruno Cornec
 
Triton + Docker, July 2015
Casey Bisson
 
Introduction to containers, k8s, Microservices & Cloud Native
Terry Wang
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
WaveMaker, Inc.
 
Oscon Talk; 2014
Jesse Noller
 
Ad

More from Ross Kukulinski (10)

PDF
State of State in Containers - PHL Kubernetes
Ross Kukulinski
 
PDF
Architecting a Cloud Native Internet Archive
Ross Kukulinski
 
PDF
Kubernetes 101 for Developers
Ross Kukulinski
 
PDF
Workshop: Deploying and Scaling Node.js with Kubernetes
Ross Kukulinski
 
PDF
Introduction to Kubernetes
Ross Kukulinski
 
PDF
Node.js and Containers Go Together Like Peanut Butter and Jelly
Ross Kukulinski
 
PDF
Philly Tech Week Introduction to NodeJS
Ross Kukulinski
 
PDF
Yodlr Realtime Technology Stack
Ross Kukulinski
 
PDF
Building A SaaS with CoreOS, Docker, and Etcd
Ross Kukulinski
 
PPTX
BayNode Logging Discussion
Ross Kukulinski
 
State of State in Containers - PHL Kubernetes
Ross Kukulinski
 
Architecting a Cloud Native Internet Archive
Ross Kukulinski
 
Kubernetes 101 for Developers
Ross Kukulinski
 
Workshop: Deploying and Scaling Node.js with Kubernetes
Ross Kukulinski
 
Introduction to Kubernetes
Ross Kukulinski
 
Node.js and Containers Go Together Like Peanut Butter and Jelly
Ross Kukulinski
 
Philly Tech Week Introduction to NodeJS
Ross Kukulinski
 
Yodlr Realtime Technology Stack
Ross Kukulinski
 
Building A SaaS with CoreOS, Docker, and Etcd
Ross Kukulinski
 
BayNode Logging Discussion
Ross Kukulinski
 

Recently uploaded (20)

PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Digital Circuits, important subject in CS
contactparinay1
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 

Building a SaaS with Nodejs, Docker, and CoreOS