cloudfront invalidation

0

I accidentally created two identical invalidations and I don't want to pay for them twice and it is not possible to delete one of these, what can I do?

asked 7 months ago211 views
1 Answer
0
Accepted Answer

Hi,

The invalidation requests you created are processed as soon as you submit them. This means that it will not be possible to cancel them.

Please keep in mind that the first 1000 invalidation paths you submit to CloudFront are free (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#PayingForInvalidation).

profile pictureAWS
EXPERT
answered 7 months ago
  • OK I got it , I have more questions about this so that I understand the matter:

    1. Do I need to create a new invalidation every time I update my files in s3 - because I want my users to directly receive the content I uploaded and that the display does not freeze.
    2. Do you charge me a fee for creating an invalidation or for each activation of it? (every time a user requests the file)?
    3. Is the service you are currently giving me free and included in our account? Thank you!
  • Hi,

    1. The content is cached in CloudFront until your configured time-to-live expires. If you want to see changes reflected immediately, you could either set the ttl to 0, create an invalidation or exclude certain files/paths from caching.
    2. The invalidations are charged per file path. So, if you are charged the same if you specify /index.html as file path or /*.png for example. Basically, how many different paths do you specify
    3. Virtually all AWS Services are billed on a pay-as-you-go basis, meaning you are charged for usage of the service. In case of CloudFront, the major billing dimensions are data transfer and request count. You can see more details here: https://aws.amazon.com/cloudfront/pricing/

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions