Network requirements to provision Azure Spring Apps environment

Priyanka Chaudhuri 105 Reputation points
2023-08-01T11:44:52.4433333+00:00

Hi,

I read in MS documents it is recommended that we provision two different subnets for an Azure Spring Apps service instance -

  1. One for the service run time
  2. One for the Spring Boot applications

Could you please elaborate a bit why it is so? Won't the applications be running in the service's runtime? I tried searching for some explanation online but did not find any.

(Sorry if its too daft a question).

Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
104 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 67,001 Reputation points
    2023-08-01T11:53:34.74+00:00

    @Priyanka Chaudhuri Thanks for reaching out.

    Yes, it is recommended to provision two different subnets for an Azure Spring Apps service instance - one for the service runtime and one for the Spring Boot applications. The reason for this is that the service runtime and the Spring Boot applications have different network requirements.

    The service runtime is responsible for running the Azure Spring Apps service itself, while the Spring Boot applications are the applications that you deploy to the service. By separating them into different subnets, you can apply different network security policies to each subnet.

    For example, you might want to restrict inbound traffic to the service runtime subnet to only allow traffic from specific IP addresses or subnets, while allowing more open inbound traffic to the Spring Boot applications subnet.

    Additionally, separating the subnets can help with troubleshooting and monitoring. If you have issues with the service runtime, you can focus on the subnet dedicated to the service runtime, while if you have issues with the Spring Boot applications, you can focus on the subnet dedicated to the applications.

    Please "Accept Answer" if the answer is helpful so that it can help others in the community.


0 additional answers

Sort by: Most helpful