From 94abe5a62cd5982c5f549b082c1e7bfdbfacaa79 Mon Sep 17 00:00:00 2001 From: itowlson Date: Tue, 1 Apr 2025 12:46:07 +1300 Subject: [PATCH] Added new deployment options and CTA for community ones Signed-off-by: itowlson --- content/v3/deploying.md | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/content/v3/deploying.md b/content/v3/deploying.md index aa23d1f4..c9302b04 100644 --- a/content/v3/deploying.md +++ b/content/v3/deploying.md @@ -1,4 +1,4 @@ -title = "Deploy Options" +title = "Deployment Options" template = "main" date = "2023-11-04T00:00:01Z" [extra] @@ -6,15 +6,40 @@ url = "https://github.com/spinframework/spin-docs/blob/main/content/v3/deploying --- -### Running locally on your workstation +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) -For instructions guiding you through running Spin apps on your development workstation, -follow [this guide](/running-apps). +## Spin command line -### Deploying to Kubernetes +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. -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. +> 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. + +## Kubernetes + +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. + +## Microsoft Azure Kubernetes Service + +[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. + +**To install the plugin:** `spin plugins install azure` + +**To create a SpinKube cluster:** `spin azure cluster create` + +**To deploy an application:** [see the workflow here](https://github.com/Mossaka/spin-plugin-azure?tab=readme-ov-file#workflow-explanation) ## Fermyon Cloud [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. + +**To install the plugin:** `spin plugins install cloud` + +**To deploy an application:** `spin cloud deploy` + +## Fermyon Wasm Functions + +[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. + +**To install the plugin:** `spin plugins install aka` + +**To deploy an application:** `spin aka deploy`