Category

CloudFront

How to Add Caching Headers to Your Objects Using Amazon S3

AWS CloudFront is a content distribution service offered by AWS to serve low latency content with high data speed. CloudFront caches the object to its edge location. By default any object stays in the edge location for 24 hours after which CloudFront sends the request to its caching origin to fetch the object again. If the user has more dynamic data that requires frequent updates, it is recommended to lower the caching period. If the object does not change for a longer period and is requested frequently, it is advisable to increase the caching period. This is because the data transfer cost between S3 and CloudFront will be reduced. In addition, the latency will also improve as the load on the origin will be reduced.

The present guide demonstrates how to set cache-control and the expiration headers to an S3 object.

How to Disable or Delete a CloudFront Distribution

AWS CloudFront is a content distribution service offered by AWS to serve low latency content with high data speed. In CloudFront, the content is organized into distributions and any request to the distribution is automatically served from the nearest edge locations. There are two types of distributions with CloudFront: (1) Download Distribution and (2) Streaming Distribution. The CloudFront distribution cannot be deleted if it is enabled. It is required to first disable the distribution before deleting. During the distribution creation stage, the CloudFront distribution will be in “In Progress” state (Creation in progress state) and the user cannot delete the distribution during that state. When a distribution is deleted, it will take some time (10-15 Minutes) to cascade all the changes to the CloudFront database.

The present guide demonstrates how to disable and delete the existing CloudFront download distribution.

How to List, View and Update an AWS CloudFront Distribution

AWS Cloudfront is a content distribution service offered by AWS to speed up the distribution of static content, such as media files, html, js, css, etc. Cloudfront serves its content through edge locations. In Cloudfront, the content is organized into distributions. There are two types of distributions with CloudFront: (1) Download CloudFront  Distribution and (2) Streaming Distribution. When the user updates the configuration distribution, all the changes are propagated to all the edge locations. Until all the edge locations are updated with the changes, Cloudfront continues to serve the content from the previous distribution.

The present guide demonstrates how to view and update the existing Cloudfront download distribution.

How to Create an AWS CloudFront Streaming Distribution (and Stream Media Using a JW Player)

AWS CloudFront is a content distribution service offered by AWS to speed up the distribution of static content, such as media files, html, js, css, etc. CloudFront serves its content through edge locations. As of Dec 2021, AWS had more than 35+ edge locations across the globe. When the user requests for any static content from CloudFront, it will find the nearest edge location to the user and deliver the content from that edge location to reduce the latency.

CloudFront can stream media file using Adobe Real-Time Messaging Protocol (RTMP). The streaming file needs to be on AWS S3 and cannot be served from any other origin.

The present guide demonstrates how to create the CloudFront streaming distribution and stream media using the JW Player.

How to Create a CloudFront Download Distribution with AWS S3

AWS CloudFront is a content distribution service offered by AWS to speed up the distribution of static or dynamic content, such as media files, html, js css, etc as well php. CloudFront serves its content through edge locations. As of Dec 2021, AWS had more than 35+ edge locations across the globe. When the user requests for any static content from CloudFront, it will find the nearest edge location to the user and deliver the content from that edge location to reduce the latency.

The present guide demonstrates how to create a download distribution with the AWS S3 service for CloudFront.

Amazon AWS for the Retail Industry

The following presentation was created by Ryan Shuttleworth, Technology Evangelist at Amazon Web Services, in collaboration with Adam Bidwell, eCommerce Manager at Kurt Geiger. In a sequence of very informative slides, they discuss how retailers are using AWS to carry out a number of business critical functions.

Enable CloudFront for Your Application’s Non-Dynamic Content

CloudFront is Amazon’s Content Delivery Network, a service that aims to speed up delivery of content to users in different geographies. It gives developers access to a worldwide infrastructure that minimizes latency by serving content from the edge location closest to the end user.

This article describes two basic use cases utilizing a CDN for non-dynamic content in a typical web application, and provides CloudFront-specific configuration examples.

How-to Improve Your WordPress Site Performance With AWS CloudFront

TWordPress with AWS CloudFronthis article guides on how to install and configure total cache plug-in, utilizing AWS CloudFront to improve and boost the performance of your WordPress site, and improve the user experience.  W3 Total Cache plugin is a performance optimization WordPress plug-in that improves your website online performance, by caching every aspect of your site, reducing the download times and providing transparent content delivery network (CDN) integration. I invite you to use this guide in order to greatly improve your WordPress website’s speed using W3 Total Cache and Amazon AWS (CDN) CloudFront.

 

How I Learned not to fear Amazon Cloud Lock-in

Following Max B. post on KnowYourCloud and based on questions received at AWS Usergroup meetups I realized that there is a reasonable (but sometimes exaggerated) concern about the level of lock-in to AWS. In this article we will try to put the problem in the right perspective and explain the practical lock-in considerations for the various services of Amazon’s cloud. 

What is vendor lock-in? Vendor lock-in is the situation where a business becomes overly dependent on a specific service or product provider.

Should I worry?

Hitchhiker's Guide to The Cloud

Newvem's eBook for Cloud Operations