Skip to content

Latest commit

 

History

History
100 lines (67 loc) · 4.66 KB

File metadata and controls

100 lines (67 loc) · 4.66 KB
title Quickstart - Provision an Azure Spring Apps Service
description Describes creation of an Azure Spring Apps service instance for app deployment.
author KarlErickson
ms.author karler
ms.service azure-spring-apps
ms.topic quickstart
ms.date 08/19/2025
ms.update-cycle 1095-days
ms.custom devx-track-java, devx-track-azurecli, mode-other
zone_pivot_groups programming-languages-spring-apps

Provision an Azure Spring Apps service instance

[!INCLUDE deprecation-note]

This article applies to: ✅ Basic/Standard ❎ Enterprise

This article shows you how to provision a Basic or Standard plan Azure Spring Apps service instance.

Azure Spring Apps supports multiple plans. For more information, see Quotas and service plans for Azure Spring Apps. To learn how to create service instances for the Enterprise plan, see Migrate an Azure Spring Apps Basic or Standard plan instance to the Enterprise plan.

Prerequisites

Provision an instance of Azure Spring Apps

Use the following steps to create an instance of Azure Spring Apps:

  1. In a new browser tab, open the Azure portal.

  2. Using the search box, search for Azure Spring Apps.

  3. Select Azure Spring Apps from the search results.

  4. On the Azure Spring Apps page, select Create.

    :::image type="content" source="media/quickstart-provision-service-instance/spring-apps-create.png" alt-text="Screenshot of Azure portal showing Azure Spring Apps resource with Create button highlighted.":::

  5. 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.

    :::image type="content" source="media/quickstart-provision-service-instance/portal-start.png" alt-text="Screenshot of Azure portal showing the Azure Spring Apps Create page." lightbox="media/quickstart-provision-service-instance/portal-start.png":::

  6. Select Review and create.

  1. Use the following command to add or update the Azure Spring Apps extension for the Azure CLI:

    az extension add --upgrade --name spring
    
  2. 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>
    
  3. 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.

  4. 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:

az group delete --name <resource-group-name>

Next steps

[!div class="nextstepaction"] Quickstart: Set up Azure Spring Apps Config Server