The PowerServer Web APIs is an ASP.NET Core app; it can be hosted and deployed like any other ASP.NET Core app.
For a complete list of the supported environments, refer to https://docs.microsoft.com/aspnet/core/host-and-deploy/?view=aspnetcore-6.0.
The following are the most popular hosting environments (any version within the support period is supported):
-
Windows IIS
For how to publish the PowerServer Web APIs to IIS, refer to Tutorial: Hosting Web APIs in IIS.
-
Windows/Linux Docker
For how to publish the PowerServer Web APIs to Docker, refer to Tutorial: Hosting Web APIs in Docker Containers.
-
Kubernetes
For how to publish the PowerServer Web APIs to Kubernetes, refer to Tutorial: Deploying installable cloud apps to Kubernetes.
-
Windows/Linux Kestrel (with or without a reverse proxy server)
For how to run the PowerServer Web APIs on Kestrel, refer to Tutorial: Hosting Web APIs in Kestrel.
To containerize PowerServer Web APIs, it is recommended that the Azure service has the following specifications/sizes at minimum:
Azure service |
Minimum size |
Recommended OS |
---|---|---|
Azure Virtual Machines |
Standard D2as v4 (2 vCPUs, 8 GiB memory) |
Linux |
Azure App Service |
P1V2 (210 total ACU, 3.5 GB memory) |
Linux |
Azure Container Instances |
2 vCPUs, 4 GiB memory, 0 GPUs |
Linux |