Skip to main content

Aws

AWS S3 Files: S3 Buckets as NFS Filesystems

·2 mins
I’ve hit this problem twice now. At MetaCPAN, we were looking at using S3 as a sync target for rsync from upstream CPAN — conceptually simple, except rsync wants a filesystem and S3 very much isn’t one. More recently, I wanted to mount an S3 bucket as an image cache for Buildah. Same wall. You end up writing glue code, or reaching for a FUSE driver that may or may not be production-ready, or just redesigning around the limitation.

Logging Into Multiple AWS SSO Sessions at Once

·2 mins
I use Granted for per-terminal AWS credential assumptions — it’s great for switching between the multiple work accounts I juggle throughout the day. But I have SSO configured across more than one organization, and every morning I was logging into each one manually, one at a time, like a chump. Turns out aws sso login has a --sso-session flag that targets a named session block from ~/.aws/config. So logging into multiple orgs is just two commands: