SlideShare a Scribd company logo
1 of 23
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Cloud Holiday readiness preparation
Ben Batschelet, Bohdan Korablov, Oleh Posyniak
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Consumer locks
 Check environment variable on containing the path to locks
 Connect by ssh and run the command: echo $MAGENTO_CLOUD_LOCKS_DIR
You should see the path to the lock dir like this: /run/<project_id>/locks
 Check the configuration in the env.php file
 Connect by ssh and run the command: cat app/etc/env.php | grep "'lock'" -A7
You should see the next configuration:
 https://devdocs.magento.com/guides/v2.3/cloud/env/variables-
deploy.html#lock_provider
3
'lock’ =>
array (
'provider' => 'file’,
'config’ => array (
'path' => '/run/<project_id>/locks’,
),
),
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Check all caches to be enabled
 Connect by ssh and run command: bin/magento cache:status
You should see that all caches are enabled:
4
Current status:
config: 1
layout: 1
block_html: 1
collections: 1
reflection: 1
db_ddl: 1
compiled_config: 1
eav: 1
customer_notification: 1
config_integration: 1
config_integration_api: 1
target_rule: 1
full_page: 1
config_webservice: 1
translate: 1
vertex: 1
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
MySQL slave connection
Check the configuration in the .magento.env.yaml file:
https://devdocs.magento.com/guides/v2.3/cloud/env/variables-
deploy.html#mysql_use_slave_connection
5
stage:
deploy:
MYSQL_USE_SLAVE_CONNECTION: true
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Redis slave connection
Check the configuration in the .magento.env.yaml file:
Do not use Redis slave connection if your environment runs on a split architecture.
https://devdocs.magento.com/guides/v2.3/cloud/env/variables-
deploy.html#redis_use_slave_connection
6
stage:
deploy:
REDIS_USE_SLAVE_CONNECTION: true
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
NewRelic metrics
7
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
NR Databases
8
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
NR Transactions
9
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
NR Errors
10
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
NR Errors – stacktrace
11
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Check Fastly cache to be working properly
 Check the headers for your site
 At a minimum check your home page, but also consider checking individual category & product
pages
 Look for HIT in the X-Cache header
 Once is perfectly ok, either order is fine. Just don't want MISS, MISS.
 Use any tool you like (HTTPie, cURL, Postman, even Chrome)
 May need to run a request two or more times before cache hit
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Warm-up pages to be configured
 Don't make your first customer(s) do all the heavy lifting
 Make sure key URLs are already cached by Fastly immediately after deploy
 Configure WARM_UP_PAGES
 List of URLs and/or patterns (categories or CMS pages)
14
stage:
post-deploy:
WARM_UP_PAGES:
- / # your home page
- /contact # contact page
- cms-page:*:default # all the CMS pages for your default store
- category:toys:* # the "toy" category for all your stores
- category:|.*red.*|:5 # any category with the word "red" in it for your store ID 5
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Logs
15
• /var/log/platform/<project ID>(_stg)/errors.log
PHP
• /var/log/platform/<project ID>(_stg)/access.log
Nginx
• /var/log/mysql/mysql-slow.log
• /var/log/mysql/mysql-error.log
• Process list
MySQL
• ~/var/log/cloud.log
Cloud
• ~/var/report
• ~/var/log
Magento application
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Cloud Team coverage
 Increased on call coverage from November 18th – December 8th
 Borrowing engineering / L3 support from Core and Performance teams
 Equal L3 support day and night during the holidays
16
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
IP blocking with Fastly
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Kill crons with CLI
 ./vendor/bin/ece-tools cron:kill
19
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
SCD on Build
 Move Static Content on build
 Turn off SCD_ON_DEMAND variable
 Configure Zero-downtime
 https://devdocs.magento.com/guides/v2.3/cloud/deploy/reduce-downtime.html
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
ECE-Tools version
 Keep ECE-Tools up-to-date
 Check the current version to be 2002.0.20+
cat composer.lock | grep ece-tools
21
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
No re-deployments during peak hours
 Plan changes ahead
 Re-deployment cleans caches
22
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Magento tuning
 Enabled modules may add performance degradation
 Double-check if 3rd-party modules don’t flush cache on admin actions
 Check indexers to be set On Schedule
 Check if robots.txt are configured properly
23
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Additional resources
 Cloud Community channel
 #cloud - https://magentocommeng.slack.com/messages/C8CBB6K9V
 DevDocs
 https://devdocs.magento.com/guides/v2.3/cloud/bk-cloud.html
24
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Q&A
25
Cloud Community Engineering - Holiday readiness

More Related Content

What's hot

Introduction of webpack 4
Introduction of webpack 4Introduction of webpack 4
Introduction of webpack 4Vijay Shukla
 
Neos 101 [Inspiring Con 2014]
Neos 101 [Inspiring Con 2014]Neos 101 [Inspiring Con 2014]
Neos 101 [Inspiring Con 2014]Christian Müller
 
Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016
Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016
Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016Waldek Mastykarz
 
Moving Kentico Cms To The Azure
Moving Kentico Cms To The AzureMoving Kentico Cms To The Azure
Moving Kentico Cms To The AzureMichal Neuwirth
 
Building a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web appsBuilding a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web appsngonpham
 
Cdn optimizely and how latency affects load speed
Cdn optimizely and how latency affects load speedCdn optimizely and how latency affects load speed
Cdn optimizely and how latency affects load speedericlevis012
 
Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11ColdFusionConference
 
Introducing ASP.NET vNext
Introducing ASP.NET vNextIntroducing ASP.NET vNext
Introducing ASP.NET vNextBruce Johnson
 
Setting up development environment for building SharePoint Framework solution...
Setting up development environment for building SharePoint Framework solution...Setting up development environment for building SharePoint Framework solution...
Setting up development environment for building SharePoint Framework solution...Waldek Mastykarz
 
How to Ensure You're Launching the Most Secure Website - Michael Tremante
How to Ensure You're Launching the Most Secure Website - Michael TremanteHow to Ensure You're Launching the Most Secure Website - Michael Tremante
How to Ensure You're Launching the Most Secure Website - Michael TremanteWP Engine
 
Aem hub oak 0.2 full
Aem hub oak 0.2 fullAem hub oak 0.2 full
Aem hub oak 0.2 fullMichael Marth
 
Java Support On Google App Engine
Java Support On Google App EngineJava Support On Google App Engine
Java Support On Google App EngineXebia IT Architects
 
JS Lab`16. Андрей Колодницкий: "Разработка REST сервисов на SailsJS"
JS Lab`16. Андрей Колодницкий: "Разработка REST сервисов на SailsJS"JS Lab`16. Андрей Колодницкий: "Разработка REST сервисов на SailsJS"
JS Lab`16. Андрей Колодницкий: "Разработка REST сервисов на SailsJS"GeeksLab Odessa
 
A peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScale
A peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScaleA peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScale
A peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScaleBackblaze
 
CGSpace technical overview
CGSpace technical overviewCGSpace technical overview
CGSpace technical overviewILRI
 
Liquid Day - Retos modernos del desarrollo de aplicaciones de negocio
Liquid Day - Retos modernos del desarrollo de aplicaciones de negocioLiquid Day - Retos modernos del desarrollo de aplicaciones de negocio
Liquid Day - Retos modernos del desarrollo de aplicaciones de negocioSoftware Guru
 
Hands on App Engine
Hands on App EngineHands on App Engine
Hands on App EngineSimon Su
 

What's hot (20)

Introduction of webpack 4
Introduction of webpack 4Introduction of webpack 4
Introduction of webpack 4
 
Jayway Web Tech Radar 2015
Jayway Web Tech Radar 2015Jayway Web Tech Radar 2015
Jayway Web Tech Radar 2015
 
Neos 101 [Inspiring Con 2014]
Neos 101 [Inspiring Con 2014]Neos 101 [Inspiring Con 2014]
Neos 101 [Inspiring Con 2014]
 
Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016
Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016
Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016
 
Moving Kentico Cms To The Azure
Moving Kentico Cms To The AzureMoving Kentico Cms To The Azure
Moving Kentico Cms To The Azure
 
Building a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web appsBuilding a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web apps
 
Cdn optimizely and how latency affects load speed
Cdn optimizely and how latency affects load speedCdn optimizely and how latency affects load speed
Cdn optimizely and how latency affects load speed
 
Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11
 
Introducing ASP.NET vNext
Introducing ASP.NET vNextIntroducing ASP.NET vNext
Introducing ASP.NET vNext
 
Setting up development environment for building SharePoint Framework solution...
Setting up development environment for building SharePoint Framework solution...Setting up development environment for building SharePoint Framework solution...
Setting up development environment for building SharePoint Framework solution...
 
How to Ensure You're Launching the Most Secure Website - Michael Tremante
How to Ensure You're Launching the Most Secure Website - Michael TremanteHow to Ensure You're Launching the Most Secure Website - Michael Tremante
How to Ensure You're Launching the Most Secure Website - Michael Tremante
 
