docker presentation for sharing

15
We maximize your e- commerce success 1

Upload: waruna-viraj-perera

Post on 17-Feb-2017

162 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Docker presentation   for sharing

We maximize your e-commerce success

1

Page 2: Docker presentation   for sharing

We maximize your e-commerce success

2

Dockerized Magento development

Page 3: Docker presentation   for sharing

We maximize your e-commerce success 3

Agenda

• Introduction• A word on Docker• Working on both Magento 1 &

Magento 2• Docker & Magento• Docker in action

Page 4: Docker presentation   for sharing

We maximize your e-commerce success 4

Remko JantzenTechnical consultant | ISM eCompany

[email protected] https://www.linkedin.com/in/remkojantzen/

Follow usFacebook.com/ism.ecompany

Linkedin.com/company/ism-ecompany

Page 5: Docker presentation   for sharing

We maximize your e-commerce success

5

A word on Docker

Page 6: Docker presentation   for sharing

We maximize your e-commerce success 6

A word on Docker

What?• Linux application container (LXC)• Single shared VM on non Linux• Amazon Web Services like setup• Lightweight on Linux

Why?• Stable application environment• Easy distribution• (Near) native performance

Page 7: Docker presentation   for sharing

We maximize your e-commerce success 7

A word on Docker

• Compose multi-container apps / isolated network• Focused on development, testing, staging & CI environments• Simulate a network of services (similar to AWS)• Configurable per project

Docker - compose

Workstation

Project 1 Project 2

Page 8: Docker presentation   for sharing

We maximize your e-commerce success

8

Working on both Magento 1 & Magento 2

Page 9: Docker presentation   for sharing

We maximize your e-commerce success 9

Working on both Magento 1 & Magento 2

System requirements Magento 1• Apache 2.x or Nginx 1.7.x• PHP 5.4.x, 5.5.x• MySQL 5.6 (Oracle or Percona)

• Redis 2.6.9+

• Memcached• Apache Solr 3.6.2

System requirements Magento 2• Apache 2.2, 2.4 or Nginx 1.8+• PHP 5.5.x (x >= 22), 5.6.x, 7.0.2• MySQL 5.6 (Oracle or Percona)• PHP OPCache• Redis 3.0• Varnish 3.5, 4.x• Memcached• Apache Solr 4.x• RabbitMQ 3.5

• Conflicting system requirements• Some services are complex to install• Not all packages are available for every OS

Page 10: Docker presentation   for sharing

We maximize your e-commerce success

10

Docker & Magento

Page 11: Docker presentation   for sharing

We maximize your e-commerce success 11

Docker & Magento

Steps to setup your Docker development environment1. Select your base images for each service,

• Provider: Official / 3rd party / Own• Base OS: Debian / Ubuntu / CentOS

2. Start building your network with Docker Compose• Tweak the images for your personal case• Tweak the network for your preferences

3. Put your images, composer file, etc.. into a repository4. Share the repository with your team

Page 12: Docker presentation   for sharing

We maximize your e-commerce success 12

Docker & Magento

Host

Nginx

Varnish

Nginx

PHP

. :608

1:8

0

:9000

:443:80.

:80

:443MySQL

SOLR

RabbitMQ

Redis

Memcache

./.d

ata/

mys

ql

./.d

ata/

solr

:330

6

:3306

:8983

:5672

:6379

:11211

Page 13: Docker presentation   for sharing

We maximize your e-commerce success 13

Docker & Magento

Benefits you’ll experience• With well tested & well maintained Docker images: Less time spent on system configuration• Easy to work on different projects with different requirements• No more issues due to a different setup locally as on your hosting environment• AWS Ready: Your setup will be similar to Amazon, when taking advantage of the specialized services

• ElastiCache (Memcached, Redis), RDS (MySQL), EC2 (Nginx, PHP, SOLR, Varnish)

Page 14: Docker presentation   for sharing

We maximize your e-commerce success

14

Docker in action

Page 15: Docker presentation   for sharing

We maximize your e-commerce success 15

Remko JantzenTechnical consultant | ISM eCompany

[email protected] https://www.linkedin.com/in/remkojantzen/

Follow usFacebook.com/ism.ecompany

Linkedin.com/company/ism-ecompany