SlideShare a Scribd company logo
How to deploy docker containers inside
ikoula’s cloud with Ansible
AUTHOR : NICOLASTRAUWAEN
Who is ikoula ?
Creation : 1998
8 000 OS in
production
Employees : 47
5 000 physical
servers
2 datacenters owned
in France & present
on 3 continents
Some history
Ikoula’s cloud
powered by cloudstack
6 datacenters, 3 continents
Europe
FR - Reims
FR - Laon
DE - Francfort
NL - Amsterdam
United States
US - Floride
Asia
SG - Singapour
Ikoula’s cloud
SSD hard drives
Flexibility &
Elasticity
API Web UI
Cloud
Public / Private / Hybrid
Multi-zones
Ikoula’s cloud
WEB DEVOPS BIG DATA BDD CACHE
SEARCH
Deploy your apps
Work with any technologies
Cloudstack APi
Infrastrucutre deployment Application deployment
Control your dataScale on your needs
Ansible
Simple IT automation
localhost
[ikcloud]
#ceevm[01:02]
ceevm01 ansible_host=178.170.68.70
ceevm02 ansible_host=178.170.68.69
[ikcloud:vars]
cs_template=Debian 8 - Minimal - 64bits
cs_offering=t1.pico
cs_zone=EU-FR-IKDC1-Z3-BASIC
cs_securitygroups=default
Ansible inventory
Describeyour
infrastructure
Ansible cloudstack module
 Require Exoscale python cs library
 Available as Ansible extra modules
 Your credentials into cloudstack.ini file
[cloudstack]
endpoint = https://cloudstack.ikoula.com/client/api
key =
secret =
Ansible playbooks
Docker
Build,ship,run
---
- name: mariadb container
docker:
name: mariadb
image: mariadb:5
state: started
volumes:
- /home/wp/db:/var/lib/mysql
env:
MYSQL_ROOT_PASSWORD: djMucnRen5G5
Deploy containers inside your playbook
UsingAnsible’s
dockermodule
Deploy containers with docker-compose
---
- name: copy compose file
template: src={{ item.src }} dest={{ item.dest }}
with_items:
- { src: 'wordpress.yml.j2', dest: '/root/wordpress.yml' }
- name: launch containers
command: docker-compose -f {{ item }} up
with_items:
- /root/wordpress.yml
Thesameway,you’lldofromyourconsole
Docker-compose
wordpress:
image: wordpress
links:
- db:mysql
ports:
- 80:80
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: root
RUN
# ansible-playbook wordpress.yml
PLAY ***************************************************************************
TASK [setup] *******************************************************************
ok: [wp-vm1]
TASK [abaez.docker : Install docker and dependencies] **************************
included: /etc/ansible/roles/abaez.docker/tasks/os_family/Debian.yml for wp-vm1
(…)
TASK [docker-wordpress : mariadb container] ************************************
changed: [wp-vm1]
TASK [docker-wordpress : wordpress container] **********************************
changed: [wp-vm1]
PLAY RECAP *********************************************************************
wp-vm1 : ok=14 changed=10 unreachable=0 failed=0
What next ?
 Dynamic inventory
a python script can give a dynamic inventory directly connected to the
cloudstack platform
 Connect instances to your favorite docker cluster manager
 Writing more playbooks
Improvements
 http://docs.ansible.com/ansible/index.html
 https://docs.docker.com/engine/
 https://github.com/trotro/ansible-scripts
 https://github.com/ikoula
 https://express.ikoula.com/en/public-cloud
 https://www.ikoula-blog.com
 https://en.ikoula.wiki/
Ressources
Join us !
R & D
Reims (51), France
Developer, DevOps or Sys admin,
creative & passionate by innovation,
join our R&D!
Sales
Boulogne-Billancourt (92), France
Motivated by advising & imagining
solutions suited to our customer’s
needs? Join our sales & pre-sales
teams
Technical Support
Reims (51), France
You’re a sys admin & like to help,
technical support is made for you!
Other skills?
Don’t find your way but still want to join
us? Send your application!
jobs@ikoula.com
https://www.ikoula.com/en/emploi
@ikoula ou @ikoula_EN
Ikoula Hosting Services
Ikoula
Ikoula
Gardez le contact !
AUTHOR : NICOLAS TRAUWAEN

More Related Content

PPTX
Introduction to Docker
PDF
2015 DockerCon Using Docker in production at bity.com
ODP
LinuxKit Swarm Nodes
PDF
Hybrid (Windows + Linux) Apps with Docker Swarm
PDF
Docker for mere mortals
PDF
Containerize! Between Docker and Jube.
PPTX
NDC Oslo - The Hybrid Docker Swarm
PDF
Fun with containers: Use Ansible to build Docker images
Introduction to Docker
2015 DockerCon Using Docker in production at bity.com
LinuxKit Swarm Nodes
Hybrid (Windows + Linux) Apps with Docker Swarm
Docker for mere mortals
Containerize! Between Docker and Jube.
NDC Oslo - The Hybrid Docker Swarm
Fun with containers: Use Ansible to build Docker images

