I've set up a CloudFront distribution just to experiment, but now that I'm cleaning up my AWS account, I'm running into issues trying to delete it. When I attempt to remove the distribution, I get an error that says, "Failed to delete distribution: You can't delete this distribution while it's subscribed to a pricing plan. After you cancel the pricing plan, you can delete the distribution at the end of the monthly billing cycle."
I'm a bit confused because I opted for the Free Tier flat-rate plan, so I'm not sure which pricing plan it's talking about. What's preventing me from deleting the distribution? Is there something else I need to take care of first? I'm really anxious about potential unexpected charges and want to ensure everything gets deleted safely. Any tips would be greatly appreciated!
5 Answers
If you're really worried about keeping costs down, consider closing your entire AWS account. You can always start fresh with a new account later if needed.
The flat-rate plans are relatively new, and there might not be much information out there. The link that was shared regarding the AWS doc is a good start. Just so you know, you might still have to wait until the end of the billing cycle for that free plan to be fully removed. Make sure to disable the distribution too, just to avoid any costs.
Just a quick tip: make sure your distribution is in a 'Disabled' state before trying to delete it. You can't remove it while it's still active.
Check out the 'cancel pricing plan' section in the official AWS documentation. They provide details on how to manage your pricing plans. It might help clarify what's going on with your distribution.
You might want to get in touch with AWS account and billing support directly. They'll have the details for your account and can guide you on how to remove what you need to avoid any charges.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads