# Using ByteArk Web CDN to Reduce Amazon S3 Costs

Many ByteArk customers trust our service to help reduce Amazon S3 or Amazon CloudFront costs while maintaining fast global content delivery. Here's how to set it up:

# Requirements

  1. A subdomain (this example uses mycdn.example.com)
  2. Ability to modify the subdomain's DNS record to CNAME fleet.cdn.byteark.com.
  3. Verify AWS access permissions. Currently, ByteArk only supports pulling data from public Amazon S3 buckets (or other Origins). Link protection can be enabled through ByteArk CDN later.

# Configuration Steps

  1. Log in to ByteArk Fleet (CDN) > Click Setup New Service and select Web CDN
  2. In the Your Website field, enter your prepared subdomain (in this case mycdn.example.com) For Your Server Address, enter <bucket>.s3-<region>.amazonaws.com For example, if your bucket name is aws-s3-origin and you're using AWS region ap-southeast-1, enter aws-s3-origin.s3-ap-southeast1.amazonaws.com as shown
  3. If you can't configure the CNAME yet, you can test using http://mycdn.example.com.cdn.byteark.com (or by appending .cdn.byteark.com to your configured subdomain)