SlideShare a Scribd company logo
Using Docker and Elastic
Beanstalk in Production
Taking the leap from the Monolithic application to service oriented architecture.
Quick Survey!
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
PIVOT TIME!
2006
Social Network for reviewing
businesses!
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
We Sucked!
Using Docker and Elastic Beanstalk in Production
Time to Pivot!
2011
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Business is good. But we’ve got Tech Debt!
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
EC2
MYSQL MYSQL MYSQL
RDS
Using Docker and Elastic Beanstalk in Production
SOA
Monolithic Architecture
Service Oriented Architecture
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
From Pets to Cattle to Bacteria
to
to
Pets vs Cattle
VS
Pets:
- Server typically on site, own and maintain
- Server tied to App
- Named (universe, saturn, pluto)
Cattle:
- Improved Resource utilization
- Typically off site
- Vendor Maintained
- Problems? Just delete.
- Done? Delete
Pets vs Cattle
VS
Cattle:
- VMs are “Heavyweight”
- Images are hard to upload
- Not Portable
- Typically “Long Lived”
Bacteria:
- Lightweight (can be just one process)
- A process isolator
- Alive for minutes
So why use Docker?
reproducibility
What Is Docker?
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production
Docker containers
Docker containers are similar to a
directory. A Docker container holds
everything that is needed for an
application to run. Each container is
created from a Docker image. Docker
containers can be run, started, stopped,
moved, and deleted. Each container is an
isolated and secure application platform.
Docker containers are the runcomponent
of Docker.
Docker images
A Docker image is a read-only template.
For example, an image could contain an
Ubuntu operating system with Apache
and your web application installed.
Images are used to create Docker
containers. Docker provides a simple way
to build new images or update existing
images, or you can download Docker
images that other people have already
created. Docker images are the build
component of Docker.
BUILD RUN
Docker Files
Using Docker and Elastic Beanstalk in Production
Build Vs Run
Docker Hub
Docker Hub to Elastic Beanstalk credentials
on S3
Configuring and launching to Elastic
Beanstalk.
Health Checks should check your
application, not Nginx
Remember Nginx is in front of your
container on EB
Node.js Specific Notes For Production
Supervisor Conf
[supervisord]
nodaemon=true
[program:grunt]
command=grunt
autorestart=true
Dockerfile
#Install Supervisor
RUN apt-get install -y supervisor
RUN mkdir -p /var/log/supervisor
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
#Switch to the container local version of the application
WORKDIR /usr/src/app
#TEll docker what port to look at for your app
EXPOSE 5000
#Start the Application
CMD ["/usr/bin/supervisord"]
Application monitoring, Needs to be external
Using Docker and Elastic Beanstalk in Production
SWAGGER + API-GATEWAY
Using Docker and Elastic Beanstalk in Production
Using Docker and Elastic Beanstalk in Production

More Related Content

PPTX
Docker - A container full of Chocolatey
PDF
Back to the Future: Containerize Legacy Applications - Rob Tanner, Northern T...
PPTX
Setup a Dev environment that feels like $HOME on Windows 10
PPTX
Let's talk Windows Containers on Windows Server 2019
PDF
Docker Tooling for Eclipse
PPTX
Azure Container Services
PPTX
Inside Microsoft Azure
PDF
Divide and Conquer: Easier Continuous Delivery using Micro-Services
Docker - A container full of Chocolatey
Back to the Future: Containerize Legacy Applications - Rob Tanner, Northern T...
Setup a Dev environment that feels like $HOME on Windows 10
Let's talk Windows Containers on Windows Server 2019
Docker Tooling for Eclipse
Azure Container Services
Inside Microsoft Azure
Divide and Conquer: Easier Continuous Delivery using Micro-Services

What's hot (20)

PDF
SF DevOps: Introducing Vagrant
PDF
Using Docker for Testing
PPTX
vodQA(Pune) 2018 - Visual testing of web apps in headless environment manis...
PDF
Practical Docker for OpenStack - NYC / PHL OpenStack meetup (4-23-2014)
PDF
DockerCon SF 2015: Scaling New Services
PDF
Containerize Your Game Server for the Best Multiplayer Experience
PDF
Dynamic test environments with docker, ansible container and open shift
PDF
Elastic jenkins with mesos and dcos (2016 01-20)
PDF
Baking Docker Using Chef
PPTX
Seven Habits of Highly Effective Jenkins Users (2014 edition!)
PDF
Continuous Delivery in Enterprise Environments using Docker, Ansible and Jenkins
PPTX
Jenkins and AWS DevOps Tools
PDF
Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...
PDF
PPTX
Docker on Windows and Linux - Red Shirt Dev Tour
PPTX
vodQA(Pune) 2018 - Docker in Testing
PDF
Docker management
PPTX
IP EXPO London 2017: Modernizing Traditional Apps with Docker
PPTX
Automating Dev Environment - Introduction to Docker and Chef
PDF
Quick and Solid - Baremetal on OpenStack | Rico Lin
SF DevOps: Introducing Vagrant
Using Docker for Testing
vodQA(Pune) 2018 - Visual testing of web apps in headless environment manis...
Practical Docker for OpenStack - NYC / PHL OpenStack meetup (4-23-2014)
DockerCon SF 2015: Scaling New Services
Containerize Your Game Server for the Best Multiplayer Experience
Dynamic test environments with docker, ansible container and open shift
Elastic jenkins with mesos and dcos (2016 01-20)
Baking Docker Using Chef
Seven Habits of Highly Effective Jenkins Users (2014 edition!)
Continuous Delivery in Enterprise Environments using Docker, Ansible and Jenkins
Jenkins and AWS DevOps Tools
Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...
Docker on Windows and Linux - Red Shirt Dev Tour
vodQA(Pune) 2018 - Docker in Testing
Docker management
IP EXPO London 2017: Modernizing Traditional Apps with Docker
Automating Dev Environment - Introduction to Docker and Chef
Quick and Solid - Baremetal on OpenStack | Rico Lin
Ad

