Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to Repo Docs: alternative way to configure Repository Storage using AWS S3 bucket #274

Open
stephenakearns opened this issue Jun 24, 2016 · 1 comment

Comments

@stephenakearns
Copy link
Contributor

stephenakearns commented Jun 24, 2016

Suggested Menu navigation/location: (feel free to change)

Repository >> Installation Procedures >> Advanced Topics >> Configure Cloud Storage using S3

Proposed Warning to include:

NOTE: this is Beta functionality. This deployment configuration should only be performed in consultation with a Continuum Implementation Engineer.

OVERVIEW

There are 4 steps to this process

  1. Add S3 Bucket
  2. Add credentials to Repo Server
  3. Configure Storage on Repo Server
  4. Validate storage is working correctly

ADD NEW S3 BUCKET

open http://console.aws.com # …. And create a new bucket my-bucket - naming for bucket has to be globally unique

CONFIGURE REPOSITORY - ADD CREDENTIALS

vim .boto # Add ec2 creds to .boto file - on the server in the home directory of binstar user where Anaconda Repo is running, if doesn't exist, create it (BRAD - what is the best practice.

Format of Boto file:
[Credentials] aws_access_key_id = <your_access_key_here> aws_secret_access_key = <your_secret_key_here>

Reference for format of .boto file.

CONFIGURE REPOSITORY - SET STORAGE LOCATION

   anaconda-server-config —set storage_type s3    anaconda-server-config --set PACKAGE_BUCKET_ID my-bucket

(these are case sensitive parameters)

VALIDATE CONFIGURATION

To validate that this is working correctly, perform a conda package upload and validate that you can browse in the WebUI to the newly uploaded file.

NOT FOR DOCS... INTERNAL Reference to related discussion in flowdock: FYI https://www.flowdock.com/app/continuum/anacondaserver/threads/JAeOcAgNnniJKoGJDDtgv31r1bh>

@stephenakearns
Copy link
Contributor Author

cc: @kerrywatson1 (as discussed earlier this week).
cc: @hsparra - LMK if the docs for your client change at all after they go thru this process
cc: @srossross - FYI - based on the earlier meeting, please chime in with any edits.

@stephenakearns stephenakearns changed the title Add to Repo Docs: alternative way to configure Repository Storage using AWS S3 bu Add to Repo Docs: alternative way to configure Repository Storage using AWS S3 bucket Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant