Inaccurate Design

Jekyll S3 with non-US endpoint

Sunday, 28 October 2012

I decided to upgrade the gems on my server to the latest versions today. Once I upgraded, the Jekyll S3 gem stopped being able to push to my S3 bucket, which is hosted in Singapore.

I’d forgotten that it only supported US region buckets, and that I’d hacked the old version to accommodate a user specified endpoint. See the commit on my Github repo for the changes. The user now has the option to specify ‘s3_endpoint’ in the Jekyll-S3 config file.

(Note that this has only been tested on my setup, and I have no idea how it’ll work with buckets in other regions and if I broke the Cloudfront support)