Amazon CloudFront Error Handling Enhancements

Amazon has just announced two minor enhancements to CloudFront that allow to you to configure how CloudFront handles error responses for your website. For instance, a user might request objects that don’t exist (and receive a 404 Not Found response) or a user you haven’t authorized might attempt to download an object you have secured using CloudFront’s private content feature (and receive a 403 Forbidden response). Previously, CloudFront would respond with a standard HTML page that would be cached for 5 minutes. These two new features provide you with more control over error responses:

  • Custom Error Pages allow you to serve error pages with your own branding and content. For example, you can now help your visitors navigate to other sections of your website when they request an invalid URL, or you can configure a static page to serve as a fallback for failure of an origin webserver.
  • Configurable Cache Duration for Error Responses allows you to specify how long you want each error page to be cached at CloudFront edge locations. Previously, error responses were cached for five minutes.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: