|
1 |
| -title = "Deploy Options" |
| 1 | +title = "Deployment Options" |
2 | 2 | template = "main"
|
3 | 3 | date = "2023-11-04T00:00:01Z"
|
4 | 4 | [extra]
|
5 | 5 | url = "https://github.com/spinframework/spin-docs/blob/main/content/v3/deploying.md"
|
6 | 6 |
|
7 | 7 | ---
|
8 | 8 |
|
9 |
| -### Running locally on your workstation |
| 9 | +This page covers known deployment options for Spin applications. [Please help keep this page up to date if we've missed one.](./contributing-docs.md) |
10 | 10 |
|
11 |
| -For instructions guiding you through running Spin apps on your development workstation, |
12 |
| -follow [this guide](/running-apps). |
| 11 | +## Spin command line |
13 | 12 |
|
14 |
| -### Deploying to Kubernetes |
| 13 | +You can run the Spin CLI on a server just as you do on your development workstation. See the [Running Applications guide](/running-apps) for more details. |
15 | 14 |
|
16 |
| -Spin applications can be deployed to a Kubernetes cluster with [SpinKube](https://www.spinkube.dev/docs/overview/) - an open source project that streamlines the experience of developing, deploying, and operating Wasm workloads on Kubernetes. Like Spin, SpinKube is a CNCF Sandbox project. |
| 15 | +> The command line provides no recovery or failover features. This may be fine for non-essential or private projects, but for anything that needs higher reliability, you'll need to add other components to provide that. |
| 16 | +
|
| 17 | +## Kubernetes |
| 18 | + |
| 19 | +You can deploy Spin applications to a Kubernetes cluster with [SpinKube](https://www.spinkube.dev/docs/overview/) - an open source project that streamlines the experience of developing, deploying, and operating Wasm workloads on Kubernetes. Like Spin, SpinKube is a CNCF Sandbox project. |
| 20 | + |
| 21 | +## Microsoft Azure Kubernetes Service |
| 22 | + |
| 23 | +[The community `spin azure` plugin](https://github.com/Mossaka/spin-plugin-azure) streamlines deploying SpinKube and Spin applications to an AKS cluster. It provides for creating SpinKube clusters, setting up workload identity, CosmosDB integration, and application deployment. |
| 24 | + |
| 25 | +**To install the plugin:** `spin plugins install azure` |
| 26 | + |
| 27 | +**To create a SpinKube cluster:** `spin azure cluster create` |
| 28 | + |
| 29 | +**To deploy an application:** [see the workflow here](https://github.com/Mossaka/spin-plugin-azure?tab=readme-ov-file#workflow-explanation) |
17 | 30 |
|
18 | 31 | ## Fermyon Cloud
|
19 | 32 |
|
20 | 33 | [Fermyon Cloud](https://developer.fermyon.com/cloud) is a self-service application platform for WebAssembly-based serverless functions and microservices. It enables you to run Spin applications, at scale, in the cloud, without any infrastructure setup or maintenance required.
|
| 34 | + |
| 35 | +**To install the plugin:** `spin plugins install cloud` |
| 36 | + |
| 37 | +**To deploy an application:** `spin cloud deploy` |
| 38 | + |
| 39 | +## Fermyon Wasm Functions |
| 40 | + |
| 41 | +[Fermyon Wasm Functions](https://developer.fermyon.com/wasm-functions) is an edge environment hosted in the Akamai Cloud. It enables you to run Spin applications with global distribution. |
| 42 | + |
| 43 | +**To install the plugin:** `spin plugins install aka` |
| 44 | + |
| 45 | +**To deploy an application:** `spin aka deploy` |
0 commit comments