SlideShare a Scribd company logo
CAKEPHP
IN A CONTAINERIZED CI/CD ENVIRONMENT
WHO IS THIS GUY?
STEFAN VAN GASTEL
▸ Age 32
▸ Netherlands
▸ Zundert
▸ Vincent van Gogh
▸ Flower parade
▸ CakePHP since 1.2
▸ CakeFest since 2012
2
WHO IS THIS GUY?
STEFAN VAN GASTEL
▸ Dutch Ministry Of Defence (MOD)
▸ Since 2006
▸ Technical lead ‘Mobile Apps Military Police’
▸ Front-end
▸ Back-end
▸ Services
▸ Infrastructure
▸ Architecture
3
WHO IS THIS GUY?
Not this kind of guy… More like this guy…
4
CONTAINERS
WHAT ARE CONTAINERS?
Unlike VMs, containers do not bundle a full operating system -
only libraries and settings required to make the software work
are needed. This makes for efficient, lightweight, self-contained
systems and guarantees that software will always run the same,
regardless of where it’s deployed.
Source: https://docker.com
5
Vary in:
- Speed
- Resource usage
- Footprint
- Isolation
CONTAINERS
WHAT IS DOCKER?
Docker is the world’s leading software container platform.
Developers use Docker to eliminate “works on my
machine”
Operators use Docker to run and manage apps side-by-
side in isolated containers to get better compute density.
Source: https://docker.com
6
CONTAINERS
CAN RUN ON ANY LINUX BASED OS AND WINDOWS SERVER 2016
Source: https://docker.com
7
USAGE WITHIN THE MOD
USING CONTAINERS
8
DOCKER FOR OVER 10 YEARS
BRACE YOURSELF
WARNING!
Everything we build and run is in an offline, on-premise intranet infrastructure.
9
CAKEPHP
WHERE DOES CAKEPHP FIT IN?
10
CI/CD PIPELINES
HOW OUR CAKE MOVES
Development
Commit & Push
Gitlab Container Registry
Test Qa Review / StagingBuild
Build & Push Pull & Test Pull & Check Pull & Deploy
11
PRODUCTION
HOW OUR CAKE GETS EATEN
Event Same old sh*t
12
LESSONS LEARNED 1 OF 3
MINDSET
13
LESSONS LEARNED 2 OF 3
12 FACTOR APPS
III. Config | Store config in the environment
IV. Backing services | Treat backing services as attached resources
IX. Disposability | Maximize robustness with fast startup and graceful shutdown
https://12factor.net
14
LESSONS LEARNED 2 OF 3
12 FACTOR APPS
III. Config | Store config in the environment
15
LESSONS LEARNED 2 OF 3
12 FACTOR APPS
IV. Backing services | Treat backing services as attached resources
16
LESSONS LEARNED 2 OF 3
12 FACTOR APPS
IX. Disposability
Maximize robustness
with
fast startup
and
graceful shutdown
17
LESSONS LEARNED 3 OF 3
CONTAINERS ARE REVOLUTION, NOT EVOLUTION
18
LESSONS LEARNED 3 OF 3
CONTAINERS ARE REVOLUTION, NOT EVOLUTION
19
CAKEPHP AND DOCKER
DEMO
CAKEPHP AND DOCKER
RESOURCES
▸ Examples
▸ https://github.com/stefanvangastel/docker-cakephp
▸ http://blog.danielcorreia.net/practical-docker-apache-php-and-
mysql-cakephp-example/
▸ https://hub.docker.com/r/occitech/cakephp/
▸ Docker
▸ https://docs.docker.com/engine/userguide/eng-image/
dockerfile_best-practices/
▸ https://blog.replicated.com/engineering/refactoring-a-dockerfile-
for-image-size/
BE HONEST
ANY QUESTIONS?
$ docker run -i answers:latest
▸ Feedback
▸ https://joind.in/talk/095fd
▸ Contact me
▸ stefanvangastel@gmail.com / scwj.v.gastel@mindef.nl
▸ https://www.linkedin.com/in/stefan-van-gastel
▸ Slides
▸ https://speakerdeck.com/stefanvangastel/cakephp-in-a-containerized-ci-cd-environment

More Related Content

PPTX
John Engates Keynote at Dockercon 14
PDF
Docker - modern platform for developement and operations
PPTX
Container Days Conference Plesk 2016 - How AWS, Docker and Microservices infl...
PDF
Automated Serverless Pipelines with #GitOps on Codefresh
PPTX
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...
PDF
Docker Containers in Azure
PPTX
Multi-cloud CI/CD with failover powered by K8s, Istio, Helm, and Codefresh
PPTX
How AWS,Docker and Microservices Influence Company Websites - Plesk
John Engates Keynote at Dockercon 14
Docker - modern platform for developement and operations
Container Days Conference Plesk 2016 - How AWS, Docker and Microservices infl...
Automated Serverless Pipelines with #GitOps on Codefresh
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...
Docker Containers in Azure
Multi-cloud CI/CD with failover powered by K8s, Istio, Helm, and Codefresh
How AWS,Docker and Microservices Influence Company Websites - Plesk

