Access buckets and files through URLs

Object Storage service gives each bucket and file a unique URL. This URL is managed through the shared domain *.linodeobjects.com and your files are encrypted through the use of HTTPS. By default, files are only visible by you (the owner) through Cloud Manager or through other tools and applications using an access key with permissions to read (or read/write) the bucket.

You're also able to make these files accessible to anyone through their URLs by setting up ACLs so the files are public. This makes Object Storage great for sharing and storing unstructured data like images, documents, archives, streaming media assets, and file backups, and the amount of data you store can range from small collections of files up to massive libraries of information.

Here are the types of URLs you can use to access buckets and files:

Cluster URL (s3 endpoint)

The cluster URL for Object Storage is unique to each data center. This URL can be used for accessing all of your Object Storage resources within a certain region. When used with third party tools, this URL might also be referred to as the S3 endpoint.

Cluster URL: https://[cluster-id].linodeobjects.com/, replacing [cluster-id] with the id of your data center. The cluster URLs for each of the available data centers are listed below:

Data CenterCluster IDCluster URL
Amsterdam (Netherlands)nl-ams-1https://nl-ams-1.linodeobjects.com
Atlanta, GA (USA)us-southeast-1https://us-southeast-1.linodeobjects.com
Chennai (India)in-maa-1https://in-maa-1.linodeobjects.com
Chicago, IL (USA)us-ord-1https://us-ord-1.linodeobjects.com
Frankfurt (Germany)eu-central-1https://eu-central-1.linodeobjects.com
Jakarta (Indonesia)id-cgk-1https://id-cgk-1.linodeobjects.com
Los Angeles, CA (USA)us-lax-1https://us-lax-1.linodeobjects.com
Madrid (Spain)es-mad-1https://es-mad-1.linodeobjects.com
Miami, FL (USA)us-mia-1https://us-mia-1.linodeobjects.com
Milan (Italy)it-mil-1https://it-mil-1.linodeobjects.com
Newark, NJ (USA)us-east-1https://us-east-1.linodeobjects.com
Osaka (Japan)jp-osa-1 https://jp-osa-1.linodeobjects.com
Paris (France)fr-par-1https://fr-par-1.linodeobjects.com
São Paulo (Brazil)br-gru-1https://br-gru-1.linodeobjects.com
Seattle, WA (USA)us-sea-1https://us-sea-1.linodeobjects.com
Singaporeap-south-1https://ap-south-1.linodeobjects.com
Stockholm (Sweden)se-sto-1https://se-sto-1.linodeobjects.com
Washington, DC (USA)us-iad-1https://us-iad-1.linodeobjects.com

Bucket URL

Each bucket has its own unique URL. This URL is useful when configuring a third party application to use a specific bucket for file storage.

Bucket URL: https://[bucket-label].[cluster-id].linodeobjects.com/, replacing [bucket-label] with the label of your bucket and [cluster-id] with the id of your data center (listed in the Cluster URL section).

For example, a bucket labeled example-bucket within the Atlanta data center would have the following URL:

https://example-bucket.us-southeast-1.linodeobjects.com

View a bucket's URL through cloud manager

You can build this URL manually or you can view the bucket URL through Cloud Manager (as shown below) or a tool like Cyberduck

  1. Log in to Cloud Manager and select Object Storage from the left menu.

  2. Locate the bucket you wish to use. The URL for the bucket is printed underneath the bucket label/name.

  3. You can also click the details link to view and copy the URL.

File URLs

The URLs for files (objects) within a bucket are very similar to the bucket's own URL, simply with the filename and path appended to the end. This URL is useful when sharing the file with someone or accessing it from your website.

File (Object) URL: https://[bucket-label].[cluster-id].linodeobjects.com/[file], replacing [bucket-label] with the label of your bucket, [cluster-id] with the id of your data center (listed in the Cluster URL section, and [file] with the full path, name, and extension of your file.

For example, a file named example-file.txt stored on a bucket labeled example-bucket within the Atlanta data center would have the following URL:

https://example-bucket.us-southeast-1.linodeobjects.com/example-file.txt

View a file's URL through cloud manager

You can build this URL manually or you can view the file URL through Cloud Manager (as shown below) or a tool like Cyberduck

  1. Log in to Cloud Manager and select Object Storage from the left menu.

  2. Locate the bucket you wish to view and click its label/name to open it.

  3. This opens the bucket's details page and displays a list of all the files (objects) stored within it. Locate the file you want to use and click the filename.

  4. The URL for the file is listed at the top of the details panel, as shown below:

Signed URLs

A signed URL gives anyone with the URL access to a file for a certain period of time. This is very useful when you want to share a document or file with someone, but don't wish to make the URL permanently accessible or able to be guessed by others. You can generate a signed URL through the Linode CLI or s3cmd.

Here's an example of a signed URL:

https://us-southeast-1.linodeobjects.com:443/example-bucket/example-file.txt?Signature=NUXLA378K28nMKgnaIcYjGroMXw%3D&Expires=1644600958&AWSAccessKeyId=YFULT4UZZULG82GFPQE2&x-amz-meta-mtime=1644590299284&x-amz-meta-storage-class=STANDARD

Website URLs

You can configure a bucket to serve a static website (a website only containing static files like html, css, client-side javascript, images, and other non-dynamic resources).

Website URL: https://[bucket-label].website-[cluster-id].linodeobjects.com/, replacing [bucket-label] with the label of your bucket and [cluster-id] with the id of your data center (listed in the Cluster URL section.

For example, if you have configured a website on a bucket labeled example-bucket within the Atlanta data center would have the following URL:

https://example-bucket.website-us-southeast-1.linodeobjects.com

For more information on hosting a static website with Object Storage, read our Host a Static Site using Linode Object Storage guide.

Custom URLs

So far, this guide has covered obtaining URLs that use the shared domain *.linodeobjects.com. You can also configure a bucket to use a custom domain, such as assets.example.com. To do this, see Configure a Custom Domain (with a TLS/SSL Certificate).