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 BackBlaze Support to Docs #141

Closed
bawahakim opened this issue Feb 25, 2021 · 2 comments
Closed

Add BackBlaze Support to Docs #141

bawahakim opened this issue Feb 25, 2021 · 2 comments

Comments

@bawahakim
Copy link

bawahakim commented Feb 25, 2021

Thanks to @uzaysan, realized we could use BackBlaze instead of S3. Needed a bit of tinkering until I got it to work, but I figured it would be nice to have this in the read me. These are the settings I used to make it work :

const s3Adapter = new S3Adapter({
  bucket: process.env.S3_BUCKET,
  directAccess: true,
  baseUrl: process.env.S3_BASE_URL, // taken from BackBlaze, normally https://BUCKET.s3.REGION.backblazeb2.com
  baseUrlDirect: false,
  signatureVersion: 'v4',
  globalCacheControl: 'public, max-age=86400',
  region: 'us-west-000',
  s3overrides: {
    endpoint: process.env.S3_ENDPOINT, // check backblaze bucket endpoint
    accessKeyId: process.env.S3_ACCESS_KEY,
    secretAccessKey: process.env.S3_SECRET_KEY
  },
});
@mtrezza
Copy link
Member

mtrezza commented Feb 25, 2021

Thanks for suggesting.

Do you want to open a PR for this docs change?

On a general note, you may want to check for any compatibility issues when using AWS S3-emulating storage.

@mtrezza
Copy link
Member

mtrezza commented Apr 21, 2022

Closing via parse-community/docs#825

@mtrezza mtrezza closed this as completed Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants