Skip to content

Commit babe8a7

Browse files
committed
review lab 1
1 parent f9c0bdc commit babe8a7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/01_lab_plan/0102.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The four primary options you will take into account are [Azure App Service](http
1414
* The Spring Petclinic application should be accessible via a public endpoint to any user (anonymously).
1515
* The new implementation of Spring Petclinic should eliminate the need to manually upgrade and manage the underlying infrastructure. Instead, the application should use the platform-as-a-service (PaaS) model.
1616
* Spring Petclinic implementation needs to adhere to the principles of the microservices architecture, with each component of the application running as a microservice and granular control over cross-component communication. The application will evolve into a solution that will provide automatic and independent scaling of each component and extend to include additional microservices.
17+
* Since you are starting from a Java Spring Cloud application, it would be nice to have in case any of the target services would provide you any out of the box Spring Cloud components.
1718

1819
Consider any additional steps you may need to perform to migrate the Spring Petclinic application to the target service.
1920

@@ -42,5 +43,6 @@ Fill out the following table based on your analysis:
4243
* AKS would require an extra migration step that involves containerizing all components. You will also need to implement Azure Container Registry to store and deploy your container images from or you could use a publicly available Docker repository.
4344
* Running and operating an AKS cluster introduces an additional effort.
4445
* Azure App Service scalability is more limited than AKS or Azure Spring Apps Service.
46+
* Both Azure Spring Apps and Azure Container App have built in components for Spring Cloud components. This will give you less services you'll need to deploy and operate.
4547

46-
Given the above constraints and feature sets, in the case of the Spring Petclinic application, Azure Spring Apps and Azure Kubernetes Service represent the most viable implementation choices.
48+
Given the above constraints and feature sets, in the case of the Spring Petclinic application, Azure Spring Apps, Azure Kubernetes Service and Azure Container Apps represent the most viable implementation choices.

docs/01_lab_plan/0104.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ For information on how to organize your cloud-based resources to secure, manage,
1717

1818
## How will you configure networking for the application components?
1919

20-
In case you chose to use Azure container apps, you do have an option to deploy it into your own virtual network or in microsoft managed vNet. If you use your own VNet, you need to provide a subnet that is dedicated exclusively to the Container App environment you deploy. And you need atleast /27 size subnet for the workload profiles and /23 for the consumption only plan.
20+
In case you chose to use Azure container apps, you do have an option to deploy it into your own virtual network or in microsoft managed VNet. If you use your own VNet, you need to provide a subnet that is dedicated exclusively to the Container App environment you deploy. You need at least a /27 size subnet when using workload profiles and a /23 size subnet when using the consumption only plan.
2121

2222
In case you chose to use Azure Spring Apps, you have the option to deploy Azure Spring Apps either into a virtual network or deploy it without a virtual network dependency. The latter approach will simplify the task of making the first migrated version of the application accessible from the internet. Later on, in one of the subsequent exercises, you will change this approach to accommodate additional requirements. For now though, for the sake of simplicity, you will not create any virtual networks for Azure Spring Apps.
2323

2424
In case you chose AKS as the hosting platform, you will need at least one subnet in a virtual network to run the nodes of your AKS cluster. This subnet for now can be small, such as `/26`, which allows for a total of 64 IP addresses (although some of them are pre-allocated for the platform use).
2525

2626
The Azure Database for MySQL deployment will not require any virtual network connectivity for the first phase of the migration of the application. This will also change in one of the subsequent exercises, when you will implement additional security measures to protect the full application stack.
2727

28-
29-
3028
## Are there any supporting services you would need for running the application?
3129

3230
In case you chose Azure Spring Apps, no additional supporting services are needed during the first phase of the migration. All you need is a compute platform and a database.
3331

3432
In case you chose AKS, you will also need a container registry for storing any container images that will be deployed to the cluster. You can use for this purpose Azure Container Registry.
33+
34+
For Azure Container Apps, you might need a container registry, depending on how you prefer to deploy your apps, this can be containerized and in that case you will need the container registry. Or, you can also choose to deploy from a jar file or from source code. In those latter 2 cases Azure Container Apps will handle the containerization for you.

0 commit comments

Comments
 (0)