Configuring a custom endpoint

Using Yandex, DigitalOcean, or any other S3-compliant storage service together with gatsby-plugin-s3

To use Yandex S3 or any supported AWS services you need only to change region & customAwsEndpointHostname params (provided by service) before deploy. Yandex example:

    bucketName: 'YOUR_BUCKET_NAME',
    region: 'us-east-1',
    customAwsEndpointHostname: ''

Endpoint hostnames

Here are some popular S3-complaint services and their hostnames that you'd need to use.
We'll also link to their documentation with more info on what endpoints to use.

  • Yandex:
  • DigitalOcean spaces: - replace nyc3 with the region of your choice
  • Oracle Cloud: - replace mynamespace with your namespace, and us-phoenix-1 with your region.
  • Rackspace Cloud: see the list here
  • IBM Cloud (replace us with either eu or ap)
  • Dreamhost Dreamobjects:
  • Linode Object Storage: - replace us-east-1 with the region your bucket is located.

If you have any endpoint hostname you'd like to add to this document, go here.


Hey! 👋 Was this page helpful?

We're always looking to make our docs better, please let us know if you have any suggestions or advice about what's working and what's not!

© Jari Zwarts 2020