whats the best architecture for magento in AWS ec2
-
15-04-2021 - |
Pregunta
I am using magento 2.3 on AWS ec2 but the performance is quite not good full website load is about 5 sec.
I am using following structure :
- Application instance : EC2 t2.xlarge
- Mysql RDS : db.t3.large
- AWS CloudFront for media images
I am ready to change the instance types or adding any additional services. but need the website to load within 2-3 sec.
Solución
you can follow these steps and instance updates
- UpGrade Magento to latest stable 2.4.1 & also check if any updates are there for 3rd party modules.
- Install and configure Elastic Search
- Update your application instance to c5d.xlarge or c5d.2xlarge
- Initially create a backup and remove RDS then install Mysql Server on the same instance.
- Install and configure Redis-cache
- Configure fastly for better results of caching.
- Check if any cacheable false blocks are there in layout XML files.
let me know if you need any more help. kindly accept as a solution if this works for you.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange