This forum is now Read-Only. The Magento Community Forum is scheduled to close permanently on December 31, 2025. Please save any necessary information before this date. Join us on Slack for continued engagement!
This is our current Architecture, we using Magento2 with Nginx (Using Magento Front-End itself) in single -server
I am looking for suggestions for auto-scaling and CDN
For auto-scaling
I have already tried to set up auto-scaling with 2 servers in load -balancer due to Magento-front-end we facing session and caching issues, also due to dynamic user date sync-up in /pub/static we are unable to make it stable
I have tried to use EFS with a single mount for two-server but it makes low performance due to EFS behavior
For CDN I have tried AWS CloudFront with the below Architecture
For Example
current load-balancer site - DNS mapped with the web. example. com