Object Storage Supports Amazon S3 Virtual-Hosted Style URLs

You can use S3 virtual-hosted style URLs with Object Storage. This means you can put the Object Storage bucket name directly in the URL subdomain (for example, https://<bucket_name>.vhcompat.objectstorage.<region>.oci.customer-oci.com/<object_name>), which makes it easier to work with standard Amazon S3 APIs or SDKs. Previously, you could only use path-style URLs, where the bucket name appeared in the URL path.

  • To use virtual-hosted style URLs, you must create the bucket using Amazon S3 APIs or SDKs. You can't create these buckets with the OCI Console or CLI.
  • Bucket names for virtual-hosted style must be unique within your region.
  • You can still access existing buckets using path-style URLs.