06-19-2021, 09:59 AM
(06-16-2021, 03:18 PM)tbelldesignco Wrote: Upon even more research, I have findings! So CloudFront, Amazon's CDN works in conjunction with the LoadBalancer to help serve static images, CSS and JS. The load balancer however, is for hardware management. So we currently have our EC2 here in the United States, located in Ohio, and we are now looking at an EC2 in the UK. What happens with the load balancer is depending on your location, it will route you to the EC2 instance that is closest to your IP address. Both instances are EXACT mirrors of each other, but the hardware is localized and the Load Balancer shifts you off on to what it believes is the best instance for your location.
Nice research and findings! So, if both instances are EXACT mirrors of each other, then it sounds like not only static images, CSS and JS are cached.
But I am not very sure.
Still look forward to hearing from you when you go to the next step, how good AWS load balancer can actually perform for your project.