Skip to content

Add tutorial on using OpenStack Swift for DataladΒ #125

@jennydaman

Description

@jennydaman

Hello,

I am using NERC OpenStack Swift as a git-annex special remote for a Datalad repository. I would like to contribute some documentation on how to do this to the NERC user guides.

Background info: Datalad is a git-based data management tool which wraps git-annex, a system for adding large files to Git and using distributed storage for those files. Datalad is very popular among the neuroimaging research community.

I am successfully using NERC Swift as a git-annex special remote for my Datalad repository here: https://github.com/jennydaman/bigbrain-arterial-registration-datalad

Here's what I did:

First, I created EC2 access key ID and secret from https://stack.nerc.mghpcc.org/dashboard/project/api_access/

export AWS_ACCESS_KEY_ID=xxxxxxxx
export AWS_SECRET_ACCESS_KEY=xxxxxxxx
git annex initremote nerc-swift type=S3 encryption=none bucket=bigbrain-arterial-registration-datalad autoenable=true host=stack.nerc.mghpcc.org protocol=https port=13808 requeststyle=path public=yes
git annex enableremote nerc-swift publicurl="https://stack.nerc.mghpcc.org:13808/swift/v1/AUTH_2dd3b02b267242d9b28f94a512ea9ede/bigbrain-arterial-registration-datalad"
datalad create-sibling-github bigbrain-arterial-registration-datalad-3_fsl_registration --access-protocol ssh --publish-depends nerc-swift

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions