SlideShare a Scribd company logo
OpenStack with Docker
​
(Configure OpenStack with docker and deploy a three­tier application)
Team 17:
Ruchir Sharma 201405558
Priyanka Bajaj 201405540
Jaspreet Singh 201202078
Shikher Somal 201201091
Mentored By:
Vishrut Mehta
Docker and OpenStack
Container based Virtualisation framework.
Free of framework, platform dependencies.
An open platform to
build, ship and run
distributed
applications.
A cloud operating system that
controls large pools of compute,
storage, and networking resources
throughout a data center.
Why Docker?
➢ Docker Containers are lightweight and fast.
➢ Global image portability and delivery through Registry.
➢ Completeness of vision (Runtime, Configuration, Build,
Deployment, Orchestration).
➢ Dockerfiles provide flexible,repeatable image building
➢ Layered images / builds
Docker suitability for 3-tier
application
In a three ­tier application
➢The user interaction is managed by the presentation tier, which
provides an easy ­to ­operate front end.
➢The business rules are managed by the business tier, which controls
and operates the entire application framework.
➢The underlying data is stored and served by the data storage tier,
also known as data persistence.
Since, the three tiers are loosely coupled to each other, with
predetermined and stable interfaces. This decoupling allows for
significant changes to occur within the design, implementation and
scale of each tier, without impacting the other tiers.
Docker suitability for 3-tier
application (contd..)
➢ Docker suits this functionality really well, as it provides the
containers to remain in isolation from one another, while exposing
interfaces so containers can talk to each other.
➢ When the containers are created, the ­P flag is used to automatically
map any network port inside it to a random high port within an
ephermal port range on the Docker host.
➢ In case of three­ tier applications, the web tier can expose itself by
allowing clients to send requests to this port.
➢ While, the app tier would be responsible for handling all the logic
aspect for this, and thus allow the web tier to talk to the app tier, and
the app tier can then further talk to the database tier.
Example: running a container
heat_template_version: 2015­04­30
description: Simple template to deploy a single compute
instance
resources:
my_instance:
type: OS::Nova::Server
properties:
image: Fedora­Cloud­Base­20141203­21.x86_64
flavor: m1.nano
Nova Docker Architecture
➢ Docker registry is an
image proxy.
➢ Users can upload
through docker
registry or to glance
directly.
➢ Docker pulls images
through the docker
registry proxy.
Docker on OpenStack
Docker on OpenStack Havana
Nova supports Docker as a new hypervisor starting with the
Havana release
➢ Deploy containers instead of VM with the same API (Nova)
What is Heat?
➢ The OpenStack Heat service is used to orchestrate the
deployment and management composite infrastructure and
application stacks.
➢ The stacks are typically described in YAML documents
called Heat Orchestration Templates (HOT).
➢ The power of HOT lies in its ability to describe even
complex workload deployments in a fully declarative
fashion.
Docker plugin for Heat
By using the plugin, Heat can talk directly to Docker
Heat Workflow
Why using Heat directly?
➢ Heat as a standalone project for orchestration
➢ It allows to use the whole Docker API from a Heat
template
How to use it?
1. Install Heat with DevStack: https://wiki.openstack.
org/wiki/Heat/GettingStartedUsingDevstack
2. Install the Docker plugin
Creating a HOT file
1. Heat template specifies resources
2. Each resource is part of container
3. Specify the image of the container
4. Specify the environment variables that it may need
Sample HOT Templates – Nova
Server
● This template deploys a sing compute
Node on Fedora Image using Nova
HOT Template – Three Tier
Application
● Database tier – MYSQL
● Webapp server – Apache2
● Frontend Server - PHP
Database Resource
● Database resource as a mysqldb Docker
exposed at port 8888
Wordpress Resource
● Wordpress Resource as a Docker using
Database Resource at same port
Screenshots – Fedora Console
in Openstack
Screenshots – Wordpress
stack
Thank You !

More Related Content

