blog.brng.us

    cheat sheet for aws cmd s3 cp

    Assuming you have the AWS CLI installed, and if you are using Amazon Linux, it is installed by default, this is how you can copy a directory to S3 with public read permissions set.

    aws s3 cp build s3://blog.brng.us/ --recursive --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers

    This is useful for my Obelisk blog which creates static html files from markdown. The docs for aws cp can be found here

    %{description: "recursive copy of directory to s3 bucket with everyone public permission", title: "cheat sheet for aws cmd s3 cp"}



  • (Optional) See our JavaScript configuration variables documentation for ways to further customize the Disqus embed code.

Links

About this blog: This blog will discuss technology associated with my idgon.com project. I am using Elixir and Phoenix for my backend, and React.js and Reflux for my front end. I have a library called Trabant to experiment with graph database persistence for Elixir. The views expressed on this blog are my own, and are not that of my current employer.

About Me: I am a hobbyist programmer interested in distributed computing. I dabble in Elixir, Ruby, and Javascript. I can't spell very well, and I enjoy golf.