How to Host a Game on Alibaba Cloud Using OSS and OSSUtil

This is a submission for the Alibaba Cloud Challenge: Build a Web Game.* Table of Contents What I Built Live Demo link Alibaba Cloud Services Implementation Access OSS via Alibaba Cloud Console Create an OSS Bucket Enabling Static Page on OSS Install and configure OSSUTIL Uploading the Files Allow Public Access to Content Connect Your Domain (CNAME) Access the Project via HTTP Map a Custom Domain (CNAME) Upload Your Own SSL Certificate Game Development Highlights Conclusion What I Built In this article, I'll show you how to host a full HTML5 game on Alibaba Cloud using just the terminal and a custom domain — complete with SSL and everything. I wanted to make a fun mini game with a retro look and simple mechanics — and from the beginning, I knew I would use Alibaba Cloud to host the project. In addition to developing the game, the idea was also to challenge myself to explore the OSS storage service and publish everything using the ossutil tool. Live Demo Link

Apr 21, 2025 - 22:19
 0
How to Host a Game on Alibaba Cloud Using OSS and OSSUtil

This is a submission for the Alibaba Cloud Challenge: Build a Web Game.*

Table of Contents

  • What I Built
  • Live Demo link
  • Alibaba Cloud Services Implementation
    • Access OSS via Alibaba Cloud Console
    • Create an OSS Bucket
    • Enabling Static Page on OSS
    • Install and configure OSSUTIL
    • Uploading the Files
    • Allow Public Access to Content
    • Connect Your Domain (CNAME)
    • Access the Project via HTTP
    • Map a Custom Domain (CNAME)
    • Upload Your Own SSL Certificate
  • Game Development Highlights
  • Conclusion

What I Built

In this article, I'll show you how to host a full HTML5 game on Alibaba Cloud using just the terminal and a custom domain — complete with SSL and everything.

I wanted to make a fun mini game with a retro look and simple mechanics — and from the beginning, I knew I would use Alibaba Cloud to host the project. In addition to developing the game, the idea was also to challenge myself to explore the OSS storage service and publish everything using the ossutil tool.

Live Demo Link