Which solution meets these requirements?
Use EC2 instances in a single Availability Zone.
Use EC2 instances across multiple Availability Zones in the same AWS Region.
Use Amazon CloudFront with the EC2 instances configured as the source.
Use EC2 instances in the same edge location and the same AWS Region.
Explanations:
Using EC2 instances in a single Availability Zone does not provide redundancy or minimize latency for users across different geographical locations. If the Availability Zone experiences an outage, the website will become unavailable.
While using EC2 instances across multiple Availability Zones in the same AWS Region offers high availability, it does not inherently minimize latency for global users. It still serves content from a central location, which may not be close to users around the world.
Amazon CloudFront is a content delivery network (CDN) that caches copies of the website at edge locations worldwide. This setup minimizes latency for users, as requests are routed to the nearest edge location, significantly improving load times for global users.
Using EC2 instances in the same edge location and AWS Region does not optimize for global user access. Edge locations are part of the CloudFront network, but EC2 instances themselves cannot be placed directly in edge locations. This option does not effectively reduce latency for users distributed globally.