Skip to content

How-To: Custom URL for S3-Buckets

about 2 minutesStudents, Staff, IT staffchecked 25 September 2025

The S3 service of the Switch Cloud is described in detail in the official documentation by Switch and is not replicated here.

Yes, this is possible. At Amazon, this feature is described in the AWS documentation; in the documentation of the Switch Cloud, it is currently (still) not documented.

In the Switch Cloud, S3 buckets are accessible via the following endpoints, depending on whether they are created on SSD or HDD backend.

Thus, URLs to resources follow the pattern https://<endpointURL>/<bucketname>/<resourcepath>.

If you want user-friendly URLs to your resources, this is possible via CNAME records.
Example:

  1. Create a CNAME: dlbucket.id.unibe.ch IN CNAME https://zhw-b.s3.cloud.switch.ch
  2. Create the bucket in the Switch Cloud portal: S3-Bucket Form

The name of the bucket must be exactly the same as the CNAME! The following two URLs are now equivalent and lead to the same file Testfile.txt in the bucket dlbucket.id.unibe.ch on the HDD endpoint of the Switch Cloud.

age](https://www.switch.ch/de/kontaktieren-sie-switch-cloud).