1. mike S
  2. SnapDevelop
  3. Tuesday, 2 August 2022 17:25 PM UTC

Setting up the engine that is not local, its an azure container app.   

has anyone else setup snapdevelop to publish this way?  did you get it to work?

 

Accepted Answer
mike S Accepted Answer Pending Moderation
  1. Wednesday, 5 October 2022 21:20 PM UTC
  2. SnapDevelop
  3. # Permalink

I have it deploying to azure registry (instead of the docker registry).

I have the azure registry deploying to a container app.  (This provides advanced features over running simply as a container instance.)

 

you deploy to local docker and the azure instance registry, which can easily be setup.

 

the issue i had was that the VM i was running in had the docker install messed up somehow and it wouldn't run.  Running the production version directly in windows where docker already runs, and able to deploy it as a container app which runs great. 

 

 

Comment
  1. mike S
  2. Wednesday, 5 October 2022 21:28 PM UTC
FWIW, container apps seem like the way to go for running the web api on azure. It scales up to 30 replicas (currently) and has a min/max value to control things. If you end up needed more than the max, then you would switch over to Kubernetes and container instances.

azure handles all the Kubernetes and also provides dapr functionality, so you don't have to manage that.
  1. Helpful
There are no comments made yet.
Tracy Huang @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 3 August 2022 06:47 AM UTC
  2. SnapDevelop
  3. # 1

Hi Mike,

You mean publishing PowerServer Web APIs to Azure container, not Docker container? Anything in the following two tutorials might be helpful?

https://docs.appeon.com/ps2022/Hosting_Web_APIs_in_Docker_Containers.html?

https://docs.appeon.com/ps2022/Deploying_installable_cloud_apps_to_Kubernetes.html

What problems or difficulties do you have?

Regards

Tracy

Comment
  1. mike S
  2. Wednesday, 3 August 2022 13:12 PM UTC
Yes, azure:

https://docs.microsoft.com/en-us/azure/container-apps/overview

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-intro



My VM with PS 2022 beta installed on it is unable to run docker. docker will attempt to run, restart itself and then die. reinstall of docker did not fix it. So instead, i was hoping to deploy directly to azure without having the local docker installed.



anyway, i was hoping someone else was already running things on azure's containers since the setup is a little different, and some of the functionality is too







  1. Helpful
  1. Tracy Huang @Appeon
  2. Thursday, 4 August 2022 02:36 AM UTC
Hi Mike,



I checked with the team; they haven't tried Azure Container Apps before, but they have been successful before deploying PowerServer Web APIs to Docker containers and then running Docker containers with Azure Container Instances:

https://docs.microsoft.com/en-us/azure/container-instances/

They have also been successful with using Azure Kubernetes Service to interact with Azure Container Instance (in this tutorial: https://docs.appeon.com/ps2022/Deploying_installable_cloud_apps_to_Kubernetes.html)



I know there are some differences between Azure Container Apps and Azure Container Instances. If you still want to use Azure Container Apps, you may also seek help from Azure support.



Hope this is helpful to you.



Regards

Tracy
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.