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