AzureAppService lets you manage Azure App Service, a Platform-as-a-Service (PaaS) and Container-as-a-Service (CaaS) from Microsoft. You can deploy a containerised shiny app to the cloud using some simple wrappers.
Contra its name, the package is not (yet) a complete client to Azure App Service, but only covers the commands relevant to deploying a shiny app to Web App for Containers, the CaaS product of Azure App Service.
The package wraps the Azure CLI rather than talking directly with the Azure Resource Manager Rest API via the AzureRMR package (logged in #2).
Install the development version from GitHub with:
remotes::install_github("subugoe/AzureAppService")
You need not take on AzureAppService as a runtime dependency (in your DESCRIPTION
s Imports
field), because the package is typically only needed during deployment.
Consider adding it as an optional Suggests
dependency, or add it separately to the compute environment from which you deploy.
This package calls the Microsoft Azure Command-Line Interface (CLI). It does not (yet) talk directly with the Azure Resource Manager Rest API via the AzureRMR package (logged in #2).
To deploy to Azure, you need to install the Azure CLI any machine from which you want to deploy your shiny app. There's no need to install the Azure CLI into your production image; you only need it at deploy time. If you only deploy from GitHub Actions (recommended) you do not need to install anything; the Azure CLI is included in all GitHub-hosted runners.