PPTX
Quick Trip with Docker
PPTX
Docker - the what why and hows
PPTX
Docker
PDF
Docker architecture (version modified)
PPTX
Containerization & Docker - Under the Hood
PDF
Docker Architecture
PDF
Introdution to Docker (theory and hands on) dbCafé - dbTrento
PDF
Docker container basics and efficiency of Kubernetes
Quick Trip with Docker
Docker - the what why and hows
Docker
Docker architecture (version modified)
Containerization & Docker - Under the Hood
Docker Architecture
Introdution to Docker (theory and hands on) dbCafé - dbTrento
Docker container basics and efficiency of Kubernetes

What's hot (20)

PDF
Docker Container Introduction
PPTX
Docker introduction for the beginners
PDF
Michigan IT Symposium 2017 - Container BOF
PPTX
Intro docker and demo monitor on docker
PDF
Docker architecture(version modified)
PPTX
Docker Workshop
PPTX
PPTX
Docker intro
PDF
Dockers and kubernetes
PDF
Docker workshop
PPTX
Dev opsec dockerimage_patch_n_lifecyclemanagement_
PPTX
Docker and containerization
PDF
Docker linuxday 2015
PDF
Dessi docker kubernetes paas cloud
PPTX
Docker Global Hack Day #3
PPTX
Docker container a-brief_introduction_2016-01-30
PDF
Docker dDessi november 2015
PPTX
Docker Security
PDF
Master Docker - first meetup
PPTX
Docker 101 : Introduction to Docker and Containers
Docker Container Introduction
Docker introduction for the beginners
Michigan IT Symposium 2017 - Container BOF
Intro docker and demo monitor on docker
Docker architecture(version modified)
Docker Workshop
Docker intro
Dockers and kubernetes
Docker workshop
Dev opsec dockerimage_patch_n_lifecyclemanagement_
Docker and containerization
Docker linuxday 2015
Dessi docker kubernetes paas cloud
Docker Global Hack Day #3
Docker container a-brief_introduction_2016-01-30
Docker dDessi november 2015
Docker Security
Master Docker - first meetup
Docker 101 : Introduction to Docker and Containers
Ad

Similar to OpenStack with-docker-team-17 (20)

PPTX
Deploying a 3 tier application using docker
PDF
Orchestrating Docker with OpenStack
PDF
Practical Docker for OpenStack (Juno Summit - May 15th, 2014)
PDF
Docker OpenStack - 3/27/2014
PPTX
Docker OpenStack Cloud Foundry
PDF
Docker Plugin for Heat
PDF
Docker and OpenStack Boston Meetup
PDF
[Open stack] heat + docker
PDF
Best Practice for Deploying Application with Heat
PPTX
OpenStack Boston
PPTX
Docker open stack boston
PDF
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
PPTX
Private Cloud with Open Stack, Docker
PDF
Docker Plugin for Heat II
PDF
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
PDF
Application Deployment on Openstack
PPTX
Docker with OpenStack
PPTX
Docker for Multi-Cloud Apps
PPTX
Understanding the container landscape and it associated projects
PPTX
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Deploying a 3 tier application using docker
Orchestrating Docker with OpenStack
Practical Docker for OpenStack (Juno Summit - May 15th, 2014)
Docker OpenStack - 3/27/2014
Docker OpenStack Cloud Foundry
Docker Plugin for Heat
Docker and OpenStack Boston Meetup
[Open stack] heat + docker
Best Practice for Deploying Application with Heat
OpenStack Boston
Docker open stack boston
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Private Cloud with Open Stack, Docker
Docker Plugin for Heat II
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Application Deployment on Openstack
Docker with OpenStack
Docker for Multi-Cloud Apps
Understanding the container landscape and it associated projects
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Ad

Recently uploaded (20)

PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Complications of Minimal Access Surgery at WLH
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Institutional Correction lecture only . . .
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Complications of Minimal Access Surgery at WLH
STATICS OF THE RIGID BODIES Hibbelers.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
O5-L3 Freight Transport Ops (International) V1.pdf
TR - Agricultural Crops Production NC III.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
VCE English Exam - Section C Student Revision Booklet
Abdominal Access Techniques with Prof. Dr. R K Mishra
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Renaissance Architecture: A Journey from Faith to Humanism
PPH.pptx obstetrics and gynecology in nursing
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Classroom Observation Tools for Teachers
Institutional Correction lecture only . . .
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Pharma ospi slides which help in ospi learning
Week 4 Term 3 Study Techniques revisited.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf

