|
| 1 | +--- |
| 2 | +title: Migrate Azure Spring Apps to Azure Container Apps |
| 3 | +description: The complete overview guide for migrating Azure Spring Apps to Azure Container Apps, including steps, benefits, and frequently asked questions. |
| 4 | +author: KarlErickson |
| 5 | +ms.service: azure-spring-apps |
| 6 | +ms.topic: overview |
| 7 | +ms.date: 09/30/2024 |
| 8 | +ms.author: seal |
| 9 | +ms.custom: devx-track-java, devx-track-extended-java |
| 10 | +#Customer intent: As an Azure Cloud user, I want to deploy, run, and monitor Spring applications. |
| 11 | +--- |
| 12 | + |
| 13 | +# Migrate Azure Spring Apps to Azure Container Apps |
| 14 | + |
| 15 | +This article describes when and how to migrate Azure Spring Apps to Azure Container Apps. To consolidate cloud-native benefits and streamline our offerings, the Azure Spring Apps service is retiring, including the Standard consumption and dedicated, Basic, Standard, and Enterprise plans. The Standard consumption and dedicated plan enters its six-month sunset period on September 30, 2024 and retires in March 2025. |
| 16 | + |
| 17 | +We recommend Azure Container Apps as the best destination for your migration. Azure Container Apps is a fully managed, serverless container platform for polyglot apps and offers enhanced Java features previously available in Azure Spring Apps. |
| 18 | + |
| 19 | +We've introduced a one-click migration feature to ease the transition from the Azure Spring Apps Standard consumption and dedicated plan to Azure Container Apps. Select **Migrate** in the Azure portal and confirm the action. |
| 20 | + |
| 21 | +:::image type="content" source="media/overview-migration/consumption-plan-migration-button.png" alt-text="Screenshot of the Azure portal that shows the Migrate button." lightbox="media/overview-migration/consumption-plan-migration-button.png"::: |
| 22 | + |
| 23 | +:::image type="content" source="media/overview-migration/consumption-plan-migration-confirmation.png" alt-text="Screenshot of the Migrate to Azure Container Apps dialog box." lightbox="media/overview-migration/consumption-plan-migration-confirmation.png"::: |
| 24 | + |
| 25 | +This feature will be available mid-October 2024 and you can start the migration process as soon as it's available. |
| 26 | + |
| 27 | +After the migration finishes, the app appears as a standard app inside Azure Container Apps, with the Java development stack turned on. With this option enabled, you get access to Java specific metrics and logs to monitor and troubleshoot your apps. For more information, see [Java metrics for Java apps in Azure Container Apps](../../container-apps/java-metrics.md) and [Set dynamic logger level to troubleshoot Java applications in Azure Container Apps](../../container-apps/java-dynamic-log-level.md). |
| 28 | + |
| 29 | +The following video announces the general availability of Java experiences on Azure Container Apps: |
| 30 | + |
| 31 | +<br> |
| 32 | + |
| 33 | +> [!VIDEO https://www.youtube.com/embed/-T90dC2CCPA] |
| 34 | +
|
| 35 | +## Frequently asked questions |
| 36 | + |
| 37 | +The following section addresses several questions you might have about the migration process. |
| 38 | + |
| 39 | +### What happens if I don't take any actions by March 30, 2025? |
| 40 | + |
| 41 | +Your apps are automatically migrated to Azure Container Apps. |
| 42 | + |
| 43 | +### Can I continue to use the Azure Spring Apps Standard consumption and dedicated plan? |
| 44 | + |
| 45 | +You can continue to run existing apps until March 30, 2025, but you can't create new apps and service instances after September 30, 2024. |
| 46 | + |
| 47 | +### How can I get help if the migration process fails? |
| 48 | + |
| 49 | +Fill out the support request form on the Azure portal, using the following values: |
| 50 | + |
| 51 | +- For **Issue type**, select **Technical**. |
| 52 | +- For **Subscription**, select your subscription. |
| 53 | +- For **Service**, select **Azure Spring Apps**. |
| 54 | +- For **Resource**, select your Azure Spring Apps resource. |
| 55 | +- For **Summary**, type a description of your issue. |
| 56 | +- For **Problem type**, select **My issue is not listed**. |
| 57 | + |
| 58 | +### Do I need to manually create Spring Cloud Config Server and Spring Cloud Service Registry instances in Azure Container Apps? |
| 59 | + |
| 60 | +Yes, you must recreate Spring Cloud Config Server and Spring Cloud Service Registry instances in Azure Container Apps. Both Spring Cloud Config Server and Spring Cloud Service Registry are also managed components in Azure Container Apps, but there are some experiential differences. For more information, see [Tutorial: Connect to a managed Eureka Server for Spring in Azure Container Apps](../../container-apps/java-eureka-server.md) and [Tutorial: Connect to a managed Config Server for Spring in Azure Container Apps](../../container-apps/java-config-server.md). |
| 61 | + |
| 62 | +If you need assistance creating and migrating Spring Cloud Config Server and Spring Cloud Service Registry to Azure Container Apps, create a support request. |
| 63 | + |
| 64 | +### Is there any downtime during the migration process? |
| 65 | + |
| 66 | +There's no downtime unless you're using Spring Cloud Config Server and Spring Cloud Service Registry, which you must manually recreate in Azure Container Apps. |
| 67 | + |
| 68 | +### What happens to apps that have in-flight transactions during the migration? |
| 69 | + |
| 70 | +All in-flight transactions execute without any interruptions, unless you're using Spring Cloud Config Server and Spring Cloud Service Registry, which you must manually recreate in Azure Container Apps. |
| 71 | + |
| 72 | +### Is there any change in IP address/FQDN after the migration? |
| 73 | + |
| 74 | +There's no change. All IP addresses/FQDNs remain the same after the migration. |
| 75 | + |
| 76 | +### I'm using persistent storage. How do I recreate it in Azure Container Apps? |
| 77 | + |
| 78 | +Persistent storage migrates automatically to Azure Container Apps. |
| 79 | + |
| 80 | +### What are the pricing implications when moving to Azure Container Apps? |
| 81 | + |
| 82 | +Azure Container Apps has the same pricing structure as Azure Spring Apps for the consumption and dedicated plans. Charges for active and idle CPU/memory use, along with virtual machine SKUs in dedicated workloads, are identical in Azure Spring Apps and Azure Container Apps. The monthly free grant also applies directly to Azure Container Apps. The only exception to the rule is number of requests for managed Java components are billed in Azure Container Apps consumption plan. |
| 83 | + |
| 84 | +The following table describes the differences: |
| 85 | + |
| 86 | +| Resources used for managed Java components | Azure Spring Apps Standard consumption plan | Azure Container Apps consumption plan | |
| 87 | +|------------------------------------------------------------|---------------------------------------------|--------------------------------------------------------------------------------------------------| |
| 88 | +| Spring Cloud Service Registry active CPU | No change. | No change. | |
| 89 | +| Spring Cloud Service Registry idle CPU | No change. | No change. | |
| 90 | +| Spring Cloud Config Server active CPU | No change. | No change. | |
| 91 | +| Spring Cloud Config Server idle CPU | No change. | No change. | |
| 92 | +| One million requests made to Spring Cloud Service Registry | No extra cost. | See [Azure Container Apps pricing](https://azure.microsoft.com/pricing/details/container-apps/). | |
| 93 | +| One million requests made to Spring Cloud Config Server | No extra cost. | See [Azure Container Apps pricing](https://azure.microsoft.com/pricing/details/container-apps/). | |
| 94 | + |
| 95 | +Also, with Azure Container Apps, you can take advantage of the Azure savings plan and benefit from savings through commitment. For more information, see [Azure savings plan for compute](https://azure.microsoft.com/pricing/offers/savings-plan-compute/). |
| 96 | + |
| 97 | +### How do I continue to use my own virtual network in Azure Container Apps? |
| 98 | + |
| 99 | +There's no change to the virtual network experience. You can continue using your own virtual network. |
| 100 | + |
| 101 | +### Will my app be migrated to the consumption plan or the consumption and dedicated plan with workload profiles in Azure Container Apps? |
| 102 | + |
| 103 | +There's a direct mapping between the service plans in Azure Spring Apps and Azure Container Apps. If your app is currently running on the consumption plan, it moves to the consumption only plan in Azure Container Apps. If your app is currently running on a consumption and dedicated workload profile, it transitions to the corresponding workload profile in Azure Container Apps. |
| 104 | + |
| 105 | +### How can I continue to keep my deployment pipelines/workflow working? |
| 106 | + |
| 107 | +Your deployment pipelines/workflow must point to Azure Container Apps to work properly. |
| 108 | + |
| 109 | +### How do I continue to make my automation scripts work using Azure CLI? |
| 110 | + |
| 111 | +Azure CLI scripts must change to make them work in Azure Container Apps. For more information, see [az containerapp](/cli/azure/containerapp). |
| 112 | + |
| 113 | +### Are there plans to retire any other Azure Spring Apps SKUs? |
| 114 | + |
| 115 | +Yes, other Azure Spring Apps plans are also retiring. For more information, see the [Azure Spring Apps retirement announcement](retirement-announcement.md). |
0 commit comments