In this article. I will try to create a Dynamis365 Business Central on docker container for developing purpose
Once docker is complete pull the image container to your local computer then. you will be able to access Dynamics 365 BC via a Web Browser
In this article. I will try to create a Dynamis365 Business Central on docker container for developing purpose
Previously. I'm published 3 Articles about performance testing on Azure computing including
VMs, APP-Service, Container Insanctse by using Dotnet core application web API: Link
This article will apply the same Netcore Application for testing how the computing can handle large requests from clients and process to Azure SQL
There is 2 part for this testing
Part 1. provision Azure Kubernetes Service
Part 2. Execute testing
1. Once you have successfully build your application using NetCore Then you upload it to Azure Container Registry. I have already created an article for upload Netcore Application to Azure container follow the:Link
2. On (Azure)Azure Container Registries enable Admin user and copy login server for next step
4. Create Azure Kubernetes Service
In this article, I will create 2 scenario
- Manual Scale Sigle Node
- Auto Scale 1 - 2 Node
5. On the AKS integration tab refer to target ACR using for Pull image
6 AKS has been created then copy connection string for next step
7. Prepare YAML file using VS Code
you can follow the step by this Julio Casal'syoutupe : Link
Replace image name from your ACR on this session
1. Virtual Machine: Link
2. App Services: Link
2.1 Single Instances S1
2.2 Dual Instancese S1
2.3 Single Instances P1V2 (Scale-up)
** Because I testing in the Azure trial Environment, so I cannot use the Isolate plan to create an app service
3. Container Instances
3.1 Single Instances
3.2 Dual Instances
3.3 Single Instances (Scale-up)
The condition to test is
Simulate sales order place from end-user. 100 users commit every 1 second over 4 minutes Duration
3. Container Instance
3.1 Single Instances
- Size 1 CPU/1.5 GiB Memory.
Azure SQL database: 5796 Orders have been inserted.
3.3 Container Instances Scale-up
I do create a Container with double size.
- Size 2 CPU core/ 3 GiB memory
Azure SQL database: 19,641 Orders have been inserted.
Conclusion:
for me, the test resource was impressive for container instances.
Hope my lab gives you ideas about 3 Azure computing services. I wouldn't say which one is the better solution. It's base on your technology and environmental condition.
In my opinion. I think the container is portable and easy to deployment so in the next article, I will try to leverage the container base with my Project.
Thanks for you visit my blog
Refer to my previous article we have tested simulated Sales order processing using NETCore web API connected to Azure SQL . by hosting on Azure virtual Machin with a single instance and multiple instances scale set.
1. Virtual Machine: Link
2. App Services
2.1 Single Instances S1
2.2 Dual Instancese S1
2.3 Single Instances P1V2 (Scale-up)
** Because I testing in the Azure trial Environment, so I cannot use the Isolate plan to create an app service
3. Container Instances
The condition to test is
Simulate sales order place from end-user. 100 users commit every 1 second over 4 minutes Duration
2. App Service
2.1 Single Instances S1
2.2 Dual Instancese S1 (Scale-Out)
I have configured the Manual scale to 2 Instances count.
-Average Response Time 8,656 ms /Response Counts success 4613 / Timeout 419
- Azure SQL: 5,230 Orders have been inserted.
2.3 Single Instances P1V2
because there is so much error in the first and second tests of App-service. seems S1 services plan cannot handle large request scenario. So have scale-up service planning to P1V2
- Change the size to P1V2 210 total ACU 3.5 GiB Memory
- Azure SQL: 6211 Orders has been inserted.
Now we have completed all 3 scenarios of App service
We will continue for Container Instance on Part2: Link
Refer to this article I'm testing for VM scale set by hosting the web-API on IIS inside Virtual manchin: Link: Testing Azure VMs Autoscale with the Load balancer
In this article, I will use the same source code as the previous lab to create the container instances rather than VMs
There is 3 part
First: Create Net core web API from Visual Studio 2019
Second: Publish project to Azure container registry
Third: Create Azure container instances and Run