S3: Presigned URL upload with tags

S3 native feature of presigned URL is great - you can save on compute costs as everything will be handled by AWS for you. However, there's not much you can set when generating the URL, basically just Content-Type and Content-Disposition. But to set tags on the object, you need another call to the service. What if we wanted to store for example a description of a photo in the tag? We have 256 bytes for that so there's some space and compared to a standard implementations with the database, tags are free

May 2, 2025 - 06:19
 0
S3: Presigned URL upload with tags

S3 native feature of presigned URL is great - you can save on compute costs as everything will be handled by AWS for you. However, there's not much you can set when generating the URL, basically just Content-Type and Content-Disposition. But to set tags on the object, you need another call to the service. What if we wanted to store for example a description of a photo in the tag? We have 256 bytes for that so there's some space and compared to a standard implementations with the database, tags are free