Overview
Ollama running on the GPU AMI
Ollama 0.30 running as a systemd service behind nginx with NVIDIA GPU acceleration: a model loaded on the GPU and the API gated by a per-instance password (HTTP Basic Auth).
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Overview Ollama is the easiest way to run open large language models locally. It downloads, quantizes and serves models such as Llama, Mistral, Gemma, Phi, Qwen and DeepSeek with a single command, exposing a REST API that is also OpenAI chat-completions compatible. This image delivers Ollama fully installed and configured as a system service on an NVIDIA GPU instance, so a private, self-hosted LLM endpoint is running within minutes of launch. The current release available is Ollama 0.30.
GPU Accelerated This image is built and shipped for NVIDIA GPU instances (g4dn, g5, g6 families). The NVIDIA datacenter driver is preinstalled and verified on real hardware during the build, and Ollama auto-detects the GPU to offload model inference, delivering far higher throughput than CPU. Launch on a GPU instance type and your models run on the GPU out of the box.
Application Stack Ollama runs as an unprivileged service account on the loopback address, with an nginx reverse proxy fronting it on port 80. A systemd service starts the server on boot and restarts it on failure. Model weights live on a dedicated, independently resizable storage volume kept separate from the operating system disk, and a small starter model is pre-pulled so the API responds immediately.
Secure By Default Ollama ships with no built-in authentication, so access is gated by HTTP Basic Authentication at the nginx reverse proxy. This image generates a fresh password, unique to your instance, on its first boot and writes it to a root only file. The public version endpoint stays open for load balancers; model pull, generate, chat and the OpenAI-compatible endpoints all require the password. No shared or default credentials ship in the image.
Ready To Use Pull a model with 'ollama pull', chat from the CLI, or call the REST and OpenAI-compatible endpoints from LangChain, LlamaIndex or any OpenAI SDK by pointing base_url at your instance. Use Ollama as a drop-in private LLM backend for your own applications.
cloudimg Support 24/7 technical support by email and chat. Help with Ollama deployment, model selection, GPU sizing, quantization, the OpenAI-compatible API, TLS termination and scaling.
Use Cases A private, self-hosted LLM endpoint in your own VPC for teams with data residency or compliance requirements. GPU-accelerated inference for Llama, Mistral, Gemma, Qwen and DeepSeek. A drop-in OpenAI-compatible backend for RAG and agent applications. Offline and air-gapped LLM serving.
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
Highlights
- Ollama, the easiest way to run open LLMs (Llama, Mistral, Gemma, Qwen, DeepSeek), preinstalled as a systemd service behind an nginx reverse proxy on port 80 with an OpenAI-compatible REST API, ready to use with no manual setup
- GPU accelerated: NVIDIA datacenter driver preinstalled and verified on real hardware, with model inference offloaded to the GPU out of the box on g4dn, g5 and g6 instances
- Secure by default: HTTP Basic Authentication gates access with a unique password generated for every instance on first boot and stored in a root only file, plus 24/7 cloudimg support
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
Free trial
- ...
Dimension | Description | Cost/hour |
|---|---|---|
g4dn.xlarge Recommended | g4dn.xlarge | $0.12 |
t2.micro | t2.micro instance type | $0.04 |
t3.micro | t3.micro instance type | $0.04 |
c6i.16xlarge | c6i.16xlarge instance type | $0.24 |
i3en.large | i3en.large instance type | $0.08 |
vt1.24xlarge | vt1.24xlarge instance type | $0.24 |
m7a.4xlarge | m7a.4xlarge instance type | $0.24 |
c7i.48xlarge | c7i.48xlarge instance type | $0.24 |
g6e.16xlarge | g6e.16xlarge instance type | $0.24 |
i7ie.metal-24xl | i7ie.metal-24xl instance type | $0.24 |
Vendor refund policy
Refunds available on request.
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
Initial release of Ollama 0.30 for GPU-accelerated local LLM inference.
Additional details
Usage instructions
Launch on an NVIDIA GPU instance type (g4dn.xlarge or larger). Connect via SSH on port 22 as the default login user for your operating system variant (the user guide lists it per variant; on Ubuntu it is 'ubuntu'). Ollama is served by nginx on port 80. Retrieve the generated password with: sudo cat /root/ollama-credentials.txt. The version endpoint is open at http://<instance-public-ip>/api/version; everything else is gated by HTTP Basic Authentication (user 'admin' + the password). Pull a model: curl -u admin:<password> http://<instance-public-ip>/api/pull -d '{"name":"llama3.2:3b"}'. Generate: curl -u admin:<password> http://<instance-public-ip>/api/generate -d '{"model":"llama3.2:1b","prompt":"Hello","stream":false}'. Use the OpenAI-compatible endpoint at http://<instance-public-ip>/v1/chat/completions with the same basic-auth credentials. The server runs on loopback 127.0.0.1:11434 and is managed with systemctl (ollama.service, nginx.service). Models are stored under /var/lib/ollama/models. Confirm GPU offload with: ollama ps (size_vram greater than zero). The user guide covers pulling models, the OpenAI SDK, GPU sizing, backups and enabling HTTPS.
Resources
Vendor resources
Support
Vendor support
cloudimg provides 24/7 technical support for this product by email and live chat. Our engineers help with deployment, configuration, updates, performance tuning and troubleshooting; critical issues receive a one hour average response. Contact support@cloudimg.co.uk .
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.