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

How a US bank modernized its mainframe applications with IBM Consulting and Microsoft Azure

9 min read - As organizations strive to stay ahead of the curve in today's fast-paced digital landscape, mainframe application modernization has emerged as a critical component of any digital transformation strategy. In this blog, we'll discuss the example of a US bank which embarked on a journey to modernize its mainframe applications. This strategic project has helped it to transform into a more modern, flexible and agile business. In looking at the ways in which it approached the problem, you’ll gain insights into…

The power of the mainframe and cloud-native applications 

4 min read - Mainframe modernization refers to the process of transforming legacy mainframe systems, applications and infrastructure to align with modern technology and business standards. This process unlocks the power of mainframe systems, enabling organizations to use their existing investments in mainframe technology and capitalize on the benefits of modernization. By modernizing mainframe systems, organizations can improve agility, increase efficiency, reduce costs, and enhance customer experience.  Mainframe modernization empowers organizations to harness the latest technologies and tools, such as cloud computing, artificial intelligence,…

Modernize your mainframe applications with Azure

4 min read - Mainframes continue to play a vital role in many businesses' core operations. According to new research from IBM's Institute for Business Value, a significant 7 out of 10 IT executives believe that mainframe-based applications are crucial to their business and technology strategies. However, the rapid pace of digital transformation is forcing companies to modernize across their IT landscape, and as the pace of innovation continuously accelerates, organizations must react and adapt to these changes or risk being left behind. Mainframe…

IBM Newsletters

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