---
title: Deploy Compute project templates using Cloud Deploy
summary: null
url: https://www.fastly.com/documentation/reference/tools/cloud-deploy
---

[Cloud Deploy](https://deploy.edgecompute.app/) 

 allows you to deploy any public Compute project template (including all our [official starter kits](https://www.fastly.com/documentation/solutions/starters)) to your Fastly account and create a working, edge-hosted application connected to a GitHub repository with automated continuous deployment, in a few clicks.

![The Cloud Deploy web interface](/img/cloud-deploy-600w.png)

To make a Compute project automatically deployable, you need to define some setup information in your [`fastly.toml`](https://www.fastly.com/documentation/reference/compute/fastly-toml/). Here's an example configuration from Fastly's [Rust 'static content' starter kit](https://github.com/fastly/compute-starter-kit-rust-static-content):

```toml
[setup]
  [setup.backends]
    [setup.backends.bucket_origin]
      address = "mock-s3.edgecompute.app"
      port = 443
```

This defines one backend ("mock-s3.edgecompute.app"). The backend here has a default address and port, but the user can override these when deploying.

You must also mark the repository as a [template repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/creating-a-template-repository), so the app can generate new repositories from it. Then add the following to your README.md to send users to the deploy app:

```markdown
[![Deploy to Fastly](https://deploy.edgecompute.app/button)](https://deploy.edgecompute.app/deploy)
```

You may also add a custom [GitHub Actions workflow](https://github.com/features/actions) to deploy on push at `.github/workflows/deploy.yml`, otherwise a default will be used.
