- Newest
- Most votes
- Most comments
Based on the information provided, there are several potential causes for the "Access Denied" error you're experiencing when trying to save CloudFront distribution settings, even as the root user.
This could be related to IAM permissions issues. Even though you're using the root account, it's worth verifying that there are no policy restrictions affecting CloudFront operations. The root user should have full access by default, but there might be unexpected credential issues.
If you've activated AWS WAF for your distribution, it could be blocking certain requests. You should review the AWS WAF logs to determine if any firewall rules are blocking your save attempts.
Another possibility is that there might be an issue with the Origin Access Identity (OAI) permissions if your distribution is using an S3 origin with restricted access. Ensure that the bucket policy grants the required permissions to the OAI.
Since you mentioned that creating a new CloudFront distribution also fails with the same error, this suggests a broader account-level issue rather than a problem with a specific distribution.
I would recommend:
- Checking for any recent changes to IAM policies or security settings
- Verifying that your AWS account is in good standing (no billing or compliance issues)
- Contacting AWS Support directly as they can investigate account-specific issues that might not be apparent from the console
- Trying to perform the same operations using the AWS CLI or SDK to see if you get more detailed error information
Sources
Troubleshoot CloudFront distribution access issues with CNAMEs and custom origins | AWS re:Post
Can you check in CloudTrail which operation is being denied. It will give you a good idea on what is getting blocked. Also, check S3 bucket policy if there is something specific blocking it.
Relevant content
asked 2 years ago
asked 2 years ago
