SlideShare a Scribd company logo
1 of 20
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Magento Remote Storage with AWS S3
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Oleh Posyniak
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Introduction
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Comparison of AWS storages
4
S3
• Cheaper
• Lifecycle control
• Easy to setup and use
• Application-side
• Pay per API calls only
(within same region)
EFS
• Faster
• More expensive
• Server-side
• Pay per storage
EBS
• Faster
• More expensive
• Server-side
• Pay per storage
• Single EC2 instance
per EBS volume
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Architecture
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Use cases
6
Node 1 Node 2 Node N
AWS S3 bucket
External ERP
AWS EC2 with
GlusterFS
(Magento
Cloud)
EFS/EBS
volume
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Adapters
Driver/FileInterface with
Flysystem adapter
Flysystem/Azure Flysystem/DigitalOcean Flysystem/…
Magento/AwsS3
7
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Configuration and authentication
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Bucket permissions
9
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Bucket authentication
Method Is supported on
prem
May be supported on
Cloud
Is recommended
Access key + Secret
key
Yes No No
IAM role Yes Yes Yes
10
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Stored folders
pub/media var/import,export
11
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Image resizing
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Configurations
Name get.php (default) Nginx proxy_pass Fastly
(fastly/magento2)
Web-server Apache/Nginx Nginx Apache/Nginx
Additional
configuration
None Nginx config Fastly module and vcl
Resizing backend backend/Nginx backend/Fastly
Recommended No Yes Yes
Performance Poor Good Good
Cost More Less Less
13
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Image resizing with Nginx
14
Request Nginx
Remote
storage
In
cache
?
Resizing
needed?
Store in
cache
Respons
e
Yes
No
Resize
Yes
No
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Caching
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Overview
16
Edge cache, CDN
Magento instance
Remote storage
Persistent cache
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Caching
Image (file, binary format)
• Local storage (TBA)
Metadata (size, width, height)
• Memory
• File
• Redis with predis/predis extension
17
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Cache adapters
• Enabled by default
• Per-request
Memory
• Requires Redis
• Additional configuration
• Persistent
predis/predis
• Not implemented
php-redis
• Not implemented
Stash
18
© 2019 Adobe. All Rights Reserved. Adobe Confidential.
Demo
19
© 2019 Adobe. All Rights Reserved. Adobe Confidential.

More Related Content

What's hot

What's hot (20)

IPv6って何?(拡張ヘッダ編)
IPv6って何?(拡張ヘッダ編)IPv6って何?(拡張ヘッダ編)
IPv6って何?(拡張ヘッダ編)
 
AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)
AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)
AWS IoT Coreを オンプレミス環境と使う際の アーキテクチャ例 (AWS IoT Deep Dive #5)
 
Advanced Architectures with AWS Transit Gateway
Advanced Architectures with AWS Transit GatewayAdvanced Architectures with AWS Transit Gateway
Advanced Architectures with AWS Transit Gateway
 
[NEW LAUNCH!] Introduction to AWS Global Accelerator (NET330) - AWS re:Invent...
[NEW LAUNCH!] Introduction to AWS Global Accelerator (NET330) - AWS re:Invent...[NEW LAUNCH!] Introduction to AWS Global Accelerator (NET330) - AWS re:Invent...
[NEW LAUNCH!] Introduction to AWS Global Accelerator (NET330) - AWS re:Invent...
 
NGINX Kubernetes Ingress Controller: Getting Started – EMEA
NGINX Kubernetes Ingress Controller: Getting Started – EMEANGINX Kubernetes Ingress Controller: Getting Started – EMEA
NGINX Kubernetes Ingress Controller: Getting Started – EMEA
 
はじめよう DynamoDB ハンズオン
はじめよう DynamoDB ハンズオンはじめよう DynamoDB ハンズオン
はじめよう DynamoDB ハンズオン
 
Creating your Hybrid Cloud with AWS -Technical 201
Creating your Hybrid Cloud with AWS -Technical 201Creating your Hybrid Cloud with AWS -Technical 201
Creating your Hybrid Cloud with AWS -Technical 201
 
아직도 파이썬으로만 머신 러닝 하니? 난 SQL로 바로 쓴다. - 송규호, AWS 솔루션즈 아키텍트/ 정의준, AWS 테크니컬어카운트 매...
아직도 파이썬으로만 머신 러닝 하니? 난 SQL로 바로 쓴다.  - 송규호, AWS 솔루션즈 아키텍트/ 정의준, AWS 테크니컬어카운트 매...아직도 파이썬으로만 머신 러닝 하니? 난 SQL로 바로 쓴다.  - 송규호, AWS 솔루션즈 아키텍트/ 정의준, AWS 테크니컬어카운트 매...
아직도 파이썬으로만 머신 러닝 하니? 난 SQL로 바로 쓴다. - 송규호, AWS 솔루션즈 아키텍트/ 정의준, AWS 테크니컬어카운트 매...
 
Networking Brush Up for Amazon AWS Administrators
Networking Brush Up for Amazon AWS AdministratorsNetworking Brush Up for Amazon AWS Administrators
Networking Brush Up for Amazon AWS Administrators
 
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
 
From 0 to 100M+ Emails Per Day: Sending Email with Amazon SES (SVC301) | AWS ...
From 0 to 100M+ Emails Per Day: Sending Email with Amazon SES (SVC301) | AWS ...From 0 to 100M+ Emails Per Day: Sending Email with Amazon SES (SVC301) | AWS ...
From 0 to 100M+ Emails Per Day: Sending Email with Amazon SES (SVC301) | AWS ...
 
PHPでスマホアプリにプッシュ通知する
PHPでスマホアプリにプッシュ通知するPHPでスマホアプリにプッシュ通知する
PHPでスマホアプリにプッシュ通知する
 
Build a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million UsersBuild a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million Users
 
Kubernetes security
Kubernetes securityKubernetes security
Kubernetes security
 
エッジ/フォグコンピューティング環境におけるコンテナ/マイクロサービスのメリットとリスク
エッジ/フォグコンピューティング環境におけるコンテナ/マイクロサービスのメリットとリスクエッジ/フォグコンピューティング環境におけるコンテナ/マイクロサービスのメリットとリスク
エッジ/フォグコンピューティング環境におけるコンテナ/マイクロサービスのメリットとリスク
 
[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
 
Build a PCI SAQ A-EP-compliant serverless service to manage credit card payme...
Build a PCI SAQ A-EP-compliant serverless service to manage credit card payme...Build a PCI SAQ A-EP-compliant serverless service to manage credit card payme...
Build a PCI SAQ A-EP-compliant serverless service to manage credit card payme...
 
DPDKによる高速コンテナネットワーキング
DPDKによる高速コンテナネットワーキングDPDKによる高速コンテナネットワーキング
DPDKによる高速コンテナネットワーキング
 
Build Your Mobile App Faster with AWS Mobile Services (Cognito, Lambda, SNS, ...
Build Your Mobile App Faster with AWS Mobile Services (Cognito, Lambda, SNS, ...Build Your Mobile App Faster with AWS Mobile Services (Cognito, Lambda, SNS, ...
Build Your Mobile App Faster with AWS Mobile Services (Cognito, Lambda, SNS, ...
 
TIME_WAITに関する話
TIME_WAITに関する話TIME_WAITに関する話
TIME_WAITに関する話
 

Similar to Magento 2 with Remote Storage

Similar to Magento 2 with Remote Storage (20)

Webinar AWS: Desmistificando a Nuvem
Webinar AWS: Desmistificando a NuvemWebinar AWS: Desmistificando a Nuvem
Webinar AWS: Desmistificando a Nuvem
 
S903 palla
S903 pallaS903 palla
S903 palla
 
[AWS Media Symposium 2019] Perfecting the Media Experience with AWS - Bhavik ...
[AWS Media Symposium 2019] Perfecting the Media Experience with AWS - Bhavik ...[AWS Media Symposium 2019] Perfecting the Media Experience with AWS - Bhavik ...
[AWS Media Symposium 2019] Perfecting the Media Experience with AWS - Bhavik ...
 
Architecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-PracticesArchitecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-Practices
 
Pitt Immersion Day Module 4 - storage in AWS
Pitt Immersion Day Module 4 - storage in AWSPitt Immersion Day Module 4 - storage in AWS
Pitt Immersion Day Module 4 - storage in AWS
 
Solutions for Storage and Data Migrations | AWS Summit Tel Aviv 2019
Solutions for Storage and Data Migrations | AWS Summit Tel Aviv 2019Solutions for Storage and Data Migrations | AWS Summit Tel Aviv 2019
Solutions for Storage and Data Migrations | AWS Summit Tel Aviv 2019
 
AWSome Day Brasil - Março 2020
AWSome Day Brasil - Março 2020AWSome Day Brasil - Março 2020
AWSome Day Brasil - Março 2020
 
AWSome Day Brasil - Junho 2020
AWSome Day Brasil - Junho 2020AWSome Day Brasil - Junho 2020
AWSome Day Brasil - Junho 2020
 
Create, map, and drive performance with Amazon FSx for Windows File Server - ...
Create, map, and drive performance with Amazon FSx for Windows File Server - ...Create, map, and drive performance with Amazon FSx for Windows File Server - ...
Create, map, and drive performance with Amazon FSx for Windows File Server - ...
 
Deep dive on security in Amazon S3 - STG306 - New York AWS Summit
Deep dive on security in Amazon S3 - STG306 - New York AWS SummitDeep dive on security in Amazon S3 - STG306 - New York AWS Summit
Deep dive on security in Amazon S3 - STG306 - New York AWS Summit
 
Managing Omnichannel Experiences with Adobe Experience Manager (AEM)
Managing Omnichannel Experiences with Adobe Experience Manager (AEM)Managing Omnichannel Experiences with Adobe Experience Manager (AEM)
Managing Omnichannel Experiences with Adobe Experience Manager (AEM)
 
Best Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWS
Best Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWSBest Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWS
Best Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWS
 
“Lift and shift” storage for business-critical applications - STG203 - New Yo...
“Lift and shift” storage for business-critical applications - STG203 - New Yo...“Lift and shift” storage for business-critical applications - STG203 - New Yo...
“Lift and shift” storage for business-critical applications - STG203 - New Yo...
 
Cloud Migration Workshop
Cloud Migration WorkshopCloud Migration Workshop
Cloud Migration Workshop
 
Modernizing_your_Enterprise_Applications
Modernizing_your_Enterprise_ApplicationsModernizing_your_Enterprise_Applications
Modernizing_your_Enterprise_Applications
 
S108283 svc-storwize-lagos-v1905d
S108283 svc-storwize-lagos-v1905dS108283 svc-storwize-lagos-v1905d
S108283 svc-storwize-lagos-v1905d
 
Serverless Databases - Amazon DynamoDB and Amazon Aurora Serverless - Demo
Serverless Databases - Amazon DynamoDB and Amazon Aurora Serverless - DemoServerless Databases - Amazon DynamoDB and Amazon Aurora Serverless - Demo
Serverless Databases - Amazon DynamoDB and Amazon Aurora Serverless - Demo
 
Core services
Core servicesCore services
Core services
 
S106195 cos-use cases-istanbul-v1902a
S106195 cos-use cases-istanbul-v1902aS106195 cos-use cases-istanbul-v1902a
S106195 cos-use cases-istanbul-v1902a
 
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
 

More from Oleg Posyniak (6)

Cloud Community Engineering - Holiday readiness
Cloud Community Engineering - Holiday readinessCloud Community Engineering - Holiday readiness
Cloud Community Engineering - Holiday readiness
 
Magento Cloud Docker - Universal configuration with Oleh Posyniak
Magento Cloud Docker - Universal configuration with Oleh PosyniakMagento Cloud Docker - Universal configuration with Oleh Posyniak
Magento Cloud Docker - Universal configuration with Oleh Posyniak
 
Best practices for developing your Magento Commerce on Cloud
Best practices for developing your Magento Commerce on CloudBest practices for developing your Magento Commerce on Cloud
Best practices for developing your Magento Commerce on Cloud
 
Magento Cloud - Introduction
Magento Cloud - IntroductionMagento Cloud - Introduction
Magento Cloud - Introduction
 
O.Posyniak - UI Components
O.Posyniak - UI ComponentsO.Posyniak - UI Components
O.Posyniak - UI Components
 
Online education – to learn or not to
Online education – to learn or not toOnline education – to learn or not to
Online education – to learn or not to
 

Recently uploaded

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 

Recently uploaded (20)

OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
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-...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 

Magento 2 with Remote Storage

  • 1. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Magento Remote Storage with AWS S3
  • 2. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Oleh Posyniak
  • 3. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Introduction
  • 4. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Comparison of AWS storages 4 S3 • Cheaper • Lifecycle control • Easy to setup and use • Application-side • Pay per API calls only (within same region) EFS • Faster • More expensive • Server-side • Pay per storage EBS • Faster • More expensive • Server-side • Pay per storage • Single EC2 instance per EBS volume
  • 5. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Architecture
  • 6. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Use cases 6 Node 1 Node 2 Node N AWS S3 bucket External ERP AWS EC2 with GlusterFS (Magento Cloud) EFS/EBS volume
  • 7. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Adapters Driver/FileInterface with Flysystem adapter Flysystem/Azure Flysystem/DigitalOcean Flysystem/… Magento/AwsS3 7
  • 8. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Configuration and authentication
  • 9. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Bucket permissions 9
  • 10. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Bucket authentication Method Is supported on prem May be supported on Cloud Is recommended Access key + Secret key Yes No No IAM role Yes Yes Yes 10
  • 11. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Stored folders pub/media var/import,export 11
  • 12. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Image resizing
  • 13. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Configurations Name get.php (default) Nginx proxy_pass Fastly (fastly/magento2) Web-server Apache/Nginx Nginx Apache/Nginx Additional configuration None Nginx config Fastly module and vcl Resizing backend backend/Nginx backend/Fastly Recommended No Yes Yes Performance Poor Good Good Cost More Less Less 13
  • 14. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Image resizing with Nginx 14 Request Nginx Remote storage In cache ? Resizing needed? Store in cache Respons e Yes No Resize Yes No
  • 15. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Caching
  • 16. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Overview 16 Edge cache, CDN Magento instance Remote storage Persistent cache
  • 17. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Caching Image (file, binary format) • Local storage (TBA) Metadata (size, width, height) • Memory • File • Redis with predis/predis extension 17
  • 18. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Cache adapters • Enabled by default • Per-request Memory • Requires Redis • Additional configuration • Persistent predis/predis • Not implemented php-redis • Not implemented Stash 18
  • 19. © 2019 Adobe. All Rights Reserved. Adobe Confidential. Demo 19
  • 20. © 2019 Adobe. All Rights Reserved. Adobe Confidential.