You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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:
.s3.amazonaws.com. Do not use the Amazon S3 path style for specifying the bucket,
which is s3.amazonaws.com/. If the bucket has a CNAME alias, you must specify the
bucket name and not the CNAME alias.''