Similarities
#- They both use the AWS global network and its edge locations around the world.
- Both services integrate with AWS shield for DDoS protection.
- They both support Anycast Static IP addresses, which allows you to use a single IP address for your application, regardless of where it is hosted.
Differences
#CloudFront
#- Improves performance for both cacheable cacheable content(such as images and videos) and dynamic content(such as APIs and dynamic site delivery).
- Content is served at the edge.
Global Accelerator
#- Improves performance for TCP and UDP traffic.
- Proxying packets at the edge to applications running in one or more AWS Regions.
- Good fit for non-HTTP use cases, such as gaming(UDP), IoT(MQTT), or Voice over IP.
- Good for HTTP use cases that require static IP addresses.