1. billy hugon
  2. PowerServer
  3. Wednesday, 28 February 2024 16:29 PM UTC

I have deployed a project to IIS on a server and its working fine, but now need to deploy to Docker container.  I'm not sure the best route to go since this is new to me.  Should I try to deploy the demo application first or go ahead and deploy my application.  

Also, the current DB is SqlServer on prem.  Would it benefit me to move it to Azure SQL or keep it on prem?

 

Anyone have experience with this?

 

Thanks

mike S Accepted Answer Pending Moderation
  1. Wednesday, 28 February 2024 20:06 PM UTC
  2. PowerServer
  3. # 1

"Would it benefit me to move it to Azure SQL or keep it on prem?"

You want the database to be where the PS web apis are located.  

So, if you are running everything in azure, then yes, you want the database to be hosted either as azure sql or a vm running sql server.  fwiw, we use azure sql.

 

Since you apparently are using azure, then should consider using azure "container app".  You deploy your webapis to a container registry such as azure's or dockers via snapdev or whatever you are using.  Then you deploy to the container apps, or AKS, container instance, whatever.   

 

Or you could use rancher if you are being forced to and then you would get to figure it all out.

 

 

Comment
There are no comments made yet.
billy hugon Accepted Answer Pending Moderation
  1. Wednesday, 28 February 2024 18:31 PM UTC
  2. PowerServer
  3. # 2

Thank you.  Looking at this, I dont see any reference to Rancher as a deployment tool.  That is what I will be required to use.  Is there any reference documents on this?

 

 

Comment
  1. Francisco Martinez @Appeon
  2. Wednesday, 28 February 2024 19:39 PM UTC
Not in our documentation, that I know. But I imagine that once you get your project onto Docker, you can follow through using just Rancher's own documentation
  1. Helpful
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 28 February 2024 17:17 PM UTC
  2. PowerServer
  3. # 3

Hi Billy,

 

We have documentation on deploying part of a PowerServer application onto Docker:

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

And another tutorial on deploying to Kubernetes on Azure:

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

 

Hope this helps.

Regards,
Francisco

Comment
  1. mike S
  2. Wednesday, 28 February 2024 20:14 PM UTC
how come you didn't do a "how to deploy" for azure container apps?

container apps include scale, load balancing, certificates, revisions, that container instances don't. IMO a much better, easier and cheaper to manage option. https://learn.microsoft.com/en-us/azure/container-apps/compare-options



I had been running PS2022R1 in container app (changed to IIS only for R2, waiting for PS changes before i go back to a container approach)



  1. Helpful
  1. Francisco Martinez @Appeon
  2. Wednesday, 28 February 2024 21:13 PM UTC
The tutorials we make are often derived from demand for a specific technology. If you would like to see another tutorial it's a good idea to communicate this to product@appeon.com so that they're aware there's a demand for this.



P.S. We have a tutorial on deploying to an App Service which is also horizontally scalable (but IIRC load balancing has to be configured manually with another resource): https://docs.appeon.com/ps2022/publishing_powerserver_projects_to_azure_app_service.html



  1. Helpful
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.