Run Ollama on a VPS
- Pick a VPS with enough RAM for your model (8GB+ for 7B, 16GB+ for larger).
- Install Docker or Ollama directly on Ubuntu.
- Pull the model:
ollama pull llama3.1 - Restrict API exposure — use firewall and SSH tunnel for remote access.
ollama pull llama3.1