1
Confidential | Copyright © L&T Technology Services
13/02/17 | Author
Confidential | Copyright © L&T IES
Confidential | Copyright © L&T Technology Services
Feb 1, 2017
Dockerisation of server code with auto scaling
By Skylab Vanga
2
Confidential | Copyright © L&T Technology Services
What is Docker
Docker is an open-source project that automates the deployment
of applications inside software containers. It provides a additional
layer of abstraction and automation of OS level virtualization on Linux.
Provide a uniformed wrapper around a software package: «Build, Ship
and Run Any App, Anywhere.
Analogous to shipping containers: The container is always the same,
regardless of the contents and thus fits all modes of transport
3
Confidential | Copyright © L&T Technology Services
Docker vs. Virtual Machine
Containers are isolated, but share OS
and, Where appropriate, bins/libraries.
VM: You have a container image that is
1GB in size. If you wanted to use a Full
VM, you would need to have 1GB times x
number of VMs you want.
Docker: With LXC (Linux Container)
you can share the bulk of the 1GB, It
means that if you have 1000 containers
you still might only have a little over 1GB
of space for the containers OS, assuming
they are all running the same OS image.
4
Confidential | Copyright © L&T Technology Services
REST Api Server on Docker Cloud.
Host-1 OS (linux)
Docker Engine
CouchDB/REST Api-
Server Docker Images
C
ou
ch
-
D
B
C
ot
ai
ne
r
RE
ST
A
pi
Se
rv
er
C
on
ta
in
er
A
RE
ST
A
pi
Se
rv
er
C
on
ta
in
er
B
RE
ST
A
pi
Se
rv
er
C
on
ta
in
er
B
Docker
Source
Code
Reposito
ry
Docker Cloud Image
Registory/Services,
Auto-ScalingPush the Images
Host-2 OS (Linux)
Docker Engine
C
on
ta
in
er
A
C
on
ta
in
er
B
C
on
ta
in
er
N
Search
Pull and Run
5
Confidential | Copyright © L&T Technology Services
Key Achievement’s
Scope
Create a build using Docker platform and Docker Cloud for automatic deployment with any number of
containers.
Customizable for smart deployments and scaling with zero downtime.
Ease of deployment of server code
Search, Push and Pull the container anywhere in the world
Run CD/CI on cloud infrastructure
Features
Modeling of users’ code and easy to deploy using docker repository server.
Add-on Autoscaling based on CPU and RAM utilization.
Light weight IaaS.
Benefits to Client
Easy deployment of code to cloud
Optimal infrastructure usage
Environment Standardization and Version Control.
Simplicity and faster configurations with Increased productivity Rapid Deployment
Low memory foot print
6
Confidential | Copyright © L&T Technology Services
Devops Process for REST Api Server
CI/CD using with DevOps
Tools
Jira : For Work Item management
GitHub/GitLab: It is a issue tracking features and code management tool.
Jenkins: Using for CI/CD.
Docker Registry: For Docker Images management.
7
Confidential | Copyright © L&T Technology Services
Results
lDocker Images List
lDocker Containers List
8
Confidential | Copyright © L&T Technology Services
Confidential | Copyright © L&T Technology Services
THANK YOU
The contents of this document are the sole and exclusive property of L&T Technology Services. They may not be disclosed to any third party, copied or reproduced in any form or used for
any purpose, other than that for which they were provided, without the permission of L&T Technology Services.
8
Confidential | Copyright © L&T Technology Services

Docker with devops program

  • 1.
    1 Confidential | Copyright© L&T Technology Services 13/02/17 | Author Confidential | Copyright © L&T IES Confidential | Copyright © L&T Technology Services Feb 1, 2017 Dockerisation of server code with auto scaling By Skylab Vanga
  • 2.
    2 Confidential | Copyright© L&T Technology Services What is Docker Docker is an open-source project that automates the deployment of applications inside software containers. It provides a additional layer of abstraction and automation of OS level virtualization on Linux. Provide a uniformed wrapper around a software package: «Build, Ship and Run Any App, Anywhere. Analogous to shipping containers: The container is always the same, regardless of the contents and thus fits all modes of transport
  • 3.
    3 Confidential | Copyright© L&T Technology Services Docker vs. Virtual Machine Containers are isolated, but share OS and, Where appropriate, bins/libraries. VM: You have a container image that is 1GB in size. If you wanted to use a Full VM, you would need to have 1GB times x number of VMs you want. Docker: With LXC (Linux Container) you can share the bulk of the 1GB, It means that if you have 1000 containers you still might only have a little over 1GB of space for the containers OS, assuming they are all running the same OS image.
  • 4.
    4 Confidential | Copyright© L&T Technology Services REST Api Server on Docker Cloud. Host-1 OS (linux) Docker Engine CouchDB/REST Api- Server Docker Images C ou ch - D B C ot ai ne r RE ST A pi Se rv er C on ta in er A RE ST A pi Se rv er C on ta in er B RE ST A pi Se rv er C on ta in er B Docker Source Code Reposito ry Docker Cloud Image Registory/Services, Auto-ScalingPush the Images Host-2 OS (Linux) Docker Engine C on ta in er A C on ta in er B C on ta in er N Search Pull and Run
  • 5.
    5 Confidential | Copyright© L&T Technology Services Key Achievement’s Scope Create a build using Docker platform and Docker Cloud for automatic deployment with any number of containers. Customizable for smart deployments and scaling with zero downtime. Ease of deployment of server code Search, Push and Pull the container anywhere in the world Run CD/CI on cloud infrastructure Features Modeling of users’ code and easy to deploy using docker repository server. Add-on Autoscaling based on CPU and RAM utilization. Light weight IaaS. Benefits to Client Easy deployment of code to cloud Optimal infrastructure usage Environment Standardization and Version Control. Simplicity and faster configurations with Increased productivity Rapid Deployment Low memory foot print
  • 6.
    6 Confidential | Copyright© L&T Technology Services Devops Process for REST Api Server CI/CD using with DevOps Tools Jira : For Work Item management GitHub/GitLab: It is a issue tracking features and code management tool. Jenkins: Using for CI/CD. Docker Registry: For Docker Images management.
  • 7.
    7 Confidential | Copyright© L&T Technology Services Results lDocker Images List lDocker Containers List
  • 8.
    8 Confidential | Copyright© L&T Technology Services Confidential | Copyright © L&T Technology Services THANK YOU The contents of this document are the sole and exclusive property of L&T Technology Services. They may not be disclosed to any third party, copied or reproduced in any form or used for any purpose, other than that for which they were provided, without the permission of L&T Technology Services. 8 Confidential | Copyright © L&T Technology Services

Editor's Notes