(ALMOST) EVERYTHING YOU ALWAYS
WANTED TO KNOW ABOUT MAGENTO
CLOUD*
Barny Shergold
Solution Architect, VAIMO
*BUT WERE AFRAID TO ASK
BARNY SHERGOLD
30+ Years Software Development & Design
10+ Years Magento Experience
4 Years At Vaimo
WHAT IS MAGENTO CLOUD?
Platform-As-A-Service
Magento 2 Commerce Edition
Fully Supported Build & Deploy Pipeline
High Availability Server Environment
CDN & Performance Cache
Managed Services
Also known as :
Magento Commerce Cloud
Magento Enterprise Cloud Edition
Adobe Commerce Cloud
STARTER VS PRO
STARTER
• For smaller B2C & B2B merchants1
• Looking to grow ~2X
• Lower SKU count
• Lower traffic and order volume
PRO
• Established B2C & B2B merchants
• Expecting >2X growth in future
• Sophisticated integrations
• Spiky traffic or frequent surges
1 For merchants Up to $5M in GMV
WHAT’S UNDER THE HOOD?
Easily configured Fastly - CDN, WAF & Varnish Cache
New Relic - For Application Performance
Blackfire - PHP Performance Testing
Staging &
Production Only
ARCHITECTURE
3 Node Redundant Architecture :
• Upscaling Without Downtime
• Surge Days
• Pro12 Cluster - 12-CPU (4 x 3) + 48GB RAM (16 x 3)
• Pro120 Cluster - 120-CPU (4 x 3) + 480GB RAM (16 x 3)
Non-Configurable :
• Debian GNU/Linux 8
• NGINX 1.8
Configurable :
• PHP
• MySQL (MariaDB)
• Redis
• RabbitMQ
• Elasticsearch
PROJECT MANAGEMENT
8 Environments
Production
Staging
Integration
4 Active Integration Branches
Global Master
SSH Authentication
Access By Branch
SSH Access
Merge
Branch
Synch
Snapshot
Configuration
ECE & CLOUD TOOLS
ECE-TOOLS
• Used to control Build, Deploy & Post-Deploy processes
• Built using Magento Framework
• Contained in Project (see vendor/magento/ece-tools)
• Ideal State Wizard
MAGENTO-CLOUD
• CLI Tools for Developers
• Manage Environments
• Replicates Admin UI features
• Pull Projects & Dump databases
SERVER & APPLICATION CONFIGURATION
• A lot of the environment & application setup can be controlled by developers using YAML files.
• .magento/routes.yaml - Control how incoming HTTP requests are processed.
• .magento/services.yaml - Configure services such as MySQL, Redis, Elasticsearch & RabbitMQ. You must
open a support ticket to push these changes to Pro plan Staging and Production environments.
• .magento.app.yaml—Define how to build and deploy Magento, including services, hooks, cron jobs &
environment variables.
• .magento.env.yaml - Centralises the management of build and deploy actions across all of your environments
- the heart of SCD management.
• M2-hotfixes - folder for patches specific to the project - main use is to quick add such patches. Any patch
dropped into this folder will be applied. No configuration is needed.
ZERO DOWNTIME
Deployment Phases
BUILD - SITE UP
TRANSFER - SITE UP
DEPLOY - SITE DOWN
POST-DEPLOY - SITE UP
“During the deployment process, all connections queue for
up to 5 minutes preserving any active sessions and pending
actions, such as adding to cart or checkout. After
deployment, the queue is released and connections continue
without interruption.” - Magento DevDocs
ZERO DOWNTIME
Really?
•Use ECE-Tools version 2002.0.13+
•Configure Static Content to generate in BUILD Phase
•Generate ‘config.php’
•Generate SC with minified HTML
•Reduce Theme files!
•Increase threads
•Preload Cache
DEVELOPMENT
• Project Managed by GIT
• Runs well in Devbox & Docker
• Local Setup Easy - Under an hour first time.
• Can debug instance using XDEBUG
• RECOMMENDED - Don’t add code to project!
• RECOMMENDED - Do QA on Integration NOT Development
SUPPORT
• Full On-Boarding Process
• Support By Raising Ticket Through Portal
• PRO - P1-1h, P2-4h, P3-1d, P4-3d
• STARTER - P1-2hr, P2-1d, P3-2d, P4-5d
• Constant Updates
• Live Sites Monitored Proactively
TRAINING & ACCREDITATION
• Magento Commerce Cloud For Developers
• https://u.magento.com/magento-commerce-cloud-for-developers-on-demand
• Magento Commerce Cloud Exam
• Study Guide
• https://swiftotter.com/certifications/magento-2-cloud-developer-study-guide#/
• Only A Few :
• 71 Accredited Developers Worldwide
• 5 Accredited Developers in UK
QUESTIONS?

