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
Finish self-hosting docs for AWS Lightsail
Tuan Dange8228201517e
diff --git a/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-container-service-overview.png b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-container-service-overview.pngnew file mode 100644index 0000000000..8f4c6e8e21Binary files /dev/null and b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-container-service-overview.png differdiff --git a/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-capacity.png b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-capacity.pngnew file mode 100644index 0000000000..034bfc61ceBinary files /dev/null and b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-capacity.png differdiff --git a/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-deployment.png b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-deployment.pngnew file mode 100644index 0000000000..25b91ecfa6Binary files /dev/null and b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-deployment.png differdiff --git a/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-envars.png b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-envars.pngnew file mode 100644index 0000000000..683056f280Binary files /dev/null and b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-envars.png differdiff --git a/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-public-endpoint.png b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-public-endpoint.pngnew file mode 100644index 0000000000..3b765a46bcBinary files /dev/null and b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-public-endpoint.png differdiff --git a/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-summary.png b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-summary.pngnew file mode 100644index 0000000000..5c73f1d49fBinary files /dev/null and b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service-summary.png differdiff --git a/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service.png b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service.pngnew file mode 100644index 0000000000..09717c784cBinary files /dev/null and b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-create-container-service.png differdiff --git a/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-select-lightsail.png b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-select-lightsail.pngnew file mode 100644index 0000000000..fe61c9bf49Binary files /dev/null and b/docs/images/self-hosting/deployment-options/aws-lightsail/awsl-select-lightsail.png differdiff --git a/docs/mint.json b/docs/mint.jsonindex 70ab21b8f2..a907809279 100644--- a/docs/mint.json+++ b/docs/mint.json@@ -159,12 +159,13 @@"pages": ["self-hosting/overview","self-hosting/deployment-options/standalone-infisical",+ "self-hosting/deployment-options/docker-compose","self-hosting/deployment-options/kubernetes-helm","self-hosting/deployment-options/aws-ec2",+ "self-hosting/deployment-options/aws-lightsail","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","self-hosting/deployment-options/fly.io"]diff --git a/docs/self-hosting/deployment-options/aws-lightsail.mdx b/docs/self-hosting/deployment-options/aws-lightsail.mdxnew file mode 100644index 0000000000..b5cdb6c9d0--- /dev/null+++ b/docs/self-hosting/deployment-options/aws-lightsail.mdx@@ -0,0 +1,66 @@+---+title: "AWS Lightsail"+description: "Deploy Infisical with AWS Lightsail"+---++Prerequisites:+- Have an account with [Amazon Web Services (AWS)](https://aws.amazon.com/)++<Steps>+ <Step title="Create a container service in AWS Lightsail">+ 1.1. In AWS, navigate to the **Lightsail** service and press **Create container service** under the **Containers** tab.+ ++ ++ 1.2. In the **Container service location** section, select the AWS region that's closest to your infrastructure.++ Afterwards, in the **Container service capacity** section, set the power level and scale to fit your needs; you may opt for the default setting+ and adjust accordingly in the future.++ ++ 1.3. In the **Set up your first deployment** section, select the **Specify a custom deployment** option. Give the container a friendly name like **infisical** and fill in your intended [Infisical public Docker image](https://hub.docker.com/r/infisical/infisical) in the **Image** 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. Running Infisical requires a few environment variables to be set for the container 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).++ In the **Environment variables** section, fill in the required environment variables.++ <Note>+ To use more features like emailing and single sign-on, you can set additional configuration options [here](/self-hosting/configuration/envars).+ </Note>++ Also, under the **Open ports** section, add an entry for port `8080` and protocol `HTTP` since Infisical listens on port `8080`.++ ++ 1.5. In the **Public endpoint** section, select the container from the previous steps from the dropdown; this will make the container accessible over the public internet.++ ++ 1.6. Finally, in the **Identify your service** section, give the container service a unique name like infisical and press **Create container service**.++ + </Step>+ <Step title="Navigate to your deployed instance of Infisical">+ On the newly-created container service page, wait for the **Status** to turn to **Running** and check out the **Public domain** of the container service; you can access your instance of Infisical by this URL.++ + </Step>+</Steps>++<AccordionGroup>+ <Accordion title="Do you have any recommendations for deploying Infisical with AWS Lightsail?">+ 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.++ 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 5aca5663ce..05e877f375 100644--- a/docs/self-hosting/deployment-options/azure-container-instances.mdx+++ b/docs/self-hosting/deployment-options/azure-container-instances.mdx@@ -46,7 +46,7 @@ Prerequisites:1.3. In the **Networking** section, select the **Public** option under **Networking type**; this will make the container accessible over the public internet.- Next, under the **Ports** section, add an entry for port `8080` and protocol `TCP`.+ Next, under the **Ports** section, add an entry for port `8080` and protocol `TCP` since Infisical listens on port `8080`.diff --git a/docs/self-hosting/deployment-options/gcp-cloud-run.mdx b/docs/self-hosting/deployment-options/gcp-cloud-run.mdxindex b7288ce3a1..67c9fcf57c 100644--- a/docs/self-hosting/deployment-options/gcp-cloud-run.mdx+++ b/docs/self-hosting/deployment-options/gcp-cloud-run.mdx@@ -64,5 +64,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 1f09be3f17..5be03714df 100644--- a/docs/self-hosting/overview.mdx+++ b/docs/self-hosting/overview.mdx@@ -22,9 +22,6 @@ Choose from a variety of deployment options listed below to get started.>Automatically create and deploy Infisical on to a Kubernetes cluster</Card>- <Card title="AWS EC2" color="#0285c7" href="deployment-options/aws-ec2">- Install infisical with just a few clicks using our Cloud Formation template- </Card><Cardtitle="Docker Compose"color="#0285c7"@@ -39,6 +36,20 @@ Choose from a variety of deployment options listed below to get started.>Use our Helm chart to Install Infisical on your Kubernetes cluster</Card>+ <Card+ title="AWS EC2"+ color="#0285c7"+ href="deployment-options/aws-ec2"+ >+ Install infisical with just a few clicks using our Cloud Formation template+ </Card>+ <Card+ title="AWS Lightsail"+ color="#0285c7"+ href="deployment-options/aws-lightsail"+ >+ Deploy Infisical with AWS Lightsail+ </Card><Cardtitle="Fly.io"color="#ea5a0c"