Overview
Overview
Enterprise Private LLM Server with Ollama is a preconfigured Amazon Linux 2023 AMI that delivers a complete private AI development platform in a single deployable image. Unlike generic GPU AMIs or manual Ollama installations, this solution ships Ollama pre-integrated with a full RAG pipeline, GPU-accelerated inference stack, remote desktop access via NICE DCV, and notebook environments - eliminating days of configuration so teams can focus on building AI applications.
Organizations can build, test, and deploy private AI assistants, Retrieval-Augmented Generation (RAG) applications, document intelligence solutions, and machine learning models without configuring operating systems, drivers, development environments, or AI dependencies.
Use Case: Enterprise Document Intelligence
A financial services team managing thousands of internal compliance documents can deploy this AMI to build a private document intelligence pipeline:
- Ingest - Load documents from Amazon S3 into the processing pipeline
- Embed - Generate vector embeddings using Hugging Face Transformers and FAISS
- Retrieve - Query relevant document sections using LangChain or LlamaIndex
- Generate - Produce accurate, context-grounded answers using a locally-hosted LLM via Ollama
All data remains within your VPC - model weights and inference data never leave your AWS environment.
Key Features
Private LLM Deployment with Ollama Run open-source Large Language Models directly within your AWS environment. Ollama is preconfigured and ready to pull and serve models immediately after launch, keeping all inference data within your infrastructure.
GPU-Accelerated AI Environment Preconfigured NVIDIA Driver, CUDA Toolkit, and cuDNN support accelerated model inference and fine-tuning on AWS GPU instances. Recommended instance families include g5 (cost-effective inference) and p4d (large-scale training).
Complete RAG Development Stack Includes Ollama, Hugging Face Transformers, LangChain, LlamaIndex, FAISS, LoRA/PEFT, FastAPI, MLflow, MONAI, and Weights & Biases - a unified stack for building enterprise search, knowledge management, and conversational AI solutions.
Integrated Development Environment Visual Studio Code, PyCharm Community Edition, RStudio Desktop, Jupyter Notebook, and JupyterLab provide end-to-end AI development workflows accessible through NICE DCV remote desktop.
Containerized AI Workloads Docker and Docker Compose are preconfigured for deploying scalable AI applications and microservices.
AWS-Native Integration Compatible with Amazon Bedrock, Amazon SageMaker, Amazon OpenSearch Service, Amazon S3, and other AWS services commonly used in AI architectures.
Security and Data Privacy
- All LLM inference runs locally within your VPC with no external API calls
- NICE DCV provides encrypted remote desktop access
- No model weights or inference data leave your AWS environment
- Compatible with VPC-only deployments for network isolation
- Customers maintain full control over security groups, IAM policies, and encryption configuration
Recommended Instance Types
- g5.xlarge - Small to medium model inference (up to 7B parameters)
- g5.2xlarge - Medium model inference and light fine-tuning
- g5.4xlarge / g5.12xlarge - Large model inference (13B+ parameters)
- p4d.24xlarge - Large-scale training and fine-tuning workloads
Minimum requirement: GPU instance with NVIDIA GPU and sufficient GPU memory for your target model size.
Technical Stack
- OS: Amazon Linux 2023
- Remote Access: Amazon NICE DCV
- Languages: Python 3.x, R
- AI Frameworks: Ollama, Hugging Face Transformers, LangChain, LlamaIndex, FAISS, LoRA/PEFT, FastAPI, MLflow, MONAI, Weights & Biases
- ML Libraries: PyTorch, TensorFlow, Scikit-learn, PySpark, Dask, Vowpal Wabbit
- GPU Stack: NVIDIA Driver, CUDA Toolkit, cuDNN
- Containers: Docker, Docker Compose
- Tools: VS Code, PyCharm CE, RStudio, JupyterLab, Git, AWS CLI, Chrome
Getting Started
- Launch the AMI on a supported GPU instance (g5.xlarge or higher recommended)
- Connect via NICE DCV remote desktop (port 8443)
- Open a terminal and run Ollama to pull your preferred model
- Start building with JupyterLab, VS Code, or the framework of your choice
Evaluation Path
To validate the solution for your workload, launch on a g5.xlarge instance and run the included sample RAG notebook that demonstrates the full Ingest-Embed-Retrieve-Generate pipeline using a locally-hosted model. The notebook walks through document ingestion from S3, embedding generation, FAISS indexing, and answer generation - providing a hands-on proof of concept within a single session.
Request a Guided Pilot
For teams requiring a guided evaluation or architecture consultation before deployment, contact the Relevance Lab team through the support channel to schedule a pilot session tailored to your use case.
Highlights
- Private AI in a single AMI: the only marketplace image shipping Ollama pre integrated with a complete RAG pipeline, GPU inference stack, NICE DCV remote desktop, and five IDE options including JupyterLab and VS Code. All LLM inference runs locally within your VPC zero external API calls, full data sovereignty.
- GPU accelerated and ready on launch: preconfigured NVIDIA Drivers, CUDA Toolkit, cuDNN, and 20 plus AI frameworks including PyTorch, TensorFlow, LangChain, LlamaIndex, and MLflow. Eliminates days of manual driver installation and dependency configuration. Supports g5 instances for inference and p4d for large-scale training.
- Production RAG pipeline from day one: ingest documents from Amazon S3, generate embeddings with Hugging Face Transformers, index with FAISS, orchestrate retrieval via LangChain or LlamaIndex, and generate answers with a locally hosted LLM. Includes a sample RAG notebook demonstrating the full pipeline and Docker Compose for containerized deployment.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Vendor refund policy
NA
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
NA
Additional details
Usage instructions
Quick Usage Summary
-
Subscribe to the AWS Marketplace product and launch an EC2 instance.
-
For optimal AI and LLM performance, use a GPU-enabled instance such as: g4dn.xlarge g4dn.2xlarge g4dn.4xlarge g5.xlarge g5.2xlarge or larger.
-
Configure a root EBS volume of at least 100 GB. A minimum of 200 GB is recommended for AI models, datasets, and development workloads.
-
Connect to the instance using Amazon NICE DCV or SSH.
-
Verify the installed AI environment:
python3 --version docker --version ollama --version
Connect via NICE DCV
- Open a browser and navigate to:
https://PUBLIC_DNS_NAME:8443
-
Log in using your configured Linux user credentials.
-
Access the Amazon Linux desktop environment.
-
Launch Visual Studio Code, JupyterLab, RStudio Desktop, Google Chrome, or Terminal from the desktop.
Note: Ensure TCP port 8443 is allowed in the EC2 Security Group.
Using Ollama
-
Open a terminal window.
-
Verify Ollama installation:
ollama --version
- List available models:
ollama list
- Run a model:
ollama run llama3
- Download additional models:
ollama pull mistral
ollama pull qwen3
ollama pull deepseek-r1
- Access the Ollama API endpoint locally:
Using JupyterLab
-
Launch JupyterLab from the desktop menu.
-
Create a new notebook.
-
Import and use preinstalled AI and machine learning libraries.
-
Develop AI applications, machine learning workflows, and data science projects.
Using Development Tools
-
Launch Visual Studio Code, PyCharm Community Edition, or RStudio Desktop.
-
Create or open existing projects.
-
Build AI assistants, RAG applications, machine learning models, APIs, and analytics solutions.
Using Docker
- Verify Docker installation:
docker --version
- Start containerized applications:
docker compose up -d
- Deploy scalable AI services and development environments.
Preinstalled AI Frameworks
Ollama Hugging Face Transformers LangChain LlamaIndex FAISS PyTorch TensorFlow FastAPI MLflow MONAI LoRA/PEFT
AWS Service Integration
This environment can be integrated with:
Amazon Bedrock Amazon SageMaker Amazon OpenSearch Service Amazon S3 AWS IAM
These services can be used together with Ollama and the preinstalled AI frameworks to build enterprise-grade Generative AI solutions on AWS.
Support
Vendor support
Support Contact
For technical assistance, configuration questions, or troubleshooting, contact the Relevance Lab support team at rlcloudsupport@relevancelab.com .
Scope of Support
Support covers assistance with:
- AMI deployment and initial configuration
- NICE DCV remote desktop connectivity (port 8443)
- Ollama setup and model management
- GPU driver and CUDA toolkit issues
- Framework compatibility questions
- Guidance on recommended instance types and sizing
- IAM role and security group configuration for DCV access
Deployment Prerequisites
Before launching, ensure you have:
- A GPU instance type (g5.xlarge minimum recommended)
- Security group allowing inbound TCP port 8443 for NICE DCV
- Sufficient EBS storage for model weights (minimum 100 GB recommended for 7B models)
- IAM permissions to launch EC2 GPU instances
Guided Pilot Sessions
For teams requiring a guided evaluation or architecture consultation, contact rlcloudsupport@relevancelab.com to schedule a pilot session tailored to your use case.
Refunds
For refund requests, contact rlcloudsupport@relevancelab.com with your AWS account details and subscription information.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.