New feature: AWS CloudFront integration

New feature: AWS CloudFront integration

Following the Cloudflare integration released 4 weeks ago, we're happy to announce BuddyWorks now officially supports AWS CloudFront

AWS CloudFront is a Content Delivery Network that shortens the time required to access your website.

How CloudFront works

Let's assume you have a server where you host your website. The further the distance from the server, the longer the visitor must wait to access the site:

Image loading...Serving website without CDN

A Content Delivery Network like CloudFront allows you to cache the sources of your website in multiple locations spread around the globe. This way your website is served from the closest location to the visitor, allowing you to maintain high loading and response times:

Image loading...Serving website with CDN

Invalidating CloudFront after deployment

Almost all developers who signed up for BuddyWorks have at least one deployment action in their pipelines. Adding the CloudFront integration means you can now automatically purge your CloudFront's cache on every deployment. All you need to do is add the CloudFront action at the end of the line:

Image loading...Pipeline with CloudFront

Similarly to Cloudflare, you can select the distribution (zone) and the path that you want to invalidate and decide whether to purge the whole cache or only the files that have been deployed:

Image loading...CloudFront action details

INFO: Until now, you could already invalidate CloudFront in the AWS S3 deployment action. We have left this option available for the time being, but eventually it will be removed in favor of the new action. If you use the invalidation in your S3 actions, you will be notified one month in advance before it happens so that you have enough time to reconfigure your pipelines.

Jarek Dylewski

Jarek Dylewski

Customer Support

A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.

May 4th 2017
Share