<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python on Build on AWS</title><link>https://buildonaws.lakil.org/tags/python/</link><description>Recent content in Python on Build on AWS</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 14 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://buildonaws.lakil.org/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Sharing Large Files with Customers — Automating S3 + CloudFront Signed URLs</title><link>https://buildonaws.lakil.org/posts/share-files-with-signed-url/</link><pubDate>Thu, 14 May 2026 00:00:00 +0000</pubDate><guid>https://buildonaws.lakil.org/posts/share-files-with-signed-url/</guid><description>&lt;h1 id="sharing-large-files-with-customers--automating-s3--cloudfront-signed-urls"&gt;Sharing Large Files with Customers — Automating S3 + CloudFront Signed URLs&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; When you need to share large files or directories with customers, this script automates the entire flow — zip compression, S3 upload, and CloudFront Signed URL generation — in a single command: &lt;code&gt;sharelink.py &amp;lt;path&amp;gt;&lt;/code&gt;. The generated link is valid for 7 days.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Key Terms:&lt;/strong&gt; CloudFront Signed URL = A time-limited URL that grants access to a CloudFront distribution, signed with an RSA key pair | S3 = Amazon Simple Storage Service, object storage | OAC = Origin Access Control, restricts direct S3 access so files are only accessible through CloudFront&lt;/p&gt;</description></item></channel></rss>