Configure GitLab Duo on GitLab Dedicated for Government
- Offering: GitLab Dedicated for Government
For GitLab Dedicated for Government, you must use the GitLab Duo Self-Hosted architecture. The GitLab-managed AI Gateway and models are not available.
GitLab Duo Agent Platform capabilities are authorized for use in GitLab Dedicated for Government on a per-capability basis. For more information, see GitLab Dedicated for Government.
To set up GitLab Duo Self-Hosted:
- Ensure Silent Mode is turned off.
- Install a self-hosted AI Gateway in AWS GovCloud.
For optimal performance, co-locate your AI Gateway and instance.
- Use a FIPS-validated AI Gateway image. FIPS-validated images are published in the container registry. Select the latest image tagged with the same GitLab version your instance is running.
- You can deploy the AI Gateway by using Docker or the GitLab Helm chart. For more information on each deployment method, see security updates and image verification.
- In the environment where you installed the AI Gateway, configure your network settings to enable access to your instance and selected LLMs.
- Configure access to the local AI Gateway.
- Add a self-hosted model to use with GitLab Duo features.
- Request that GitLab enable network connectivity from your instance to your self-hosted AI Gateway and selected LLMs by creating a support ticket.
- View GitLab Duo and SDLC trends to measure the impact of GitLab Duo on your team’s productivity.