What's hot (20)

PDF
Chaos Engineering Here We_Go
PDF
Architecting the Future: Abstractions and Metadata - GlueCon
PPTX
Migrating Java JBoss EAP Applications to Kubernetes With S2I
PDF
Scalable Web Applications with 100% open source
PDF
DevSecOps: Bringing security to the DevOps pipeline
PDF
Docker in Production, die Mobiliar
PDF
Developer Experience at Zalando - Handelsblatt Strategisches IT-Management 2019
PDF
Terraform GitOps on Codefresh
PDF
Kubecon 2019 Recap
PDF
Paris Container Day 2016 : Deep dive dc-os ci-cd (Mesosphere & Container Solu...
PDF
Swiss magento meetup: APPUiO
PDF
Docker based-Pipelines with Codefresh
PDF
Webinar - Continuous Integration with GitLab
PPTX
PDF
OpenNMS meets Docker
PPTX
A local private PaaS in minutes with the Red Hat CDK
PDF
Upstate DevOps - What's New With DevOps
PDF
11th Docker Switzerland User Group Meetup
PPTX
DevFestMN 2017 - Learning Docker and Kubernetes with Openshift
PDF
Best Practices for Microservice CI/CD: Lessons from Expedia and Codefresh
Chaos Engineering Here We_Go
Architecting the Future: Abstractions and Metadata - GlueCon
Migrating Java JBoss EAP Applications to Kubernetes With S2I
Scalable Web Applications with 100% open source
DevSecOps: Bringing security to the DevOps pipeline
Docker in Production, die Mobiliar
Developer Experience at Zalando - Handelsblatt Strategisches IT-Management 2019
Terraform GitOps on Codefresh
Kubecon 2019 Recap
Paris Container Day 2016 : Deep dive dc-os ci-cd (Mesosphere & Container Solu...
Swiss magento meetup: APPUiO
Docker based-Pipelines with Codefresh
Webinar - Continuous Integration with GitLab
OpenNMS meets Docker
A local private PaaS in minutes with the Red Hat CDK
Upstate DevOps - What's New With DevOps
11th Docker Switzerland User Group Meetup
DevFestMN 2017 - Learning Docker and Kubernetes with Openshift
Best Practices for Microservice CI/CD: Lessons from Expedia and Codefresh
Ad

Similar to CakePHP in a containerized CI/CD environment | Cakefest 2017 (20)

PDF
Docker Birthday #3 Slides - Overview
PDF
Docker Birthday #3 - Intro to Docker Slides
PDF
Cakephp manual-11
PPTX
Containers virtaulization and docker
PDF
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
PPTX
Dockerize the World - presentation from Hradec Kralove
PDF
Containerizing legacy applications
PPTX
Session 4 GCCP.pptx
PDF
codemotion-docker-2014
PPTX
Dockerize the World
PDF
Accelerate your software development with Docker
PPTX
Accelerate your development with Docker
PPTX
Introduction to Containers & Diving a little deeper into the benefits of Con...
PDF
Know about cake php framework with vertexplus
PDF
Pydata 2020 containers meetup
PDF
Faster and Easier Software Development using Docker Platform
PDF
Docker and the Container Revolution
PDF
CakePHP
PDF
Speed & Agility of Innovation with Docker & Kubernetes
 
PDF
Killer Docker Workflows for Development
Docker Birthday #3 Slides - Overview
Docker Birthday #3 - Intro to Docker Slides
Cakephp manual-11
Containers virtaulization and docker
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Dockerize the World - presentation from Hradec Kralove
Containerizing legacy applications
Session 4 GCCP.pptx
codemotion-docker-2014
Dockerize the World
Accelerate your software development with Docker
Accelerate your development with Docker
Introduction to Containers & Diving a little deeper into the benefits of Con...
Know about cake php framework with vertexplus
Pydata 2020 containers meetup
Faster and Easier Software Development using Docker Platform
Docker and the Container Revolution
CakePHP
Speed & Agility of Innovation with Docker & Kubernetes
 
Killer Docker Workflows for Development
Ad

Recently uploaded (20)

PDF
Softaken Excel to vCard Converter Software.pdf
PDF
System and Network Administration Chapter 2
PDF
System and Network Administraation Chapter 3
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
ai tools demonstartion for schools and inter college
PPTX
Transform Your Business with a Software ERP System
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Introduction to Artificial Intelligence
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
AI in Product Development-omnex systems
PDF
Digital Strategies for Manufacturing Companies
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Softaken Excel to vCard Converter Software.pdf
System and Network Administration Chapter 2
System and Network Administraation Chapter 3
Odoo Companies in India – Driving Business Transformation.pdf
ai tools demonstartion for schools and inter college
Transform Your Business with a Software ERP System
How Creative Agencies Leverage Project Management Software.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Introduction to Artificial Intelligence
VVF-Customer-Presentation2025-Ver1.9.pptx
Understanding Forklifts - TECH EHS Solution
Upgrade and Innovation Strategies for SAP ERP Customers
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
AI in Product Development-omnex systems
Digital Strategies for Manufacturing Companies
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Operating system designcfffgfgggggggvggggggggg
Design an Analysis of Algorithms II-SECS-1021-03
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises

CakePHP in a containerized CI/CD environment | Cakefest 2017

  • 1. CAKEPHP IN A CONTAINERIZED CI/CD ENVIRONMENT
  • 2. WHO IS THIS GUY? STEFAN VAN GASTEL ▸ Age 32 ▸ Netherlands ▸ Zundert ▸ Vincent van Gogh ▸ Flower parade ▸ CakePHP since 1.2 ▸ CakeFest since 2012 2
  • 3. WHO IS THIS GUY? STEFAN VAN GASTEL ▸ Dutch Ministry Of Defence (MOD) ▸ Since 2006 ▸ Technical lead ‘Mobile Apps Military Police’ ▸ Front-end ▸ Back-end ▸ Services ▸ Infrastructure ▸ Architecture 3
  • 4. WHO IS THIS GUY? Not this kind of guy… More like this guy… 4
  • 5. CONTAINERS WHAT ARE CONTAINERS? Unlike VMs, containers do not bundle a full operating system - only libraries and settings required to make the software work are needed. This makes for efficient, lightweight, self-contained systems and guarantees that software will always run the same, regardless of where it’s deployed. Source: https://docker.com 5 Vary in: - Speed - Resource usage - Footprint - Isolation
  • 6. CONTAINERS WHAT IS DOCKER? Docker is the world’s leading software container platform. Developers use Docker to eliminate “works on my machine” Operators use Docker to run and manage apps side-by- side in isolated containers to get better compute density. Source: https://docker.com 6
  • 7. CONTAINERS CAN RUN ON ANY LINUX BASED OS AND WINDOWS SERVER 2016 Source: https://docker.com 7
  • 8. USAGE WITHIN THE MOD USING CONTAINERS 8 DOCKER FOR OVER 10 YEARS
  • 9. BRACE YOURSELF WARNING! Everything we build and run is in an offline, on-premise intranet infrastructure. 9
  • 11. CI/CD PIPELINES HOW OUR CAKE MOVES Development Commit & Push Gitlab Container Registry Test Qa Review / StagingBuild Build & Push Pull & Test Pull & Check Pull & Deploy 11
  • 12. PRODUCTION HOW OUR CAKE GETS EATEN Event Same old sh*t 12
  • 13. LESSONS LEARNED 1 OF 3 MINDSET 13
  • 14. LESSONS LEARNED 2 OF 3 12 FACTOR APPS III. Config | Store config in the environment IV. Backing services | Treat backing services as attached resources IX. Disposability | Maximize robustness with fast startup and graceful shutdown https://12factor.net 14
  • 15. LESSONS LEARNED 2 OF 3 12 FACTOR APPS III. Config | Store config in the environment 15
  • 16. LESSONS LEARNED 2 OF 3 12 FACTOR APPS IV. Backing services | Treat backing services as attached resources 16
  • 17. LESSONS LEARNED 2 OF 3 12 FACTOR APPS IX. Disposability Maximize robustness with fast startup and graceful shutdown 17
  • 18. LESSONS LEARNED 3 OF 3 CONTAINERS ARE REVOLUTION, NOT EVOLUTION 18
  • 19. LESSONS LEARNED 3 OF 3 CONTAINERS ARE REVOLUTION, NOT EVOLUTION 19
  • 21. CAKEPHP AND DOCKER RESOURCES ▸ Examples ▸ https://github.com/stefanvangastel/docker-cakephp ▸ http://blog.danielcorreia.net/practical-docker-apache-php-and- mysql-cakephp-example/ ▸ https://hub.docker.com/r/occitech/cakephp/ ▸ Docker ▸ https://docs.docker.com/engine/userguide/eng-image/ dockerfile_best-practices/ ▸ https://blog.replicated.com/engineering/refactoring-a-dockerfile- for-image-size/
  • 22. BE HONEST ANY QUESTIONS? $ docker run -i answers:latest ▸ Feedback ▸ https://joind.in/talk/095fd ▸ Contact me ▸ stefanvangastel@gmail.com / scwj.v.gastel@mindef.nl ▸ https://www.linkedin.com/in/stefan-van-gastel ▸ Slides ▸ https://speakerdeck.com/stefanvangastel/cakephp-in-a-containerized-ci-cd-environment