OpenStack with-docker-team-17

  • 1. OpenStack with Docker ​ (Configure OpenStack with docker and deploy a three­tier application) Team 17: Ruchir Sharma 201405558 Priyanka Bajaj 201405540 Jaspreet Singh 201202078 Shikher Somal 201201091 Mentored By: Vishrut Mehta
  • 2. Docker and OpenStack Container based Virtualisation framework. Free of framework, platform dependencies. An open platform to build, ship and run distributed applications. A cloud operating system that controls large pools of compute, storage, and networking resources throughout a data center.
  • 3. Why Docker? ➢ Docker Containers are lightweight and fast. ➢ Global image portability and delivery through Registry. ➢ Completeness of vision (Runtime, Configuration, Build, Deployment, Orchestration). ➢ Dockerfiles provide flexible,repeatable image building ➢ Layered images / builds
  • 4. Docker suitability for 3-tier application In a three ­tier application ➢The user interaction is managed by the presentation tier, which provides an easy ­to ­operate front end. ➢The business rules are managed by the business tier, which controls and operates the entire application framework. ➢The underlying data is stored and served by the data storage tier, also known as data persistence. Since, the three tiers are loosely coupled to each other, with predetermined and stable interfaces. This decoupling allows for significant changes to occur within the design, implementation and scale of each tier, without impacting the other tiers.
  • 5. Docker suitability for 3-tier application (contd..) ➢ Docker suits this functionality really well, as it provides the containers to remain in isolation from one another, while exposing interfaces so containers can talk to each other. ➢ When the containers are created, the ­P flag is used to automatically map any network port inside it to a random high port within an ephermal port range on the Docker host. ➢ In case of three­ tier applications, the web tier can expose itself by allowing clients to send requests to this port. ➢ While, the app tier would be responsible for handling all the logic aspect for this, and thus allow the web tier to talk to the app tier, and the app tier can then further talk to the database tier.
  • 6. Example: running a container heat_template_version: 2015­04­30 description: Simple template to deploy a single compute instance resources: my_instance: type: OS::Nova::Server properties: image: Fedora­Cloud­Base­20141203­21.x86_64 flavor: m1.nano
  • 7. Nova Docker Architecture ➢ Docker registry is an image proxy. ➢ Users can upload through docker registry or to glance directly. ➢ Docker pulls images through the docker registry proxy.
  • 9. Docker on OpenStack Havana Nova supports Docker as a new hypervisor starting with the Havana release ➢ Deploy containers instead of VM with the same API (Nova)
  • 10. What is Heat? ➢ The OpenStack Heat service is used to orchestrate the deployment and management composite infrastructure and application stacks. ➢ The stacks are typically described in YAML documents called Heat Orchestration Templates (HOT). ➢ The power of HOT lies in its ability to describe even complex workload deployments in a fully declarative fashion.
  • 11. Docker plugin for Heat By using the plugin, Heat can talk directly to Docker
  • 13. Why using Heat directly? ➢ Heat as a standalone project for orchestration ➢ It allows to use the whole Docker API from a Heat template
  • 14. How to use it? 1. Install Heat with DevStack: https://wiki.openstack. org/wiki/Heat/GettingStartedUsingDevstack 2. Install the Docker plugin
  • 15. Creating a HOT file 1. Heat template specifies resources 2. Each resource is part of container 3. Specify the image of the container 4. Specify the environment variables that it may need
  • 16. Sample HOT Templates – Nova Server ● This template deploys a sing compute Node on Fedora Image using Nova
  • 17. HOT Template – Three Tier Application ● Database tier – MYSQL ● Webapp server – Apache2 ● Frontend Server - PHP
  • 18. Database Resource ● Database resource as a mysqldb Docker exposed at port 8888
  • 19. Wordpress Resource ● Wordpress Resource as a Docker using Database Resource at same port
  • 20. Screenshots – Fedora Console in Openstack