The Basic, Standard, and Enterprise plans will be deprecated starting from mid-March, 2025, with a 3 year retirement period. We recommend transitioning to Azure Container Apps. For more information, see the Azure Spring Apps retirement announcement.
Using the search box, search for Azure Spring Apps.
Select Azure Spring Apps from the search results.
On the Azure Spring Apps page, select Create.
Fill out the form on the Azure Spring Apps Create page. Consider the following guidelines:
Subscription: Select the subscription you want to be billed for this resource.
Resource group: Creating new resource groups for new resources is a best practice. You use this value in later steps as <resource-group-name>.
Service Details/Name: Specify the <service-instance-name>. The name must be between 4 and 32 characters long and can contain only lowercase letters, numbers, and hyphens. The first character of the service name must be a letter and the last character must be either a letter or a number.
Location: Select the location for your service instance.
Zone Redundant: Select to create your service instance with an availability zone.
Select Standard for the Pricing tier option.
Select Review and create.
Use the following command to add or update the Azure Spring Apps extension for the Azure CLI:
az extension add --upgrade --name spring
Use the following commands to sign in to the Azure CLI and choose your active subscription. If you have access to only one subscription, you can skip the az account set command.
az login
az account list --output table
az account set --subscription <subscription-name-or-ID>
Prepare a name for your Azure Spring Apps service. The name must be between 4 and 32 characters long and can contain only lowercase letters, numbers, and hyphens. The first character of the service name must be a letter and the last character must be either a letter or a number.
use the following commands to create a resource group to contain your Azure Spring Apps service instance, and to create the service instance:
az group create \
--name <resource-group-name> \
--location <resource-group-region>
az spring create \
--resource-group <resource-group-name> \
--name <service-instance-name>
Clean up resources
If you plan to continue working with subsequent tutorials, you might want to leave these resources in place. When no longer needed, delete the resource group, which deletes the resources in the resource group. To delete the resource group by using Azure CLI, use the following commands: