A static website consists of fixed content files (HTML, CSS, JavaScript, images) that are delivered to the user’s browser exactly as they are stored. This simplicity brings certain advantages. For example, without servers to manage, you do away with the vulnerabilities associated with server software, operating systems, and plugins, whilst still benefiting from UpCloud’s robust infrastructure and reliability.
This guide shows you how to combine UpCloud’s Managed Object Storage with Cloudflare Workers to serve your static site from a custom domain, essentially turning a basic storage endpoint into a fully-featured website.
Before you begin, you will need the following:
To get started, log into your UpCloud control panel and create a Managed Object Storage instance if you don’t already have one.
Then create a new bucket to store your website files. Give the bucket a descriptive name such as:
public for a single siteexample-com or site-name if hosting multiple sitesUpload all your static website files to the bucket:
index.html)