Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Issue/1350 add aws page to fog.io. #1357

Merged
merged 3 commits into from

3 participants

weston platter Wesley Beary Paul Thornthwaite
weston platter

This is a first draft at a /storage/aws page.

Feedback is welcome!

Wesley Beary
Owner

@westonplatter - looks like a great start. Did you have any particular remaining questions or concerns?

weston platter

@geemus yes, would it make sense to have a javascript-ish dropdown for storage on default layout to show there's more info?

Is there already work on the new github pages site?

Wesley Beary
Owner

@westonplatter - yeah, seems like a drop down might be good for that. No work has started on gh pages site yet (that I'm aware of anyway).

Paul Thornthwaite
Owner

Was everybody happy with this or were we waiting on the javascript drop down? I suspect that can follow later.

Wesley Beary
Owner

@tokengeek - seems good as is I think.

weston platter

@tokengeek cc/ @geemus i'd vote to move JS drop down to later issue .

Paul Thornthwaite tokengeek merged commit 8d4918d into from
weston platter

Not sure why travis ci failed for 1.9.3.
https://travis-ci.org/fog/fog/jobs/3747712

Any ideas?

Wesley Beary
Owner

@westonplatter - doesn't appear to have any output, must have just been a non-starter (travis occasionally has flaky vms it seems that do things like this).

Alan Ivey alanthing referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 23 additions and 0 deletions.
  1. +21 −0 docs/storage/aws.markdown
  2. +2 −0  docs/storage/index.markdown
21 docs/storage/aws.markdown
View
@@ -0,0 +1,21 @@
+---
+layout: default
+title: Storage
+---
+
+## AWS Specific Options
+
+Here's a couple Fog features specific only to AWS S3.
+
+**Encryption**. Amazon provides the option to AES256 encrypt files at rest on
+upload by setting the "x-amz-server-side-encryption" HTTP request header to
+AES256. You can short hand set this HTTP header via the ````encryption```` key
+value pair. For example,
+
+ # encrypt file at rest
+ file = directory.files.create(
+ :key => 'resume.html',
+ :body => File.open("/path/to/my/resume.html"),
+ :public => true,
+ :encryption => 'AES256'
+ )
2  docs/storage/index.markdown
View
@@ -125,6 +125,8 @@ Pop that link in an email and you should be ready to cruise job ads and send you
More clouds? How much extra stuff will you have to do for these services!?! Hardly anything needs to change, you just have to pass slightly different credentials in, but I'm getting ahead of myself.
+Check out the Amazon S3 Storage page for further details, <a href="/storage/aws.html">AWS Storage</a>.
+
## Google Cloud Storage
Sign up <a href="http://gs-signup-redirect.appspot.com/">here</a> and get your credentials <a href="https://storage.cloud.google.com/m">here</a> under the section "Interoperable Access".
Something went wrong with that request. Please try again.