> For the complete documentation index, see [llms.txt](https://docs.defguard.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.defguard.net/1.5/deployment-strategies.md).

# Deployment strategies

- [Overview](https://docs.defguard.net/1.5/deployment-strategies/setting-up-your-instance.md): This documentation will guide you through the process of deploying your Defguard instance.
- [Deploying to Production](https://docs.defguard.net/1.5/deployment-strategies/deploying-to-production.md)
- [Hardware, OS, network and firewall recommendations](https://docs.defguard.net/1.5/deployment-strategies/hardware-os-network-and-firewall-recommendations.md): Before Defguard can be deployed please get familiar with the following recommendations
- [Standalone package based installation](https://docs.defguard.net/1.5/deployment-strategies/standalone-package-based-installation.md)
- [Defguard APT repository](https://docs.defguard.net/1.5/deployment-strategies/standalone-package-based-installation/defguard-apt-repository.md)
- [Docker Compose](https://docs.defguard.net/1.5/deployment-strategies/docker-compose.md)
- [Kubernetes](https://docs.defguard.net/1.5/deployment-strategies/kubernetes.md)
- [Terraform](https://docs.defguard.net/1.5/deployment-strategies/terraform.md)
- [Amazon Machine Image (AMI)](https://docs.defguard.net/1.5/deployment-strategies/amis-and-aws-cloudformation.md)
- [Configuring HTTPS using AWS Certificate Manager](https://docs.defguard.net/1.5/deployment-strategies/amis-and-aws-cloudformation/configuring-https-using-aws-certificate-manager.md)
- [Adding a location and getting a Gateway token](https://docs.defguard.net/1.5/deployment-strategies/gateway.md): This documentation will guide you through adding a new location and proceeding with the Gateway deployment, enabling your devices to connect to it via VPN.
- [Configuration](https://docs.defguard.net/1.5/deployment-strategies/configuration.md)
- [Running Gateway on OPNsense firewall](https://docs.defguard.net/1.5/deployment-strategies/running-gateway-on-opnsense-firewall.md)
- [Running Gateway on MikroTik routers](https://docs.defguard.net/1.5/deployment-strategies/running-gateway-on-mikrotik-routers.md)
- [Reverse Proxy configuration using Nginx](https://docs.defguard.net/1.5/deployment-strategies/reverse-proxy-configuration-using-nginx.md)
- [High Availability and Failover](https://docs.defguard.net/1.5/deployment-strategies/high-availability-and-failover.md)
- [Updating and version compatibility](https://docs.defguard.net/1.5/deployment-strategies/updating-and-version-compatibility.md)
- [Migration guides](https://docs.defguard.net/1.5/deployment-strategies/upgrading.md): Notes on upgrading Defguard and its components
- [Using a userspace wireguard-go implementation](https://docs.defguard.net/1.5/deployment-strategies/using-a-userspace-wireguard-go-implementation.md)
- [Pre-production and development releases](https://docs.defguard.net/1.5/deployment-strategies/pre-production-and-development-releases.md)
- [Securing gRPC communication](https://docs.defguard.net/1.5/deployment-strategies/grpc-ssl-communication.md)
- [Using RSA instead of HMAC for OpenID key](https://docs.defguard.net/1.5/deployment-strategies/openid-rsa-key.md)
- [Health check](https://docs.defguard.net/1.5/deployment-strategies/health-check.md)
- [Production deployment verification guide](https://docs.defguard.net/1.5/deployment-strategies/production-deployment-verification-guide.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.defguard.net/1.5/deployment-strategies.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
