<@ULVA73B9P> Can you help with some documentation ...
# ask-marvin
j
@Marvin Can you help with some documentation on how to run Prefect on Azure Container Apps?
m
To run Prefect on Azure Container Apps, you need to follow a few steps. Here is a summary based on documentation snippets: 1. Prerequisites: - A Prefect Cloud account. - A Prefect Cloud API key, available from your Prefect Cloud Pro or Enterprise tier account. - A Microsoft Azure account. 2. Deployment: - Make sure your Docker daemon is running. - Deploy your flows with
prefect deploy --all
to deploy all flows or
prefect deploy -n flow-name
to deploy individual flows. For example:
Copy code
prefect deploy -n hello/default
or
Copy code
prefect deploy -n hello/arthur
- Set your Docker image environment variable for Azure Container Registry (ACR) like so:
Copy code
export PREFECT_IMAGE_NAME=<REPOSITORY-NAME>.<http://azurecr.io/<IMAGE-NAME|azurecr.io/<IMAGE-NAME>>
3. Running Flows: - After deployments are created, you can run them from the Prefect UI or through the CLI. For more detailed instructions and explanations, refer to the Prefect ACI deployment guide. Please note that Azure Container Instances (ACI) are mentioned, but the same principles can generally be applied to Azure Container Apps, with specific adjustments as required by Azure Container Apps service specifics. Keep in mind that if you encounter any problems or need more specific guidance, consulting the Prefect community or Prefect support might be the next step.