Aem hub oak 0.2 full
Aem hub oak 0.2 fullAem hub oak 0.2 full
Aem hub oak 0.2 full
 
Java Support On Google App Engine
Java Support On Google App EngineJava Support On Google App Engine
Java Support On Google App Engine
 
JS Lab`16. Андрей Колодницкий: "Разработка REST сервисов на SailsJS"
JS Lab`16. Андрей Колодницкий: "Разработка REST сервисов на SailsJS"JS Lab`16. Андрей Колодницкий: "Разработка REST сервисов на SailsJS"
JS Lab`16. Андрей Колодницкий: "Разработка REST сервисов на SailsJS"
 
A peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScale
A peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScaleA peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScale
A peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScale
 
CGSpace technical overview
CGSpace technical overviewCGSpace technical overview
CGSpace technical overview
 
Liquid Day - Retos modernos del desarrollo de aplicaciones de negocio
Liquid Day - Retos modernos del desarrollo de aplicaciones de negocioLiquid Day - Retos modernos del desarrollo de aplicaciones de negocio
Liquid Day - Retos modernos del desarrollo de aplicaciones de negocio
 
Veda online
Veda onlineVeda online
Veda online
 
Cars.com Journey to AWS Cloud
Cars.com Journey to AWS CloudCars.com Journey to AWS Cloud
Cars.com Journey to AWS Cloud
 
Hands on App Engine
Hands on App EngineHands on App Engine
Hands on App Engine
 

Similar to Cloud Community Engineering - Holiday readiness

Securing Containers - Sathyajit Bhat - Adobe
Securing Containers - Sathyajit Bhat - AdobeSecuring Containers - Sathyajit Bhat - Adobe
Securing Containers - Sathyajit Bhat - AdobeCodeOps Technologies LLP
 
AEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAndrew Khoury
 
Build a notepad application with PHP, MongoDB, and IBM Bluemix - by Vikram Va...
Build a notepad application with PHP, MongoDB, and IBM Bluemix - by Vikram Va...Build a notepad application with PHP, MongoDB, and IBM Bluemix - by Vikram Va...
Build a notepad application with PHP, MongoDB, and IBM Bluemix - by Vikram Va...Carlos Tomas
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfAmazon Web Services
 
Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...
Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...
Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...mfrancis
 
Securing Containers - Sathyajit Bhat - Adobe - Container Conference 18
Securing Containers - Sathyajit Bhat - Adobe - Container Conference 18Securing Containers - Sathyajit Bhat - Adobe - Container Conference 18
Securing Containers - Sathyajit Bhat - Adobe - Container Conference 18CodeOps Technologies LLP
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfAmazon Web Services
 
Extending An Android App Using the IBM Push for Bluemix Cloud Service
Extending An Android App Using the IBM Push for Bluemix Cloud ServiceExtending An Android App Using the IBM Push for Bluemix Cloud Service
Extending An Android App Using the IBM Push for Bluemix Cloud ServiceIBM developerWorks
 
Building and Customizing CoreOS
Building and Customizing CoreOSBuilding and Customizing CoreOS
Building and Customizing CoreOS雄也 日下部
 
Symfony2 for Midgard Developers
Symfony2 for Midgard DevelopersSymfony2 for Midgard Developers
Symfony2 for Midgard DevelopersHenri Bergius
 
SAP Kapsel Plugins For Cordova
SAP Kapsel Plugins For CordovaSAP Kapsel Plugins For Cordova
SAP Kapsel Plugins For CordovaChris Whealy
 
15 ways-to-optimize-spring-boot-for-the-cloud
15 ways-to-optimize-spring-boot-for-the-cloud15 ways-to-optimize-spring-boot-for-the-cloud
15 ways-to-optimize-spring-boot-for-the-cloudPolyglotMeetups
 
ColdFusion 11 Overview - CFSummit 2013
ColdFusion 11 Overview - CFSummit 2013ColdFusion 11 Overview - CFSummit 2013
ColdFusion 11 Overview - CFSummit 2013Rupesh Kumar
 
Tips and tricks in the OSGi Web Console
Tips and tricks in the OSGi Web ConsoleTips and tricks in the OSGi Web Console
Tips and tricks in the OSGi Web ConsoleKevin Nennig
 
15-ways-to-optimize-spring-boot-for-the-cloud
15-ways-to-optimize-spring-boot-for-the-cloud15-ways-to-optimize-spring-boot-for-the-cloud
15-ways-to-optimize-spring-boot-for-the-cloudBilly Korando
 
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the ProxyCloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the ProxyMaki Toshio
 
