1. 2017 Newt Global |www.NewtGlobal.com | Confidential
Follow us on:
Docker In Production Webinar
2. Newt Global Overview
Leader in DevOps Transformation, Test Automation and Cloud
Implemented end-to-end DevOps tool chains for Fortune 50
Global Delivery Capability for any shore solution
Premium Level partnership with product companies
Reusable framework and libraries for faster delivery
Delivering cost optimization & measurable ROI consistently
over a decade
3/24/2017 Copyright 3
• Venkat is DevOps Practice Leader, His area of expertise includes DevOps and
Cloud. Consult Fortune 100 customers on DevOps IT Strategy. Responsible
for building the global pre-sales, consulting and delivery team for Newt
• He has 16+ years of IT industry experience and delivered multiple enterprise
scale projects for Fortune 500 customer base
DevOps, Practice Leader Newt
• AWS solution specialist, DevOps strategist. Area of expertise includes AWS
infrastructure management and architectural design, Docker container
management solution, DevOps strategy for automation, Ansible scripter for
automation, Jenkins work practice for design architecture. Responsible for
AWS management, Docker management and DevOps automation works with
jenkins and ansible
• Industry experience of 6+ years in IT and worked on 24 projects with smooth
deliverables for enterprise clients
AWS Solution Specialist
4. Newt Global Overall Offerings
Onboarding Zone Engineering Zone Re-Architecture Zone
Consulting Tool chain
Intelligent # Tag
code. Spin up/down
manage it as code
Assessment of application
Data Migration services
Micro services based
Engagements at various levels of maturity
To enable instant change deployment
Accelerate time to market
Shorten the development to
Reduce downtime during deployment &
errors caused by manual intervention
Optimize tooling expenditure, increase
5. Docker in production 1/2
Quick deployment One of the key features of Docker is its ease of deployment.
Containers can be deployed quickly and managed using orchestration tools such as Docker
Swarm or Kubernetes.
Resource Management Resource management is a very crucial aspect in Docker systems.
Host machine resources such as CPU, memory, I/O, etc. are shared among the containers.
Over time, traffic spikes can happen and containers may face resource shortage.
Not having enough resources can cause containers to crash, thus disrupting the business.
Backup management Backups are vital for any live server. Disasters may strike any moment unexpectedly and an
unavailable website can lead to a loss of business income.
Having backups handy, helps to ensure business continuity and to minimize the downtime.
We maintain custom scripts to backup and restore the container data.
6. Docker in production 2/2
System security By default, Docker containers cannot be accessed from the external network. But when using docker in
production, many applications require to be accessed externally.
This is done by exposing Docker container ports by mapping them to the host machine’s port. But when ports
are exposed, security issues tag along with it.
Container monitoring Uptime and availability of production servers are crucial for online businesses. But high traffic, abusive users
or vulnerable applications can cause containers to crash.
To timely identify crashes and resolve them to ensure uptime, an effective Docker monitoring system such as
The main components of a Docker infrastructure are the data storage for storing the container data and the
image repository for saving Docker images.
In Docker, the data stored in the containers would be lost upon restart. To retain the data and to make the
system scalable, we configure persistent data storage using data volumes.
Many applications and services require customized Docker images for their business. Keeping these images
up-to-date with patches is crucial for Docker security.
7. Housekeeping Instructions
• All phones are set to mute. If you have any questions, please type them in the Chat window located beside the
• We have already received several questions from the registrants, which will be answered by the speakers during
the Q & A session
• We will continue to collect more questions during the session as we receive and will try to answer them during
• In case if you do not receive answers to your question today, you will certainly receive answers via email shortly
• Thanks for your participation and enjoy the session!
3/24/2017 Copyright 7
9. Continuous Availability of Services
Docker is all about the high and reliable service to the end user.
Failover setup and sequential execution is at priority for the web applications in HA
Docker is all about resource utilization and saves good quantity of time used for
Docker deployments are easier and cross platform.
Docker container porting is simplified with the docker hub.
Docker management is handled container management solutions.
10. Docker Swarm - Features
Docker-native clustering system
Pool of Docker hosts into a single, virtual host.
Secure by default
Cluster management integrated with Docker Engine
Define the desired state of the various services in the application stack.
11. Swarm mode CLI - Production
12. Swarm – setup
AWS architecture supports terraform for the rolling update and integrates the
swarm mode configuration inside a AWS VPC.
13. Service Automate – docker
Updating A Service Using Its Image Hash
Stack deployment is being made on automation
Docker service deployment with create and update commands
Lets look into the redis service deployment.
• We will have a simplified cluster formation in the AWS environment using Jenkins and terraform.
15. Kubernetes - Pods
Pod is one or more container
Ensures co-location / shared fate
Pods are scheduled, then do not move between nodes
• Port Space
• CPU / Memory allocation