SlideShare a Scribd company logo
Journey to a multi-tenant e commerce solution in the cloud with Kubernetes - AWS Loft Bucharest
Journey to a multi-tenant
eCommerce solution in the
cloud with Kubernetes
Vlad Stănescu
CTO & Founder @ Blugento
Former CEO & Founder @ MindMagnet
@VladStanescu
Adrian Balcan
DevOps @ Blugento
10 yrs experience in DevOps
@Adrian_Balcan
Journey to a multi-tenant e commerce solution in the cloud with Kubernetes - AWS Loft Bucharest
• Monolith PHP application
• Relies on local storage
• Not built for cloud
WHAT WE DO / Application
• Deploy with one command
• Upgrade with one command
• Run application in isolated environment
GOAL… PRODUCT MARKET FIT
THE STONE AGE / Requirements
THE STONE AGE / The Setup
THE STONE AGE / Deployment
• Individual git repos for each module
• Deploy with Git Pull
• Core modules on create, optional modules added manually
• Manual update of modules
THE STONE AGE / The Problem
• Does it work
• Isolated
• Resilient
• Scalable
• Affordable
• Maintainable
• Manageable
• Monitoring
• ✓ YES
• ✓ YES
• ✕ NO
• ✕ NO
• ✕ NOT with scale
• ✕ NOT really
• ✕ Somewhat
• ✕ NOT really
Product Market Fit Match!
Time for next step
NEW SETUP / Requirements Checklist
• No single point of failure
• Namespace isolation
• Cost efficient (low load => low cost)
• Centralized management
• PaaS MySQL
• PaaS Filesystem
• PaaS DNS
1.0
AWS Architecture
1.0
Kubernetes Architecture
1.0
AWS Architecture - KOPS
Advantages
• Best option to deploy Kubernetes on AWS
• Infrastructure as code
• Ease of deployment
• Ease of management
• Flexibility of Kubernetes version
Challenges
• Self-management of Masters
• ETCD know-how
1.0
Deployment
1.0
Deployment
1.0
What’s Great
• No single point of failure
• Stable & Scalable
• Centralised Management
ToDo
• Monitoring
Issues & Problems
• ElastiCache instability/latency due to multi-db
• EFS mount problems
• Networking
• Manual SSL certificate management
2.0
AWS Architecture
2.0
Kubernetes Architecture
2.0
What’s Great
• More Stable & Scalable
• Monitoring
ToDo
• Enhance monitoring
• Improve Logging performance
Issues & Problems
• Autoscaler
• Networking
• Heavy linux distribution and scaling (minor)
3.0
AWS Architecture
3.0
Kubernetes Architecture
MONITORING
• Access Logs (with time)
• Pods
• CPU
• Memory
• IO
• Nodes/Cluster
• CPU
• Memory
• IO
• Networking
• MySQL Queries
• Admin audit trail
3.0
What’s Great
• More Stable & Scalable
• Great Monitoring and Logging
• CentOS distribution
Issues & Problems
• Multi-account EFS
THE FUTURE
Blugento 2.0 Application
• Upgrade from Magento 1 to Magento 2
• Implement frontend in PWA
• Microservice oriented approach
• Serverless components
• No more local storage
NEXT
Kubernetes Architecture - Frontend
NEXT
AWS Architecture
NEXT
Kubernetes Architecture
Backend Application
NEXT
Build Process
NEXT
CONCLUSIONS
CONCLUSIONS
• New technologies are painful
• … but worth it
• Use PaaS wherever possible
• Infrastructure as code
• Monitoring is key
• Automate everything
• Pay attention to Limits & Costs
o EFS/EBS IOPS & Burst Balance
o Network traffic costs
o Aurora IOs
o CloudWatch costs
o EFS, S3 count limit (soft and hard)
Thank you!
Vlad Stănescu
CTO & Founder @ Blugento
Former CEO & Founder @ MindMagnet
@VladStanescu
Adrian Balcan
DevOps @ Blugento
10 yrs experience in DevOps
@Adrian_Balcan

More Related Content

What's hot (20)

PDF
Managing your camels in the cloud with CI/CD
Christian Posta
 
PDF
Gradual migration to MicroProfile
Rudy De Busscher
 
PPTX
The Story of Automation
99X Technology
 
PPTX
The 7 deadly sins of micro services
Aidan Casey
 
PDF
Bosh - Configuring Services
Andrew Shafer
 
PPTX
Mini-Training Owin Katana
Betclic Everest Group Tech Team
 
PPTX
A brief intro to nodejs
Jay Liu
 
PPTX
Essential git for developers
Aidan Casey
 
PPTX
Serverless: The future of application delivery
Doug Vanderweide
 