Similar to Using Docker and Elastic Beanstalk in Production (20)

PPTX
Docker In Brief
PPTX
ma-formation-en-Docker-jlklk,nknkjn.pptx
PDF
Introduction to Docker - VIT Campus
PDF
Docker intro
PDF
Introduction to Docker - Vellore Institute of Technology
PDF
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PDF
Journey to the devops automation with docker kubernetes and openshift
PDF
Demystifying Docker
PPTX
Demystifying Docker101
PDF
Shipping NodeJS with Docker and CoreOS
PDF
Docker Oxford launch - Introduction to Docker
PPTX
Container on azure
PDF
DevOps Fusion 2019: Docker - Why the future takes place in containers
PDF
Docker for Developers
PDF
Docker - Frank Maounis
PDF
A Shift from Monolith to Microservice using Docker
PPTX
Dockerizing mule soft esb
PDF
Containers, Docker, and Microservices: the Terrific Trio
PPTX
Docker - Portable Deployment
Docker In Brief
ma-formation-en-Docker-jlklk,nknkjn.pptx
Introduction to Docker - VIT Campus
Docker intro
Introduction to Docker - Vellore Institute of Technology
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
Journey to the devops automation with docker kubernetes and openshift
Demystifying Docker
Demystifying Docker101
Shipping NodeJS with Docker and CoreOS
Docker Oxford launch - Introduction to Docker
Container on azure
DevOps Fusion 2019: Docker - Why the future takes place in containers
Docker for Developers
Docker - Frank Maounis
A Shift from Monolith to Microservice using Docker
Dockerizing mule soft esb
Containers, Docker, and Microservices: the Terrific Trio
Docker - Portable Deployment
Ad

Recently uploaded (20)

PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
System and Network Administraation Chapter 3
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
L1 - Introduction to python Backend.pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
history of c programming in notes for students .pptx
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
top salesforce developer skills in 2025.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
System and Network Administraation Chapter 3
VVF-Customer-Presentation2025-Ver1.9.pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
CHAPTER 2 - PM Management and IT Context
How to Choose the Right IT Partner for Your Business in Malaysia
Wondershare Filmora 15 Crack With Activation Key [2025
Softaken Excel to vCard Converter Software.pdf
wealthsignaloriginal-com-DS-text-... (1).pdf
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
L1 - Introduction to python Backend.pptx
How Creative Agencies Leverage Project Management Software.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
history of c programming in notes for students .pptx
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
top salesforce developer skills in 2025.pdf

Using Docker and Elastic Beanstalk in Production

  • 1. Using Docker and Elastic Beanstalk in Production Taking the leap from the Monolithic application to service oriented architecture.
  • 7. PIVOT TIME! 2006 Social Network for reviewing businesses!
  • 20. Business is good. But we’ve got Tech Debt!
  • 28. From Pets to Cattle to Bacteria to to
  • 29. Pets vs Cattle VS Pets: - Server typically on site, own and maintain - Server tied to App - Named (universe, saturn, pluto) Cattle: - Improved Resource utilization - Typically off site - Vendor Maintained - Problems? Just delete. - Done? Delete
  • 30. Pets vs Cattle VS Cattle: - VMs are “Heavyweight” - Images are hard to upload - Not Portable - Typically “Long Lived” Bacteria: - Lightweight (can be just one process) - A process isolator - Alive for minutes
  • 31. So why use Docker? reproducibility
  • 36. Docker containers Docker containers are similar to a directory. A Docker container holds everything that is needed for an application to run. Each container is created from a Docker image. Docker containers can be run, started, stopped, moved, and deleted. Each container is an isolated and secure application platform. Docker containers are the runcomponent of Docker. Docker images A Docker image is a read-only template. For example, an image could contain an Ubuntu operating system with Apache and your web application installed. Images are used to create Docker containers. Docker provides a simple way to build new images or update existing images, or you can download Docker images that other people have already created. Docker images are the build component of Docker. BUILD RUN
  • 41. Docker Hub to Elastic Beanstalk credentials on S3
  • 42. Configuring and launching to Elastic Beanstalk.
  • 43. Health Checks should check your application, not Nginx
  • 44. Remember Nginx is in front of your container on EB
  • 45. Node.js Specific Notes For Production Supervisor Conf [supervisord] nodaemon=true [program:grunt] command=grunt autorestart=true Dockerfile #Install Supervisor RUN apt-get install -y supervisor RUN mkdir -p /var/log/supervisor COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf #Switch to the container local version of the application WORKDIR /usr/src/app #TEll docker what port to look at for your app EXPOSE 5000 #Start the Application CMD ["/usr/bin/supervisord"]