Amazon CloudFront is a content delivery web service. It integrates with other Amazon Web Services products to give developers and businesses an easy way to distribute content to end users with low latency, high data transfer speeds, and no minimum usage commitments.
Amazon CloudFront can be used to deliver your entire website, including dynamic, static, streaming, and interactive content using a global network of edge locations. Requests for your content are automatically routed to the nearest edge location, so content is delivered with the best possible performance. Amazon CloudFront is optimized to work with other Amazon Web Services, like Amazon Simple Storage Service (Amazon S3), Amazon Elastic Compute Cloud (Amazon EC2), Amazon Elastic Load Balancing, and Amazon Route 53. Amazon CloudFront also works seamlessly with any non-AWS origin server, which stores the original, definitive versions of your files. Like other Amazon Web Services products, there are no long-term contracts or minimum monthly usage commitments for using Amazon CloudFront – you pay only for as much or as little content as you actually deliver through the content delivery service.
This command helps to determine the usage of Amazon CloudFront. The user will come to know about the different way/format to execute this module. This command guides the end user to know the purpose of this command. Below given are the command and the screenshot of the same.
There are three alternative parameters which can be used in command line.
AWSEC2, awsec2, aws-ec2
Management Console: Amazon CloudFront works with the AWS Management Console. This web-based, point-and-click, graphical user interface lets you manage Amazon CloudFront without writing any code at all.
Dynamic Content: Use Amazon CloudFront to deliver all of your content, including the dynamic portions of your site that change for each end-user.
Support for POST/PUT and other HTTP Methods: Use CloudFront to accelerate data uploaded from end users.
Custom SSL: Use your own domain name and your own SSL certificate to deliver content over HTTPS.
Invalidation: Remove copies of a file from all Amazon CloudFront edge locations.
Wildcard CNAME Support: Map a wildcard domain name to your Amazon CloudFront distribution network.
Zone Apex Support: Visitors to your website can now access your site at the zone apex (or “root domain”). For example, your site can be accessed as example.com instead of www.example.com.
Custom Error Responses: Configure how CloudFront handles error responses for your website.