Step‑by‑Step Guide to Deploy Static Sites on Alibaba Cloud with OSS, ESA, Codeup & Flow

Neptune Infotech Team
Neptune Infotech Team
|
December 05, 2026
Step‑by‑Step Guide to Deploy Static Sites on Alibaba Cloud with OSS, ESA, Codeup & Flow

Understanding the Alibaba Cloud Static Site Stack

Alibaba Cloud offers a lightweight yet powerful stack for static sites: Object Storage Service (OSS) for file storage, Edge Site Acceleration (ESA) for global CDN delivery, and DevOps tools like Codeup and Flow for automated pipelines.

Step 1 – Prepare Your OSS Bucket for Static Hosting

First, create an OSS bucket and enable Static Website Hosting. Upload your HTML, CSS, and JavaScript files, then set the bucket’s Public Read permission and define the index and error pages. Remember that accessing an HTML file directly via the bucket domain triggers a download; using the website endpoint displays the page correctly.

Step 2 – Configure ESA for Edge Delivery

ESA (Edge Site Acceleration) acts as Alibaba Cloud’s edge computing platform, providing CDN acceleration for your static assets. Link the OSS bucket to an ESA instance, enable global caching, and verify that the domain resolves to the ESA edge nodes. This step ensures fast load times for visitors worldwide.

Step 3 – Automate Build and Deployment with Codeup and Flow

Codeup serves as the Git repository, while Flow defines the CI/CD workflow. Create a Flow template that:

  1. Pulls the latest code from Codeup.
  2. Runs a static site generator or build tool (e.g., Vite, Hugo).
  3. Uploads the build output to the OSS bucket.
  4. Triggers an ESA cache refresh.
  5. Executes a verification script that checks HTTP status codes and content integrity.

Because each stage is a separate step, any failure is clearly logged, allowing quick pinpointing of issues.

Step 4 – Verify and Monitor the Release

After deployment, run a simple curl or HTTP check against the public URL. Use Alibaba Cloud CloudMonitor to set alerts for response time spikes or 5xx errors. Continuous verification guarantees that readers always receive the latest, error‑free version of your article.

Frequently Asked Questions

Do I need a domain name to use OSS static hosting?

No. OSS provides a default bucket domain, but for branding and SEO you should bind a custom domain and configure the CNAME record.

Can I host a multi‑page website on OSS?

Yes. OSS static hosting supports any number of HTML pages, assets, and sub‑folders, making it ideal for corporate homepages or product showcases.

How does ESA differ from a regular CDN?

ESA combines edge computing with CDN, allowing you to run lightweight serverless functions at the edge while still benefiting from global caching.

What happens if the Flow pipeline fails during upload?

The pipeline stops, logs the error, and does not trigger the ESA cache refresh, so the previous stable version remains live.

Is there a cost advantage to using OSS for static sites?

OSS charges only for storage and outbound traffic, which is typically lower than traditional web hosting or managed static site services.

Neptune Infotech can help you design and implement robust cloud deployment pipelines, ensuring your static content reaches users reliably and securely.

You Might Also Like

Explore more articles related to "Web Development"

Revolutionizing Image Editing: Building a Browser‑Based Prompt AI Photo Editor with Unlimited Undo

Revolutionizing Image Editing: Building a Browser‑Based Prompt AI Photo Editor with Unlimited Undo

Editing a product photo or portrait often means launching a heavyweight desktop suite, wrestling wit...

Creating a Lightning‑Fast Zero‑Dependency JavaScript Mahjong AI for the Browser

Creating a Lightning‑Fast Zero‑Dependency JavaScript Mahjong AI for the Browser

Mahjong enthusiasts often struggle to find a lightweight, browser‑based AI that supports multiple ru...

How Automattic’s Purchase of Miles Is Redefining AI‑Powered WordPress Design

How Automattic’s Purchase of Miles Is Redefining AI‑Powered WordPress Design

Artificial intelligence is rapidly reshaping how websites are built, and the latest move by WordPres...