# Deploy a static site on Light Cloud

> A static site is HTML, CSS and JavaScript with no server. Light Cloud detects it from an index.html at the root or in public, dist, build, site, www, docs, static, out, _site or html. It is built once and served from the global CDN.

## Static site at a glance

- **Detected from:** an `index.html` at the root or in `public`, `dist`, `build`, `site`, `www`, `docs`, `static`, `out`, `_site` or `html`
- **Runs as:** Static site on the global CDN
- **Output:** The folder that holds `index.html`

## How to deploy Static site

1. **Bring the code.** Pick a repository, upload a folder, or ask Claude Code or GitHub Copilot to put it online.
2. **Static site, detected.** The files are read and the build is filled in. Every setting can be changed by hand.
3. **Built for the CDN.** The build runs and its output is served from the global CDN.
4. **Live.** A light-cloud.io URL in minutes, a preview URL for every branch, and logs and metrics beside it.

## Questions

### How do I deploy Static site?

Connect the repository, upload the folder, or ask Claude Code or GitHub Copilot to deploy it. Light Cloud reads the files, builds Static site and returns a live URL in minutes, with a preview URL for every branch.

### How much does it cost to host Static site?

Static sites are free on every plan, with no limit on how many (fair use: 20 GB of bandwidth a month per workspace on Free). A typical one uses about $0.01 of usage a month.

Docs: https://docs.light-cloud.com/platform/frameworks/static-html
Page: https://light-cloud.com/runtimes/static
Deploy a static site: https://console.light-cloud.com/new?repo=https://github.com/light-cloud-templates/static-html-website-starter
Start free, no card: https://console.light-cloud.com/signup
