CloudFront CDN
Learn how to configure CloudFront CDN for use with Filebase.
What is CloudFront?
CloudFront is a Content Delivery Network through Amazon Web Services.
A Content Delivery Network is a network of servers across a diverse selection of geographic locations that help improve the speed and quality of content delivery. CDNs allow for quick transfers of content types such as HTML web pages, images, videos, spreadsheets, and javascript applications. CDNs can also help mitigate and protect websites against Distributed Denial of Service attacks (DDoS).
Learn how to connect your Filebase bucket to CloudFront to increase file delivery speeds to and from your bucket.
1. Once you have made your Filebase bucket public, you will need the public URL of the bucket.
The URL format is as follows, where bucket-name is the name of your bucket:
https://bucket-name.s3.filebase.com/
2. Log in to AWS Cloudfront and select ‘Create a Cloudfront Distribution’.
3. Enter your FIlebase Bucket URL for the distribution’s domain. Then select ‘Use [domain-name].’
4. Select the protocol, port number, and enter a name for the distribution.
5. You can also set custom headers, enable Origin Shield, and configure the default cache behavior.
The cache behavior includes settings like the viewer protocol policy, allowed HTTP methods, and custom cache policies.
6. Lastly, configure any alternate domain name (CNAME) record you’d like to configure with the distribution and apply a custom SSL certificate if desired.
Then, select ‘Create Distribution’.
7. Once created, you’ll be brought to the following screen showing the distribution’s details:
8. Your distribution domain name can be opened in a browser tab to test that it redirects to your Filebase bucket:
Last updated