Ticket #3068 (closed defect: fixed)
The parameter Origin does not refer to a valid S3 bucket
| Reported by: | dkocher | Owned by: | dkocher |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | s3 | Version: | 3.1.1 |
| Severity: | normal | Keywords: | |
| Cc: | Platform: | ||
| Architecture: |
Description
I might have missed something, but I can't figure out how to setup an Amazon CloudFront distribution (I have a AWS account with S3 and Cloudfront enabled) When I try to set the check box, the Where field stays at Unknown, pressing "apply" shows an error: The parameter Origin does not refer to a valid S3 bucket. The transcript is:
Date: Wed, 18 Feb 2009 10:59:04 GMT[\r][\n] Cneonction: close[\r][\n] Server: CloudFront[\r][\n] [\r][\n] [\r][\n]
Change History
comment:2 Changed 18 months ago by dkocher
The documentation in the CloudFront developer guide is clear about this:
When you create the distribution, you specify the origin server bucket's name using this format: <bucket name>.s3.amazonaws.com. Do not use the Amazon S3 path style for specifying the bucket, which is s3.amazonaws.com/<bucket name>. If the bucket has a CNAME alias, you must specify the bucket name and not the CNAME alias.
comment:3 Changed 18 months ago by dkocher
- Status changed from new to closed
- Resolution set to fixed
In r4504.
comment:5 Changed 6 months ago by avenue hunter
Thanks dkocher for helping us out neophytes in creating new Amazon CloudFront distribution. I would never have figured to use bucket name also. Now, I can go back to the tech problem free days and indulge in my hobbies - going to the beach, professional resume writing, and clubbing.

This issue occurs only when creating a new distribution. Updating an existing distribution works as expected. The issue seems to be that the Origin parameter is expected to be <bucketname>.s3.amazonaws.com but we only send <bucketname> for the parameter.