Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Add self-hosting docs for Azure App Service
Tuan Dang70f1122362cf
diff --git a/docs/images/self-hosting/deployment-options/azure-app-services/aas-app-service-configuration.png b/docs/images/self-hosting/deployment-options/azure-app-services/aas-app-service-configuration.pngnew file mode 100644index 0000000000..20df647f3dBinary files /dev/null and b/docs/images/self-hosting/deployment-options/azure-app-services/aas-app-service-configuration.png differdiff --git a/docs/images/self-hosting/deployment-options/azure-app-services/aas-app-service-deployment-complete.png b/docs/images/self-hosting/deployment-options/azure-app-services/aas-app-service-deployment-complete.pngnew file mode 100644index 0000000000..3594e85722Binary files /dev/null and b/docs/images/self-hosting/deployment-options/azure-app-services/aas-app-service-deployment-complete.png differdiff --git a/docs/images/self-hosting/deployment-options/azure-app-services/aas-app-service-overview.png b/docs/images/self-hosting/deployment-options/azure-app-services/aas-app-service-overview.pngnew file mode 100644index 0000000000..fed2f8adb3Binary files /dev/null and b/docs/images/self-hosting/deployment-options/azure-app-services/aas-app-service-overview.png differdiff --git a/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service-basics.png b/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service-basics.pngnew file mode 100644index 0000000000..d449bd0b85Binary files /dev/null and b/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service-basics.png differdiff --git a/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service-docker.png b/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service-docker.pngnew file mode 100644index 0000000000..49c3e7d9deBinary files /dev/null and b/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service-docker.png differdiff --git a/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service-review.png b/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service-review.pngnew file mode 100644index 0000000000..20cb407d45Binary files /dev/null and b/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service-review.png differdiff --git a/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service.png b/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service.pngnew file mode 100644index 0000000000..60a3e4d69eBinary files /dev/null and b/docs/images/self-hosting/deployment-options/azure-app-services/aas-create-app-service.png differdiff --git a/docs/images/self-hosting/deployment-options/azure-app-services/aas-select-app-services.png b/docs/images/self-hosting/deployment-options/azure-app-services/aas-select-app-services.pngnew file mode 100644index 0000000000..17dd978a51Binary files /dev/null and b/docs/images/self-hosting/deployment-options/azure-app-services/aas-select-app-services.png differdiff --git a/docs/mint.json b/docs/mint.jsonindex ec90bea655..70ab21b8f2 100644--- a/docs/mint.json+++ b/docs/mint.json@@ -162,6 +162,7 @@"self-hosting/deployment-options/kubernetes-helm","self-hosting/deployment-options/aws-ec2","self-hosting/deployment-options/gcp-cloud-run",+ "self-hosting/deployment-options/azure-app-services","self-hosting/deployment-options/azure-container-instances","self-hosting/deployment-options/docker-compose","self-hosting/deployment-options/digital-ocean-marketplace",diff --git a/docs/self-hosting/deployment-options/azure-app-services.mdx b/docs/self-hosting/deployment-options/azure-app-services.mdxnew file mode 100644index 0000000000..a8472ae2bf--- /dev/null+++ b/docs/self-hosting/deployment-options/azure-app-services.mdx@@ -0,0 +1,71 @@+---+title: "Azure App Services"+description: "Deploy Infisical with Azure App Service"+---++Prerequisites:+ - Have an account with [Microsoft Azure](https://azure.microsoft.com/en-us)++<Steps>+ <Step title="Create a Web App in Azure App Services">+ 1.1. In Azure, navigate to the **App Services** solution and press **Create > Web App**.++ ++ ++ 1.2. In the **Basics** section, specify the **Subscription** and **Resource group** to manage the deployed resource.++ Also, give the container a friendly name like Infisical and specify a **Region** for it to be deployed to.++ ++ 1.3. In the **Docker** section, select the **Single Container** option under **Options** and specify **Docker Hub** as the image source++ Next, under the **Docker hub options** sub-section, select the **Public** option under **Access Type** and fill in your intended [Infisical public Docker image](https://hub.docker.com/r/infisical/infisical) in the **Image and tag** field; this will pull the image from Docker Hub.++ For example, in order to opt for Infisical `v0.43.4`, you would input: `infisical/infisical:v0.43.4`.++ ++ 1.4. Finally, in the **Review + create** section, double check the information from the previous steps and press **Create** to create the Azure app service.++ ++ 1.5. Next, wait a minute or two on the deployment overview page for the app to be created. Once the deployment is complete, press **Go to resource**+ to head to the **App Service dashboard** for the newly-created app.++ ++ 1.6. Running Infisical requires a few environment variables to be set for the Azure app service.+ At minimum, Infisical requires that you set the variables `ENCRYPTION_KEY`, `AUTH_SECRET`, `MONGO_URL`, and `REDIS_URL`+ which you can read more about [here](/self-hosting/configuration/envars).++ <Note>+ To use more features like emailing and single sign-on, you can set additional configuration options [here](/self-hosting/configuration/envars).+ </Note>++ Additionally, you must set the variable `WEBSITES_PORT=8080` since+ Infisical listens on port `8080`.++ In the **Settings > Configuration** section of the newly-created app service, fill in the required environment variables.++ + </Step>+ <Step title="Navigate to your deployed instance of Infisical">+ In the **Overview** section, check out the **Default domain** for your instance of Infisical; you can visit the instance at this URL.++ + </Step>+</Steps>++<AccordionGroup>+ <Accordion title="Do you have any recommendations for deploying Infisical with Azure App Services?">+ Yes, here are a few that come to mind:+ - In step 1.3, we recommend pinning the Docker image to a specific [version of Infisical](https://hub.docker.com/r/infisical/infisical/tags)+ instead of referring to the `latest` tag to avoid any unexpected version-to-version migration issues.+ - In step 1.2, we recommend selecting a **Region** option that is closest to your infrastructure/clients to reduce latency.++ We're working on putting together a fuller list of deployment best practices as well as minimum resource configuration requirements for running Infisical so stay tuned!+ </Accordion>+</AccordionGroup>\ No newline at end of filediff --git a/docs/self-hosting/deployment-options/azure-container-instances.mdx b/docs/self-hosting/deployment-options/azure-container-instances.mdxindex e2df879707..5aca5663ce 100644--- a/docs/self-hosting/deployment-options/azure-container-instances.mdx+++ b/docs/self-hosting/deployment-options/azure-container-instances.mdx@@ -13,6 +13,8 @@ Prerequisites:- [Enabling a TLS endpoint in a sidecar container](https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-group-ssl).- [Enabling automatic HTTPS with Caddy in a sidecar container](https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-group-automatic-ssl).- Using Azure Function Proxies, Application Gateway, etc.++ For a simpler deployment experience with complete TLS/SSL setup, you may try [deploying Infisical with Azure App Services](/self-hosting/deployment-options/azure-app-services).</Note><Steps>@@ -48,7 +50,7 @@ Prerequisites:- 1.4. Running Infisical requires a few environment variables to be set for the GCP Cloud Run service.+ 1.4. Running Infisical requires a few environment variables to be set for the Azure container instance.At minimum, Infisical requires that you set the variables `ENCRYPTION_KEY`, `AUTH_SECRET`, `MONGO_URL`, and `REDIS_URL`which you can read more about [here](/self-hosting/configuration/envars).@@ -65,7 +67,6 @@ Prerequisites:</Step><Step title="Navigate to your deployed instance of Infisical">-Head to the **Overview** page of the newly-created container instance to view its **IP address (Public)**; you can access your instance of Infisical by this IP address under the port `:8080`.For example, in the image below, the IP address of the sample deployed container instance is `4.255.87.109`; the instance would be accessible in the browser by heading to `4.255.87.109:8080`.@@ -84,4 +85,4 @@ Prerequisites:We're working on putting together a fuller list of deployment best practices as well as minimum resource configuration requirements for running Infisical so stay tuned!</Accordion>-</AccordionGroup>+</AccordionGroup>\ No newline at end of filediff --git a/docs/self-hosting/overview.mdx b/docs/self-hosting/overview.mdxindex 3e0fac2ce9..1f09be3f17 100644--- a/docs/self-hosting/overview.mdx+++ b/docs/self-hosting/overview.mdx@@ -53,6 +53,13 @@ Choose from a variety of deployment options listed below to get started.>Deploy Infisical with GCP Cloud Run</Card>+ <Card+ title="Azure App Services"+ color="#ea5a0c"+ href="deployment-options/azure-app-services"+ >+ Deploy Infisical with Azure App Services+ </Card><Cardtitle="Azure Container Instances"color="#ea5a0c"