Search code examples
amazon-web-servicesamazon-s3amazon-cloudfront

Amazon S3 Multiple Custom Domain Without Cloudfront


Is it possible to setup Amazon's Simple Storage Solution to use custom domains (storage-01.example.com, storage-02.example.com, storage-03.example.com, ...) without using Cloud Front? I don't really care about having an 'edge' network, but do want the browsers to make parallel requests for assets. Thanks!


Solution

  • No, unless you duplicate your keys into multiple S3 buckets. This is because S3 uses the Host header value as a reference to the bucket.

    I guess you could be sneaky and take advantage of the different URL styles. But it's a horrible suggestion and I would never implement it.