DevFest 2022 - Cloud Workstation Introduction TaiChung
DevFest 2022 - Cloud Workstation Introduction TaiChungDevFest 2022 - Cloud Workstation Introduction TaiChung
DevFest 2022 - Cloud Workstation Introduction TaiChungKAI CHU CHUNG
 
UI Customization in AEM 6.0
UI Customization in AEM 6.0UI Customization in AEM 6.0
UI Customization in AEM 6.0Gilles Knobloch
 

Similar to Cloud Community Engineering - Holiday readiness (20)

Securing Containers - Sathyajit Bhat - Adobe
Securing Containers - Sathyajit Bhat - AdobeSecuring Containers - Sathyajit Bhat - Adobe
Securing Containers - Sathyajit Bhat - Adobe
 
AEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser Caching
 
Build a notepad application with PHP, MongoDB, and IBM Bluemix - by Vikram Va...
Build a notepad application with PHP, MongoDB, and IBM Bluemix - by Vikram Va...Build a notepad application with PHP, MongoDB, and IBM Bluemix - by Vikram Va...
Build a notepad application with PHP, MongoDB, and IBM Bluemix - by Vikram Va...
 
2014 cf summit_clustering
2014 cf summit_clustering2014 cf summit_clustering
2014 cf summit_clustering
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...
Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...
Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...
 
Securing Containers - Sathyajit Bhat - Adobe - Container Conference 18
Securing Containers - Sathyajit Bhat - Adobe - Container Conference 18Securing Containers - Sathyajit Bhat - Adobe - Container Conference 18
Securing Containers - Sathyajit Bhat - Adobe - Container Conference 18
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
Extending An Android App Using the IBM Push for Bluemix Cloud Service
Extending An Android App Using the IBM Push for Bluemix Cloud ServiceExtending An Android App Using the IBM Push for Bluemix Cloud Service
Extending An Android App Using the IBM Push for Bluemix Cloud Service
 
Building and Customizing CoreOS
Building and Customizing CoreOSBuilding and Customizing CoreOS
Building and Customizing CoreOS
 
Symfony2 for Midgard Developers
Symfony2 for Midgard DevelopersSymfony2 for Midgard Developers
Symfony2 for Midgard Developers
 
Sst hackathon express
Sst hackathon expressSst hackathon express
Sst hackathon express
 
SAP Kapsel Plugins For Cordova
SAP Kapsel Plugins For CordovaSAP Kapsel Plugins For Cordova
SAP Kapsel Plugins For Cordova
 
15 ways-to-optimize-spring-boot-for-the-cloud
15 ways-to-optimize-spring-boot-for-the-cloud15 ways-to-optimize-spring-boot-for-the-cloud
15 ways-to-optimize-spring-boot-for-the-cloud
 
ColdFusion 11 Overview - CFSummit 2013
ColdFusion 11 Overview - CFSummit 2013ColdFusion 11 Overview - CFSummit 2013
ColdFusion 11 Overview - CFSummit 2013
 
Tips and tricks in the OSGi Web Console
Tips and tricks in the OSGi Web ConsoleTips and tricks in the OSGi Web Console
Tips and tricks in the OSGi Web Console
 
15-ways-to-optimize-spring-boot-for-the-cloud
15-ways-to-optimize-spring-boot-for-the-cloud15-ways-to-optimize-spring-boot-for-the-cloud
15-ways-to-optimize-spring-boot-for-the-cloud
 
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the ProxyCloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
 
DevFest 2022 - Cloud Workstation Introduction TaiChung
DevFest 2022 - Cloud Workstation Introduction TaiChungDevFest 2022 - Cloud Workstation Introduction TaiChung
DevFest 2022 - Cloud Workstation Introduction TaiChung
 
UI Customization in AEM 6.0
UI Customization in AEM 6.0UI Customization in AEM 6.0
UI Customization in AEM 6.0
 

Recently uploaded

Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 

Recently uploaded (20)

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 

Cloud Community Engineering - Holiday readiness

  • 1. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Cloud Holiday readiness preparation Ben Batschelet, Bohdan Korablov, Oleh Posyniak
  • 2. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Consumer locks  Check environment variable on containing the path to locks  Connect by ssh and run the command: echo $MAGENTO_CLOUD_LOCKS_DIR You should see the path to the lock dir like this: /run/<project_id>/locks  Check the configuration in the env.php file  Connect by ssh and run the command: cat app/etc/env.php | grep "'lock'" -A7 You should see the next configuration:  https://devdocs.magento.com/guides/v2.3/cloud/env/variables- deploy.html#lock_provider 3 'lock’ => array ( 'provider' => 'file’, 'config’ => array ( 'path' => '/run/<project_id>/locks’, ), ),
  • 3. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Check all caches to be enabled  Connect by ssh and run command: bin/magento cache:status You should see that all caches are enabled: 4 Current status: config: 1 layout: 1 block_html: 1 collections: 1 reflection: 1 db_ddl: 1 compiled_config: 1 eav: 1 customer_notification: 1 config_integration: 1 config_integration_api: 1 target_rule: 1 full_page: 1 config_webservice: 1 translate: 1 vertex: 1
  • 4. © 2019 Adobe. All Rights Reserved. Adobe Confidential. MySQL slave connection Check the configuration in the .magento.env.yaml file: https://devdocs.magento.com/guides/v2.3/cloud/env/variables- deploy.html#mysql_use_slave_connection 5 stage: deploy: MYSQL_USE_SLAVE_CONNECTION: true
  • 5. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Redis slave connection Check the configuration in the .magento.env.yaml file: Do not use Redis slave connection if your environment runs on a split architecture. https://devdocs.magento.com/guides/v2.3/cloud/env/variables- deploy.html#redis_use_slave_connection 6 stage: deploy: REDIS_USE_SLAVE_CONNECTION: true
  • 6. © 2019 Adobe. All Rights Reserved. Adobe Confidential. NewRelic metrics 7
  • 7. © 2019 Adobe. All Rights Reserved. Adobe Confidential. NR Databases 8
  • 8. © 2019 Adobe. All Rights Reserved. Adobe Confidential. NR Transactions 9
  • 9. © 2019 Adobe. All Rights Reserved. Adobe Confidential. NR Errors 10
  • 10. © 2019 Adobe. All Rights Reserved. Adobe Confidential. NR Errors – stacktrace 11
  • 11. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Check Fastly cache to be working properly  Check the headers for your site  At a minimum check your home page, but also consider checking individual category & product pages  Look for HIT in the X-Cache header  Once is perfectly ok, either order is fine. Just don't want MISS, MISS.  Use any tool you like (HTTPie, cURL, Postman, even Chrome)  May need to run a request two or more times before cache hit
  • 12. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Warm-up pages to be configured  Don't make your first customer(s) do all the heavy lifting  Make sure key URLs are already cached by Fastly immediately after deploy  Configure WARM_UP_PAGES  List of URLs and/or patterns (categories or CMS pages) 14 stage: post-deploy: WARM_UP_PAGES: - / # your home page - /contact # contact page - cms-page:*:default # all the CMS pages for your default store - category:toys:* # the "toy" category for all your stores - category:|.*red.*|:5 # any category with the word "red" in it for your store ID 5
  • 13. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Logs 15 • /var/log/platform/<project ID>(_stg)/errors.log PHP • /var/log/platform/<project ID>(_stg)/access.log Nginx • /var/log/mysql/mysql-slow.log • /var/log/mysql/mysql-error.log • Process list MySQL • ~/var/log/cloud.log Cloud • ~/var/report • ~/var/log Magento application
  • 14. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Cloud Team coverage  Increased on call coverage from November 18th – December 8th  Borrowing engineering / L3 support from Core and Performance teams  Equal L3 support day and night during the holidays 16
  • 15. © 2019 Adobe. All Rights Reserved. Adobe Confidential. IP blocking with Fastly
  • 16. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Kill crons with CLI  ./vendor/bin/ece-tools cron:kill 19
  • 17. © 2019 Adobe. All Rights Reserved. Adobe Confidential. SCD on Build  Move Static Content on build  Turn off SCD_ON_DEMAND variable  Configure Zero-downtime  https://devdocs.magento.com/guides/v2.3/cloud/deploy/reduce-downtime.html
  • 18. © 2019 Adobe. All Rights Reserved. Adobe Confidential. ECE-Tools version  Keep ECE-Tools up-to-date  Check the current version to be 2002.0.20+ cat composer.lock | grep ece-tools 21
  • 19. © 2019 Adobe. All Rights Reserved. Adobe Confidential. No re-deployments during peak hours  Plan changes ahead  Re-deployment cleans caches 22
  • 20. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Magento tuning  Enabled modules may add performance degradation  Double-check if 3rd-party modules don’t flush cache on admin actions  Check indexers to be set On Schedule  Check if robots.txt are configured properly 23
  • 21. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Additional resources  Cloud Community channel  #cloud - https://magentocommeng.slack.com/messages/C8CBB6K9V  DevDocs  https://devdocs.magento.com/guides/v2.3/cloud/bk-cloud.html 24
  • 22. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Q&A 25