PPTX
The 7 deadly sins of micro services
Aidan Casey
 
PDF
The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...
VMware Tanzu
 
PDF
Secure JAX-RS
Payara
 
PPTX
Backendless 3.0 Overview
Mark Piller
 
PDF
NSA - No thanks - Build your own cloud with OpenStack and Cloud Foundry | any...
anynines GmbH
 
PPTX
Modern Cloud Fundamentals: Misconceptions and Industry Trends
Christopher Bennage
 
PPTX
Speed-up Your Big Data Applications with Sencha and Speedment
Speedment, Inc.
 
PPTX
R2DBC - Good Enough for Production?
Olexandra Dmytrenko
 
PDF
Monitor Micro-service with MicroProfile metrics
Rudy De Busscher
 
PPTX
Microservices in Azure
Doug Vanderweide
 
PPTX
Aws sys ops administrator
Learntek1
 
Managing your camels in the cloud with CI/CD
Christian Posta
 
Gradual migration to MicroProfile
Rudy De Busscher
 
The Story of Automation
99X Technology
 
The 7 deadly sins of micro services
Aidan Casey
 
Bosh - Configuring Services
Andrew Shafer
 
Mini-Training Owin Katana
Betclic Everest Group Tech Team
 
A brief intro to nodejs
Jay Liu
 
Essential git for developers
Aidan Casey
 
Serverless: The future of application delivery
Doug Vanderweide
 
The 7 deadly sins of micro services
Aidan Casey
 
The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...
VMware Tanzu
 
Secure JAX-RS
Payara
 
Backendless 3.0 Overview
Mark Piller
 
NSA - No thanks - Build your own cloud with OpenStack and Cloud Foundry | any...
anynines GmbH
 
Modern Cloud Fundamentals: Misconceptions and Industry Trends
Christopher Bennage
 
Speed-up Your Big Data Applications with Sencha and Speedment
Speedment, Inc.
 
R2DBC - Good Enough for Production?
Olexandra Dmytrenko
 
Monitor Micro-service with MicroProfile metrics
Rudy De Busscher
 
Microservices in Azure
Doug Vanderweide
 
Aws sys ops administrator
Learntek1
 

Similar to Journey to a multi-tenant e commerce solution in the cloud with Kubernetes - AWS Loft Bucharest (20)

PDF
How Zalando runs Kubernetes clusters at scale on AWS - AWS re:Invent
Henning Jacobs
 
PDF
Crossplane and a story about scaling Kubernetes custom resources.pdf
Richárd Kovács
 
PPTX
Centralizing Kubernetes and Container Operations
Kublr
 
PDF
Addressing the 8 Key Pain Points of Kubernetes Cluster Management
Enterprise Management Associates
 
PDF
A Deeper Look Into How Kubernetes Works.pdf
PetaBytz Technologies
 
PDF
Single tenant software to multi-tenant SaaS using K8S
CloudLinux
 
PDF
Managing containers at scale
Smruti Ranjan Tripathy
 
PDF
Kubernetes on AWS @Zalando - Berlin AWS User Group 2017-05-09
Henning Jacobs
 
PDF
Xpdays: Kubernetes CI-CD Frameworks Case Study
Denys Vasyliev
 
PDF
kubernetes_largescale_system_design_optimization
RaviShankar KS
 
PDF
Forced Evolution: Shopify's Journey to Kubernetes
C4Media
 
PDF
SFScon 2020 - Andrea Avancini Michele Santuari - An internal investigation ob...
South Tyrol Free Software Conference
 
PDF
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...
Henning Jacobs
 
PDF
12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECH
Zalando adtech lab
 
PDF
Jacopo Nardiello - From CI to Prod: Running Magento at scale with Kubernetes
Meet Magento Italy
 
PDF
DNUG46 - Build your own private Cloud environment
panagenda
 
PDF
Build your own private Cloud environment
Nico Meisenzahl
 
PPTX
Kubernetes Journey of a Large FinTech
Akshay Mathur
 
PDF
Cloud Native Use Cases / Case Studies - KubeCon 2019 San Diego - RECAP
Krishna-Kumar
 
PDF
Elastic Kubernetes Services (EKS)
sriram_rajan
 
How Zalando runs Kubernetes clusters at scale on AWS - AWS re:Invent
Henning Jacobs
 
Crossplane and a story about scaling Kubernetes custom resources.pdf
Richárd Kovács
 
Centralizing Kubernetes and Container Operations
Kublr
 
Addressing the 8 Key Pain Points of Kubernetes Cluster Management
Enterprise Management Associates
 
A Deeper Look Into How Kubernetes Works.pdf
PetaBytz Technologies
 
Single tenant software to multi-tenant SaaS using K8S
CloudLinux
 
Managing containers at scale
Smruti Ranjan Tripathy
 
Kubernetes on AWS @Zalando - Berlin AWS User Group 2017-05-09
Henning Jacobs
 
Xpdays: Kubernetes CI-CD Frameworks Case Study
Denys Vasyliev
 
kubernetes_largescale_system_design_optimization
RaviShankar KS
 
Forced Evolution: Shopify's Journey to Kubernetes
C4Media
 
SFScon 2020 - Andrea Avancini Michele Santuari - An internal investigation ob...
South Tyrol Free Software Conference
 
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - C...
Henning Jacobs
 
12.07.2017 Docker Meetup - KUBERNETES ON AWS @ ZALANDO TECH
Zalando adtech lab
 
Jacopo Nardiello - From CI to Prod: Running Magento at scale with Kubernetes
Meet Magento Italy
 
DNUG46 - Build your own private Cloud environment
panagenda
 
Build your own private Cloud environment
Nico Meisenzahl
 
Kubernetes Journey of a Large FinTech
Akshay Mathur
 
Cloud Native Use Cases / Case Studies - KubeCon 2019 San Diego - RECAP
Krishna-Kumar
 
Elastic Kubernetes Services (EKS)
sriram_rajan
 
Ad

Recently uploaded (20)

PDF
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
PDF
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PDF
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
Ad

Journey to a multi-tenant e commerce solution in the cloud with Kubernetes - AWS Loft Bucharest

  • 2. Journey to a multi-tenant eCommerce solution in the cloud with Kubernetes
  • 3. Vlad Stănescu CTO & Founder @ Blugento Former CEO & Founder @ MindMagnet @VladStanescu Adrian Balcan DevOps @ Blugento 10 yrs experience in DevOps @Adrian_Balcan
  • 5. • Monolith PHP application • Relies on local storage • Not built for cloud WHAT WE DO / Application
  • 6. • Deploy with one command • Upgrade with one command • Run application in isolated environment GOAL… PRODUCT MARKET FIT THE STONE AGE / Requirements
  • 7. THE STONE AGE / The Setup
  • 8. THE STONE AGE / Deployment • Individual git repos for each module • Deploy with Git Pull • Core modules on create, optional modules added manually • Manual update of modules
  • 9. THE STONE AGE / The Problem • Does it work • Isolated • Resilient • Scalable • Affordable • Maintainable • Manageable • Monitoring • ✓ YES • ✓ YES • ✕ NO • ✕ NO • ✕ NOT with scale • ✕ NOT really • ✕ Somewhat • ✕ NOT really
  • 10. Product Market Fit Match! Time for next step
  • 11. NEW SETUP / Requirements Checklist • No single point of failure • Namespace isolation • Cost efficient (low load => low cost) • Centralized management • PaaS MySQL • PaaS Filesystem • PaaS DNS
  • 14. 1.0 AWS Architecture - KOPS Advantages • Best option to deploy Kubernetes on AWS • Infrastructure as code • Ease of deployment • Ease of management • Flexibility of Kubernetes version Challenges • Self-management of Masters • ETCD know-how
  • 17. 1.0 What’s Great • No single point of failure • Stable & Scalable • Centralised Management ToDo • Monitoring Issues & Problems • ElastiCache instability/latency due to multi-db • EFS mount problems • Networking • Manual SSL certificate management
  • 20. 2.0 What’s Great • More Stable & Scalable • Monitoring ToDo • Enhance monitoring • Improve Logging performance Issues & Problems • Autoscaler • Networking • Heavy linux distribution and scaling (minor)
  • 23. MONITORING • Access Logs (with time) • Pods • CPU • Memory • IO • Nodes/Cluster • CPU • Memory • IO • Networking • MySQL Queries • Admin audit trail
  • 24. 3.0 What’s Great • More Stable & Scalable • Great Monitoring and Logging • CentOS distribution Issues & Problems • Multi-account EFS
  • 25. THE FUTURE Blugento 2.0 Application • Upgrade from Magento 1 to Magento 2 • Implement frontend in PWA • Microservice oriented approach • Serverless components • No more local storage
  • 30. NEXT
  • 32. CONCLUSIONS • New technologies are painful • … but worth it • Use PaaS wherever possible • Infrastructure as code • Monitoring is key • Automate everything • Pay attention to Limits & Costs o EFS/EBS IOPS & Burst Balance o Network traffic costs o Aurora IOs o CloudWatch costs o EFS, S3 count limit (soft and hard)
  • 33. Thank you! Vlad Stănescu CTO & Founder @ Blugento Former CEO & Founder @ MindMagnet @VladStanescu Adrian Balcan DevOps @ Blugento 10 yrs experience in DevOps @Adrian_Balcan