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: 'storage.yandexcloud.net'
}
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:
storage.yandexcloud.net
- DigitalOcean spaces:
nyc3.digitaloceanspaces.com
- replacenyc3
with the region of your choice - Oracle Cloud:
mynamespace.compat.objectstorage.us-phoenix-1.oraclecloud.com
- replacemynamespace
with your namespace, andus-phoenix-1
with your region. - Rackspace Cloud: see the list here
- IBM Cloud
s3.us.cloud-object-storage.appdomain.cloud
(replaceus
with eithereu
orap
) - Dreamhost Dreamobjects:
objects-us-east-1.dream.io
- Linode Object Storage:
us-east-1.linodeobjects.com
- replaceus-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.