What's hot (20)

PDF
Next in Virtualization Era: Containerization & Docker
PDF
Docker orchestration using core os and ansible - Ansible IL 2015
PPTX
Docker Ecosystem: Part III - Machine
PDF
Continuous integration with Docker and Ansible
PDF
My Learnings on Setting up a Kubernetes Cluster on AWS using Kubernetes Opera...
PPTX
Dev ops night i the new infrastructure landscape
ODP
Docker and stuff
PDF
OpenNebula Conf 2014 | Building Hybrid Cloud Federated Environments with Open...
PDF
reInvent 2021 Recap and k9s review
PDF
Docker 101
PDF
Using ansible to core os & kubernetes clusters
PPTX
Continuous Deployment
PPTX
AWS 기반 Docker, Kubernetes
PPTX
Docker techzone
PPTX
Docker Ecosystem: Part V - Docker Registry
PPTX
LinuxKit
PPTX
Gebruik dezelfde Docker container voor Java applicaties tijdens ontwikkelen e...
PDF
Declare your infrastructure: InfraKit, LinuxKit and Moby
PDF
Launching containers with fleet
PPT
Rancher OS - A simplified Linux distribution built from containers, for conta...
Next in Virtualization Era: Containerization & Docker
Docker orchestration using core os and ansible - Ansible IL 2015
Docker Ecosystem: Part III - Machine
Continuous integration with Docker and Ansible
My Learnings on Setting up a Kubernetes Cluster on AWS using Kubernetes Opera...
Dev ops night i the new infrastructure landscape
Docker and stuff
OpenNebula Conf 2014 | Building Hybrid Cloud Federated Environments with Open...
reInvent 2021 Recap and k9s review
Docker 101
Using ansible to core os & kubernetes clusters
Continuous Deployment
AWS 기반 Docker, Kubernetes
Docker techzone
Docker Ecosystem: Part V - Docker Registry
LinuxKit
Gebruik dezelfde Docker container voor Java applicaties tijdens ontwikkelen e...
Declare your infrastructure: InfraKit, LinuxKit and Moby
Launching containers with fleet
Rancher OS - A simplified Linux distribution built from containers, for conta...
Ad

Similar to How to deploy docker container inside ikoula's cloud (20)

PDF
CCCEU15 run cloudstack in docker
PDF
CloudStack Collab Conference 2015 Run CloudStack in Docker
PPTX
Docker orchestration v4
PPTX
Docker orchestration
PDF
Installing oracle grid infrastructure and database 12c r1
PPTX
Real World Experience of Running Docker in Development and Production
PDF
MySQL on Docker and Kubernetes
PDF
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
PDF
Delivering Docker & K3s worloads to IoT Edge devices
PDF
AWS와 Docker Swarm을 이용한 쉽고 빠른 컨테이너 오케스트레이션 - AWS Summit Seoul 2017
PPTX
Deploying Windows Containers on Windows Server 2016
PDF
Oracle Database 18c Docker.pdf
PPTX
BDM32: AdamCloud Project - Part II
PPTX
How to create a secured cloudera cluster
ODP
Google Cloud Platform for DeVops, by Javier Ramirez @ teowaki
PPTX
Baking docker using chef
PPTX
Baking Docker Using Chef - ChefConf 2015
PDF
Curso de MySQL 5.7
PDF
Comment automatiser le déploiement de sa plateforme sur des infrastructures ...
PPTX
OFY-2015-Cloud-In-A-Day
CCCEU15 run cloudstack in docker
CloudStack Collab Conference 2015 Run CloudStack in Docker
Docker orchestration v4
Docker orchestration
Installing oracle grid infrastructure and database 12c r1
Real World Experience of Running Docker in Development and Production
MySQL on Docker and Kubernetes
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
Delivering Docker & K3s worloads to IoT Edge devices
AWS와 Docker Swarm을 이용한 쉽고 빠른 컨테이너 오케스트레이션 - AWS Summit Seoul 2017
Deploying Windows Containers on Windows Server 2016
Oracle Database 18c Docker.pdf
BDM32: AdamCloud Project - Part II
How to create a secured cloudera cluster
Google Cloud Platform for DeVops, by Javier Ramirez @ teowaki
Baking docker using chef
Baking Docker Using Chef - ChefConf 2015
Curso de MySQL 5.7
Comment automatiser le déploiement de sa plateforme sur des infrastructures ...
OFY-2015-Cloud-In-A-Day
Ad

Recently uploaded (20)

PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
medical staffing services at VALiNTRY
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Transform Your Business with a Software ERP System
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Introduction to Artificial Intelligence
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Nekopoi APK 2025 free lastest update
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
System and Network Administration Chapter 2
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
ai tools demonstartion for schools and inter college
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
How Creative Agencies Leverage Project Management Software.pdf
medical staffing services at VALiNTRY
Navsoft: AI-Powered Business Solutions & Custom Software Development
Transform Your Business with a Software ERP System
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Operating system designcfffgfgggggggvggggggggg
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Introduction to Artificial Intelligence
Design an Analysis of Algorithms II-SECS-1021-03
VVF-Customer-Presentation2025-Ver1.9.pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Nekopoi APK 2025 free lastest update
wealthsignaloriginal-com-DS-text-... (1).pdf
System and Network Administration Chapter 2
Wondershare Filmora 15 Crack With Activation Key [2025
Adobe Illustrator 28.6 Crack My Vision of Vector Design
ai tools demonstartion for schools and inter college
2025 Textile ERP Trends: SAP, Odoo & Oracle

How to deploy docker container inside ikoula's cloud

  • 1. How to deploy docker containers inside ikoula’s cloud with Ansible AUTHOR : NICOLASTRAUWAEN
  • 2. Who is ikoula ? Creation : 1998 8 000 OS in production Employees : 47 5 000 physical servers 2 datacenters owned in France & present on 3 continents
  • 5. 6 datacenters, 3 continents Europe FR - Reims FR - Laon DE - Francfort NL - Amsterdam United States US - Floride Asia SG - Singapour
  • 6. Ikoula’s cloud SSD hard drives Flexibility & Elasticity API Web UI Cloud Public / Private / Hybrid Multi-zones
  • 7. Ikoula’s cloud WEB DEVOPS BIG DATA BDD CACHE SEARCH Deploy your apps Work with any technologies
  • 8. Cloudstack APi Infrastrucutre deployment Application deployment Control your dataScale on your needs
  • 10. localhost [ikcloud] #ceevm[01:02] ceevm01 ansible_host=178.170.68.70 ceevm02 ansible_host=178.170.68.69 [ikcloud:vars] cs_template=Debian 8 - Minimal - 64bits cs_offering=t1.pico cs_zone=EU-FR-IKDC1-Z3-BASIC cs_securitygroups=default Ansible inventory Describeyour infrastructure
  • 11. Ansible cloudstack module  Require Exoscale python cs library  Available as Ansible extra modules  Your credentials into cloudstack.ini file [cloudstack] endpoint = https://cloudstack.ikoula.com/client/api key = secret =
  • 14. --- - name: mariadb container docker: name: mariadb image: mariadb:5 state: started volumes: - /home/wp/db:/var/lib/mysql env: MYSQL_ROOT_PASSWORD: djMucnRen5G5 Deploy containers inside your playbook UsingAnsible’s dockermodule
  • 15. Deploy containers with docker-compose --- - name: copy compose file template: src={{ item.src }} dest={{ item.dest }} with_items: - { src: 'wordpress.yml.j2', dest: '/root/wordpress.yml' } - name: launch containers command: docker-compose -f {{ item }} up with_items: - /root/wordpress.yml Thesameway,you’lldofromyourconsole
  • 16. Docker-compose wordpress: image: wordpress links: - db:mysql ports: - 80:80 db: image: mariadb environment: MYSQL_ROOT_PASSWORD: root
  • 17. RUN # ansible-playbook wordpress.yml PLAY *************************************************************************** TASK [setup] ******************************************************************* ok: [wp-vm1] TASK [abaez.docker : Install docker and dependencies] ************************** included: /etc/ansible/roles/abaez.docker/tasks/os_family/Debian.yml for wp-vm1 (…) TASK [docker-wordpress : mariadb container] ************************************ changed: [wp-vm1] TASK [docker-wordpress : wordpress container] ********************************** changed: [wp-vm1] PLAY RECAP ********************************************************************* wp-vm1 : ok=14 changed=10 unreachable=0 failed=0
  • 19.  Dynamic inventory a python script can give a dynamic inventory directly connected to the cloudstack platform  Connect instances to your favorite docker cluster manager  Writing more playbooks Improvements
  • 20.  http://docs.ansible.com/ansible/index.html  https://docs.docker.com/engine/  https://github.com/trotro/ansible-scripts  https://github.com/ikoula  https://express.ikoula.com/en/public-cloud  https://www.ikoula-blog.com  https://en.ikoula.wiki/ Ressources
  • 21. Join us ! R & D Reims (51), France Developer, DevOps or Sys admin, creative & passionate by innovation, join our R&D! Sales Boulogne-Billancourt (92), France Motivated by advising & imagining solutions suited to our customer’s needs? Join our sales & pre-sales teams Technical Support Reims (51), France You’re a sys admin & like to help, technical support is made for you! Other skills? Don’t find your way but still want to join us? Send your application! jobs@ikoula.com https://www.ikoula.com/en/emploi
  • 22. @ikoula ou @ikoula_EN Ikoula Hosting Services Ikoula Ikoula Gardez le contact ! AUTHOR : NICOLAS TRAUWAEN