3 ms·
Interesting idea to use Lambda. (Personally, I've used Aptly.) --- For the Apt transport, I recommend apt-boto-s3 (https://www.lucidchart.com/techblog/2016/06
by paulddraper 10y ago
Interesting idea to use Lambda. (Personally, I've used Aptly.)
---
For the Apt transport, I recommend apt-boto-s3 (https://www.lucidchart.com/techblog/2016/06/13/apt-transport-for-s3/ https://www.lucidchart.com/techblog/2016/06/13/apt-transport...) that I authored. Unlike apt-transport-s3, it
* Works with AWS v4 signatures (required in some regions)
* Supports If-Modified-Since caching.
* Uses pipelining.
* Uses standard AWS credential resolution, like ~/.aws/credentials or IAM roles
* Allows credentials to be specified per-repo (in the URL)
* Supports both path and virtual-host styles for S3 URLs
And it works with proxies if you use HTTPS_PROXY/HTTP_PROXY environment variables (though I haven't tested this).
- szinck 10y agoOh cool. The only reason I chose apt-transport-s3 was that it was included in Ubuntu 16.10. It also only uses stuff from the standard python library so there's less bootstrapping before it is usable. That does look really cool though. For proxies it would be nice if it supported the standard apt-get proxy declaration. Apt-transport-s3 basically does that and sets the proxy env vars. You could probably get yours into the offical ubuntu repos if you wanted, though.