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

Neptune Infotech Team
Neptune Infotech Team
|
November 02, 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"

Seamless Telephony: Merging Asterisk PBX with a MERN CRM

Seamless Telephony: Merging Asterisk PBX with a MERN CRM

Real‑estate sales teams often juggle a traditional desk phone or softphone alongside a separate CRM,...

Monthly Website Maintenance Checklist: Keep Client Sites Running Smoothly

Monthly Website Maintenance Checklist: Keep Client Sites Running Smoothly

Launching a website is just the beginning of a long‑term partnership; the real work starts when the...

Detect 404 Errors from Your Sitemap Using a One‑File Python Script

Detect 404 Errors from Your Sitemap Using a One‑File Python Script

After a migration or redesign, your sitemap often still lists URLs that now return a 404 error or bo...