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

S3 bucket does not exist anymore #2

Open
giorgiosironi opened this issue Jul 4, 2017 · 6 comments
Open

S3 bucket does not exist anymore #2

giorgiosironi opened this issue Jul 4, 2017 · 6 comments

Comments

@giorgiosironi
Copy link

https://github.com/codeforscience/sciencefair-elife/blob/master/sync.js#L9 points to an S3 bucket, which does not exist anymore.

@blahah
Copy link
Member

blahah commented Jul 4, 2017

how strange! @gmaciocci any idea what's happened here? did eLife move to a new bucket?

@giorgiosironi
Copy link
Author

giorgiosironi commented Jul 4, 2017

As part of the migration to eLife 2.0 this bucket was migrated to one that is exposed through a CDN instead. Now I understand you're doing a sort of crawling so neither the API nor the CDN would cut it as they don't provide an easy way to list all the files.

If you want to get all published XML/figures/PDF ever, point at the http://prod-elife-published.s3.amazonaws.com/ bucket. It's not as stable in time as the CDN URLs, but it's the most similar option (notice there is an additional /articles prefix).

@blahah
Copy link
Member

blahah commented Jul 4, 2017

Ah, sorry @giorgiosironi I didn't realise at first that you work for eLife :)

Thanks for the explanation. Will my existing credentials work for the new bucket, or will I need new ones?

@giorgiosironi
Copy link
Author

This bucket is public, so you shouldn't need credentials.

@blahah
Copy link
Member

blahah commented Jul 4, 2017

Public to access over HTTP, but not to do syncing over the S3 API I think? With the last bucket I needed credentials to be able to do reasonable sync operations.

@giorgiosironi
Copy link
Author

I found the IAM policy for the user RichardSmithUnna, it is updated for prod-elife-published now.

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

2 participants