October 28, 2020 By Mike Lamb 2 min read

Configure and access any of your Cloud Object Storage buckets as a website.

Customers have been hosting their images and video for their websites in IBM Cloud Object Storage. Today, the entire static website can be hosted on Cloud Object Storage without having to run a separate application, VM, or bare metal server to host the web server. You can now configure and access any of your Cloud Object Storage buckets as a website, complete with index and error documents.

Website endpoints

To access the static website function, Cloud Object Storage provides a new website endpoint for each bucket location. For example, s3-web.us-east.cloud-object-storage.appdomain.cloud is the endpoint for the US East region. The existing buckets and endpoints continue to work the same way.

Root and index documents

When you configure your bucket as a website, you can specify the index document you want returned for requests made to the root of your website. For example, a GET request made to the following URI (either direct or via a CNAME):

mywebsitedomain.s3-web.us-east.cloud-object-storage.appdomain.cloud

Will return the following object:

mywebsitedomain.s3-web.us-east.cloud-object-storage.appdomain.cloud/index.html

Error document

When a static website bucket error occurs, an HTML page of the error provided by the configured error page will be returned.

Redirect and routing rules

You can globally redirect all of your traffic, or you can create individual rules that process incoming requests for specific pages based on the rules you define.

You can use the custom bucket template in the Cloud Object Storage UI to create a static website with a new bucket. To make an existing bucket into a static website, you can use the Bucket Configuration panel.

Static website hosting on Cloud Object Storage allows you to now build a cloud-native, entirely serverless application, complete with a website!

Learn more 

Was this article helpful?
YesNo

More from Cloud

From complexity to clarity: Future pathways for VMware clients

5 min read - Today, VMware clients might be facing transformational decisions amidst an evolving landscape following Broadcom's acquisition of VMware and in search of the best pathways to serve their business needs. However, this process can be complex and challenging, with the potential impacts of choosing the right offerings, adapting to licensing modifications and navigating the partnership impacts. IBM Consulting® can support VMware clients in their transformational journey based on its vast experience of supporting clients through their hybrid cloud estate. IBM Consulting…

Accelerating responsible AI adoption with a new Amazon Web Services (AWS) Generative AI Competency

3 min read - We’re at a watershed moment with generative AI. According to findings from the IBM Institute for Business Value, investment in generative AI is expected to grow nearly four times over the next two to three years. For enterprises that make the right investments in the technology it could deliver a strategic advantage that pays massive dividends. At IBM® we are committed to helping clients navigate this new reality and realize meaningful value from generative AI over the long term. For our…

New 4th Gen Intel Xeon profiles and dynamic network bandwidth shake up the IBM Cloud Bare Metal Servers for VPC portfolio

3 min read - We’re pleased to announce that 4th Gen Intel® Xeon® processors on IBM Cloud Bare Metal Servers for VPC are available on IBM Cloud. Our customers can now provision Intel’s newest microarchitecture inside their own virtual private cloud and gain access to a host of performance enhancements, including more core-to-memory ratios (21 new server profiles/) and dynamic network bandwidth exclusive to IBM Cloud VPC. For anyone keeping track, that’s 3x as many provisioning options than our current 2nd Gen Intel Xeon…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters