GroundX On-Prem on AWS
A Simple Guide to Installing GroundX On-Prem onto AWS
Deploy GroundX On-Prem on AWS to run retrieval augmented generation (RAG) in a controlled environment. The deployment can run without external dependencies, supporting applications with strict security requirements.
GroundX On-Prem is available as:
- A free, open source repo (github)
- A paid product with additional capabilities
- A service with dedicated support
This guide uses the free, open source version.
See Choose Your GroundX Path to compare deployment options, including managing an on-prem instance with GroundX Agent Harness.
⚠️ Warning ⚠️
This guide creates AWS resources that incur charges. Remove the resources when finished. AWS experience is recommended.
Prerequisites
Install these tools before starting:
- bash shell (version 4.0 or later recommended. AWS Cloud Shell has insufficient resources.)
- terraform (Setup Docs)
- AWS CLI (Setup Docs)
- kubectl (Setup Docs)
1) Defining the Infrastructure
Clone the infrastructure repository:
Create the infrastructure configuration file:
env.tfvars defines the Terraform resources. The copied example uses the default configuration. Edit it to suit your deployment.
Create the infrastructure:
The command prompts for the AWS region and asks you to confirm the configuration.
After it completes, deploy GroundX on the new infrastructure.
2) Deploying GroundX
Create the application configuration file:
Edit the copied file before deploying GroundX.
For security, you MUST set these values in operator/env.tfvars:
admin.api_key: Set a random UUID, generated withbin/uuid. This is the admin API key used for inter-service communication.admin.username: Set a random UUID, generated withbin/uuid. This is the admin user ID used for inter-service communication.admin.email: Set the admin account email address.
Deploy GroundX with the saved configuration:
This deploys GroundX On-Prem to the Kubernetes cluster created in step 1.
3) Setting Up A Client To Talk TO GroundX On-Prem
Run kubectl -n eyelevel get svc to find the API endpoint. Use the GroundX load balancer’s external IP or hostname.
Example external address:
Configure the SDK with that endpoint and the admin.api_key from operator/env.tfvars:
The client works similarly to a client connected to hosted GroundX. See the API Documentation for endpoint details and tutorials.
Protected file prerequisites
File Access and Sharing describes the local API contracts. Before enabling file protection, verify:
- Compatible API, processor, and gateway images.
- Private storage origins and reachable signing endpoints with trusted TLS certificates.
- Shared policy, cache, and database services.
- Protection for existing files.
Do not enable protected workflows with an older upload helper that only supports public storage. Test each advertised storage backend at its pinned versions. Verify the deployment’s local MCP routes and authentication. Hosted OAuth endpoints do not configure on-prem MCP.

