AccessDeniedException while creating AWS Web Cloudfront Distribution

半城伤御伤魂 提交于 2019-12-22 08:30:04

问题


I'm new to AWS and trying to create a Web CloudFront distribution.

I chose:

  • Origin media: wp.s3.s3.amazonaws.com
  • Restrict Bucket Access: Yes
  • Origin Access Identity: Create a new identity
  • Grant Read Permissions on Bucket: Yes, Update Bucket Policy

I get the following error when I click on Create Distribution:

com.amazonaws.services.cloudfront.model.AccessDeniedException: Your account must be verified before you can add new CloudFront resources. 
To verify your account, please contact AWS Support (https://console.aws.amazon.com/support/home#/) and include this error message. (Service: AmazonCloudFront; Status Code: 403; Error Code: AccessDenied; Request ID: 0ade44b6-42ea-11e9-bd99-45671299fde3)

回答1:


A 2014 post says that CloudFront is available for the free account.

I tried to create a distribution and got the same message reported in this thread.

I created an issue as "Michael - sqlbot" suggested in the comments above and I receive a reply informing that the service would be enabled for me.

Why do They not create a submission for the distribution creation that make it clear that need a activation from the support team instead of an error message? :S

So it looks like every new free account must follow this steps:

  1. Try to create a distribution
  2. It will return a error message
  3. Create an issue at support center
  4. Wait for the contact to get the service available



回答2:


For me is fixed now:

  1. I was able to create CloudFront distribution 2 weeks ago.
  2. Week ago CF got broken. I created ticket to support.
  3. Were ping-ponging with AWS support for 7 days (they said that it was their fault).
  4. I am able to create cloud distribution now.



回答3:


I think you need to contact AWS Support. They will give some sort to score to your account and if you the score of your account is low, it doesn't allow you to create a CF Distribution. The support will increase that score for you and you should be able to create it after that,



来源:https://stackoverflow.com/questions/55084436/accessdeniedexception-while-creating-aws-web-cloudfront-distribution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!