s3 on davidchua https://dchua.com/tags/s3/ Recent content in s3 on davidchua Hugo -- gohugo.io en-us Thu, 21 Jan 2016 00:00:00 +0000 4 Tips to Supercharge your Jekyll Static Site Hosting https://dchua.com/posts/2016-01-21-proper-jekyll-deployment-workflow-to-s3-static-hosting/ Thu, 21 Jan 2016 00:00:00 +0000 https://dchua.com/posts/2016-01-21-proper-jekyll-deployment-workflow-to-s3-static-hosting/ Supercharge your Jekyll site with these 4 tips. Put your Jekyll into a Git Repository One of the best part of being in a command-line environment is that you have the full power of the tools available to you by your OS environment. Why not make sure you never lose track of your blog posts and revisions by using the power and flexibility of Git. By committing your blog posts and changes as individual commits, you can easily revert back or track changes you make easily at your own convenience. How to make a S3 bucket publicly accessible https://dchua.com/posts/2014-12-13-how-to-make-a-s3-bucket-publicly-accessible/ Sat, 13 Dec 2014 00:00:00 +0000 https://dchua.com/posts/2014-12-13-how-to-make-a-s3-bucket-publicly-accessible/ In your AWS Console, select the Bucket that you’re trying to make public. Under Permissions, add the following bucket policy: { "Version": "2008-10-17", "Id": "...", "Statement": [ { "Sid": "...", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::<REPLACE_THIS_WITH_YOUR_BUCKET_NAME>/*" } ] } Update: Amazon S3, Paperclip and a Curious Case of Singapore Buckets https://dchua.com/posts/2012-04-25-update-amazon-s3-paperclip-and-a-curious-case-of-singapore-buckets/ Wed, 25 Apr 2012 00:00:00 +0000 https://dchua.com/posts/2012-04-25-update-amazon-s3-paperclip-and-a-curious-case-of-singapore-buckets/ This is an update of my previous blog post, “How to get Paperclip and AWS S3 Singapore and European Buckets Working”. Since the post last year in December, Amazon had released its official AWS SDK for ruby which is now available as the ‘aws-sdk’ rubygem. Paperclip had also made an update in its core to directly support AWS-SDK over marcel’s AWS-S3 gem. This little guide is supposed to help you get quickly started uploading your images into S3 via Paperclip and the new gem. Using Amazon S3 as your private git repository https://dchua.com/posts/2012-01-12-using-amazon-s3-as-your-private-git-repository/ Thu, 12 Jan 2012 00:00:00 +0000 https://dchua.com/posts/2012-01-12-using-amazon-s3-as-your-private-git-repository/ Been trying to move my git repositories and apps from my old (and expensive) VPS into Amazon’s EC2 when I asked myself whether it is possible to push use Amazon S3 as a git repository. Some searching later, I found out the answer. YES! It is not only possible to push your repositories into your S3 bucket, but its also possible to do so even when your bucket is in a non-US region.