Download - Docker with devops program
1
Confidential | Copyright © L&T Technology Services
13/02/17 | AuthorConfidential | Copyright © L&T IES
Confidential | Copyright © L&T Technology Services
Feb 1, 2017
Dockerisation of server code with auto scalingBy Skylab Vanga
2
Confidential | Copyright © L&T Technology Services
What is DockerDocker 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
Couch-DB Cotainer
REST Api Server Container A
REST Api
Server Container B
REST Api Server Container B
DockerSource Code
Repository
Docker Cloud Image
Registory/Services, Auto-ScalingPush the Images
Host-2 OS (Linux)
Docker Engine
Container A
Container B
Container N
SearchPull 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 infrastructureFeatures 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
ToolsJira : For Work Item managementGitHub/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
l Docker Images List
l Docker 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