Skip to content

Latest commit

 

History

History
103 lines (69 loc) · 5.26 KB

quickstart-provision-service-instance.md

File metadata and controls

103 lines (69 loc) · 5.26 KB
title description author ms.author ms.service ms.topic ms.date ms.custom zone_pivot_groups
Quickstart - Provision an Azure Spring Apps service
Describes creation of an Azure Spring Apps service instance for app deployment.
KarlErickson
karler
spring-apps
quickstart
06/27/2024
devx-track-java, devx-track-azurecli, mode-other
programming-languages-spring-apps

Provision an Azure Spring Apps service instance

Note

Azure Spring Apps is the new name for the Azure Spring Cloud service. Although the service has a new name, you'll see the old name in some places for a while as we work to update assets such as screenshots, videos, and diagrams.

This article applies to: ❌ Standard consumption and dedicated (Preview) ✔️ 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 other plans, see the following articles:

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