Performance and scalability are paramount in web application development. One of the most effective strategies to enhance these aspects is decoupling your application components, mainly by separating image hosting from your EC2 instances.
https://businesscompassllc.com/supercharge-your-web-app-integrating-aws-ec2-and-s3-for-optimized-image-hosting/)