Everything You Ever Wanted To Know About Cloud.pdf

  • 1.
    (ALMOST) EVERYTHING YOUALWAYS WANTED TO KNOW ABOUT MAGENTO CLOUD* Barny Shergold Solution Architect, VAIMO *BUT WERE AFRAID TO ASK
  • 2.
    BARNY SHERGOLD 30+ YearsSoftware Development & Design 10+ Years Magento Experience 4 Years At Vaimo
  • 3.
    WHAT IS MAGENTOCLOUD? Platform-As-A-Service Magento 2 Commerce Edition Fully Supported Build & Deploy Pipeline High Availability Server Environment CDN & Performance Cache Managed Services Also known as : Magento Commerce Cloud Magento Enterprise Cloud Edition Adobe Commerce Cloud
  • 4.
    STARTER VS PRO STARTER •For smaller B2C & B2B merchants1 • Looking to grow ~2X • Lower SKU count • Lower traffic and order volume PRO • Established B2C & B2B merchants • Expecting >2X growth in future • Sophisticated integrations • Spiky traffic or frequent surges 1 For merchants Up to $5M in GMV
  • 5.
    WHAT’S UNDER THEHOOD? Easily configured Fastly - CDN, WAF & Varnish Cache New Relic - For Application Performance Blackfire - PHP Performance Testing Staging & Production Only
  • 6.
    ARCHITECTURE 3 Node RedundantArchitecture : • Upscaling Without Downtime • Surge Days • Pro12 Cluster - 12-CPU (4 x 3) + 48GB RAM (16 x 3) • Pro120 Cluster - 120-CPU (4 x 3) + 480GB RAM (16 x 3) Non-Configurable : • Debian GNU/Linux 8 • NGINX 1.8 Configurable : • PHP • MySQL (MariaDB) • Redis • RabbitMQ • Elasticsearch
  • 7.
    PROJECT MANAGEMENT 8 Environments Production Staging Integration 4Active Integration Branches Global Master SSH Authentication Access By Branch SSH Access Merge Branch Synch Snapshot Configuration
  • 8.
    ECE & CLOUDTOOLS ECE-TOOLS • Used to control Build, Deploy & Post-Deploy processes • Built using Magento Framework • Contained in Project (see vendor/magento/ece-tools) • Ideal State Wizard MAGENTO-CLOUD • CLI Tools for Developers • Manage Environments • Replicates Admin UI features • Pull Projects & Dump databases
  • 9.
    SERVER & APPLICATIONCONFIGURATION • A lot of the environment & application setup can be controlled by developers using YAML files. • .magento/routes.yaml - Control how incoming HTTP requests are processed. • .magento/services.yaml - Configure services such as MySQL, Redis, Elasticsearch & RabbitMQ. You must open a support ticket to push these changes to Pro plan Staging and Production environments. • .magento.app.yaml—Define how to build and deploy Magento, including services, hooks, cron jobs & environment variables. • .magento.env.yaml - Centralises the management of build and deploy actions across all of your environments - the heart of SCD management. • M2-hotfixes - folder for patches specific to the project - main use is to quick add such patches. Any patch dropped into this folder will be applied. No configuration is needed.
  • 10.
    ZERO DOWNTIME Deployment Phases BUILD- SITE UP TRANSFER - SITE UP DEPLOY - SITE DOWN POST-DEPLOY - SITE UP “During the deployment process, all connections queue for up to 5 minutes preserving any active sessions and pending actions, such as adding to cart or checkout. After deployment, the queue is released and connections continue without interruption.” - Magento DevDocs
  • 11.
    ZERO DOWNTIME Really? •Use ECE-Toolsversion 2002.0.13+ •Configure Static Content to generate in BUILD Phase •Generate ‘config.php’ •Generate SC with minified HTML •Reduce Theme files! •Increase threads •Preload Cache
  • 12.
    DEVELOPMENT • Project Managedby GIT • Runs well in Devbox & Docker • Local Setup Easy - Under an hour first time. • Can debug instance using XDEBUG • RECOMMENDED - Don’t add code to project! • RECOMMENDED - Do QA on Integration NOT Development
  • 13.
    SUPPORT • Full On-BoardingProcess • Support By Raising Ticket Through Portal • PRO - P1-1h, P2-4h, P3-1d, P4-3d • STARTER - P1-2hr, P2-1d, P3-2d, P4-5d • Constant Updates • Live Sites Monitored Proactively
  • 14.
    TRAINING & ACCREDITATION •Magento Commerce Cloud For Developers • https://u.magento.com/magento-commerce-cloud-for-developers-on-demand • Magento Commerce Cloud Exam • Study Guide • https://swiftotter.com/certifications/magento-2-cloud-developer-study-guide#/ • Only A Few : • 71 Accredited Developers Worldwide • 5 Accredited Developers in UK
  • 15.