Skip to content

AwsS3 Upload - add option to use top-level folder for CloudFront invalidation #63

@smalers

Description

@smalers

CloudFront invalidations are relatively expensive. 1000 paths per month are free and then each path is .5 cent. Running a lot of automated workflows with uploads can add up in cost.

Paths can include a wildcard and will handle all objects from that point and "sub-folders" (even though folders are not actually used, just keys to objects). Therefore, one way to minimize costs is to determine the highest level CloudFront path for files being uploaded and invalidate that prefix with a wildcard. To enable, a command parameter like InvalidateTop=true could be enabled. Maybe make it the default so as to automatically phase in cost savings.

Metadata

Metadata

Assignees

Labels

SSize: day or lessenhancementNew feature or requesthighPriority: next release if possible

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions