How to Deploy Ollama on Kamatera

Host your own AI model in the cloud that scales, rather than an overworked computer.

Deploy Ollama On Kamatera
Follow Us:
2.7k
16.4k
14.1k
200
4.1k

You know when your computer fan sounds like a jet readying for takeoff? That usually tells me I’m running something incredibly resource-intensive, and I don’t have the hardware to do so. That was my experience when trying to run an LLM (Large Language Model) using my home computer. Little did I know, a tool called Ollama already offers a better way.

Run open-source AI models without the absurd resource issues. That’s especially true when you deploy Ollama on Kamatera, because Kamatera cloud servers have one-click installation buttons. Easy for you, me, and my dad, who’s still running Windows XP. This is a first-timer’s guide with straightforward steps on how to configure your Kamatera server for Ollama.

Add to Preferred Sources

Step 1: Start Making a New Kamatera Server

Before we install Ollama and complete other essentials like adding a frontend interface, log in to your Kamatera account. Need one? Create your first Kamatera cloud hosting account with their best deal:

Kamatera.com

Kamatera review

Monthly Starting Price $4.00

Visit Site »
  • Best for developers and devops teams needing full control
  • Deploy in 60 seconds across 20 global data centers
  • Fully customizable: 1–32 cores, 1–128 GB RAM, NVMe SSD
  • Hourly or monthly billing — scale up or down anytime
  • 99.95% uptime with built-in firewall and load balancing
  • 30-day free trial, no charge if canceled
  • Get started on Kamatera now.
Our Expert’s Review ★★★★★ 4.8/5.0

Surajdeep Singh

(HostingAdvice.com): Starting with more than 60 operating system images to choose from, Kamatera is a strong option for developers who know exactly what environment works best for their project. Customize your cloud server as needed and deploy in less than a minute. Go to full review »

Setup Time Disk Space CPU RAM
5 minutes 20 GB – 4 TB NVMe 1 – 32 cores 1 GB – 128 GB

(If you’re starting fresh, you can jump to the recommended hardware configuration below.)

Now, we can dive into creating your server first! Within your account (and I’m assuming you’ve logged in), jump to My Cloud > Create New Server.

Image showing the Kamatera Performance Cloud console with a blue box around My Cloud in the left menu and a blue arrow pointing to Create New Server, opening the Create New Server page where the Choose Zone section lists Asia, Australia, North America, and Europe data center regions.

Your first big decision? Choosing where to locate your server.

Here’s my tip: Opt for the closest available server to your home or business. That ensures speedier load times. The only time you’ll need to go with another location is if most users are situated somewhere else.

In my case, I’ll pick North America and Chicago in the US. I live in Chicago, so it makes sense.

Image showing the Kamatera Choose Zone section with a blue box around the North America tab and the Chicago, United States data center selected, among other server locations in Toronto, Atlanta, Los Angeles, New York, Santa Clara, Seattle, and Texas for deploying an Ollama cloud server.

Step 2: Choose the Ollama App Image

We’re already to the step where you install Ollama. But keep in mind, this step could be a little confusing, or it could result in you searching forever for the right app.

Here’s the deal:

Kamatera lets you install a variety of OSs (Operating Systems), apps, and services with one click. Ollama is an app, not an OS. Not a service. So, click on the Apps Images tab.

Image showing the Kamatera Choose An Image section with a blue box around the Apps Images tab, displaying one-click app images for AnythingLLM, AppSmith, Appwrite, Axigen, cPanel, and Chatwoot alongside tabs for server OS, desktop OS, service, and private images.

Now you’ll see a wonderful list of apps and their one-click installers. It’s in alphabetical order. Simply scroll to the Os to find and select Ollama

Image showing the Kamatera app image library with tiles for NetBox, Netdata, NextCloud, Nocobase, Odoo, and Ollama, with a blue arrow pointing to the Ollama llama logo to select the one-click Ollama app image for a new cloud server.

Next was the part where I got confused the most when learning how to deploy Ollama on Kamatera.

It asks for you to choose a version. But how should I know which one I need?

It turns out there are a few versions of Ollama for specific use cases.

I’ll start by saying that most people can pick “ollama-latest” for simplicity. However, that doesn’t actually install an LLM. It just gives you Ollama without an LLM. To me, that’s the easiest route. I’ll explain adding the LLM later.

The other options are actual LLM models. That locks you into one type of model. With ollama-latest, you have the flexibility to change your model later.

Image showing the Kamatera Ollama app image description as a lightweight framework for running large language models without cloud dependencies, with a blue arrow pointing to the Choose Version dropdown where the latest Ollama on Ubuntu Server 24 is selected above versions preloaded with Gemma 4 models in different sizes.

Now that we’ve chosen the “latest” version, we can get into configuration.

Step 3: Decide on Your Kamatera Server Specs

You can rest easy knowing that Ollama is now prepped and ready to be added to your server. We’ll circle back to Ollama later, when you configure the LLM of your choice.

Now, you pick your server specs. And let me tell you, although you may think the lowest RAM and CPU should work, that’s hardly the case. LLMs are known for being resource-intensive. It all depends on your Ollama version and intended purpose.

Right now, I’ll focus on those using the ollama-latest or if you chose the e2b versions. And keep in mind that I consider these to be minimum server requirements for running these versions of Ollama. You may have to increase things as time passes.

For your ollama-latest configuration, go with these baseline server specs:

  • Type: B
  • CPU: 4
  • RAM: 10GB
  • SSD Disk: 20-30GB

(Jump back up to Server and Ollama app configuration here if you’re just starting fresh. )

If you’re building an LLM that needs maximum quality or extreme levels of output, you may need a B, T, or D server, all of which offer different types of dedicated servers. It may be the case that you’re creating an enterprise-level tool for a large organization, but otherwise don’t worry about it.

I also like to recommend bumping up your CPU, RAM, and SSD disk if you go with these versions:

  • gemma-4-e4b
  • gemma4-26b-moe
  • gemma4-31b-dense

Many of them need at least 16-32GB RAM and 30GB+ of SSD.

Image showing the Kamatera Choose Server Specs section with the General server type, 4 CPU cores, 8GB of RAM, and a 20GB SSD disk selected, alongside larger CPU, memory, and storage options for scaling a cloud server to run Ollama and large language models.

As a side note, there’s a Detailed View switch to see how much money each increase in resources costs you. And, of course, prices are subject to change. I know cost is important for any setup, so I like to turn this on whenever I’m about to pay.

Image showing the Kamatera Choose Server Specs section with Detailed View turned on, displaying the cost of each CPU, RAM, and SSD option, with the General server type, 4 CPU cores, 8GB of RAM, and a 20GB SSD disk selected for running Ollama and large language models.

Moving forward, it’s important to highlight some remaining products and services from Kamatera:

  • Daily Backup
  • Management Services
  • Public Internet Network
  • Private Local Network

Just know that each of these costs a little extra.

I recommend that everyone set up daily backups so they don’t lose data. Management services, where you get a dedicated account manager from Kamatera, are completely optional. It may be a justified cost if you have grand server goals beyond Ollama.

The Public Internet Network (below) is required for Ollama to work, so you can’t turn it off. Technically, the model will run locally on your new Kamatera physical server, but you need it for model setup and remote access. It gives you a public IP and domain to run your LLM. Toggle it on.

Leave the Private Local Network off unless you plan on making a private LLM away from the internet. That’s a possibility, so I shouldn’t completely rule it out for everyone. There’s just no sense in overcomplicating it.

Image showing Kamatera server add-on and networking options, with Daily Backup and Management Services toggled off and a blue arrow pointing to the Public Internet Network toggle switched on, which includes 5,000GB of internet traffic, while the Private Local Network option stays off.

Before turning on your server, you need to make or specify these:

  • Password
  • Name
  • Number of servers
  • Whether you want to power on the servers

My tips are to make a very strong password (use a password generator or keychain) and power on your servers from the start.

Image showing the Kamatera Finalize Settings section with the root password entered and validated, the Power On Servers toggle switched on, the server count set to 1, and the server named Ollama1 before creating the Ollama cloud server.

You’ll see a summary of how much Kamatera costs for the setup. Consider going back and changing around resources if it’s too much, or if you have more room in your budget.

Hit Create Server when you’re done.

Image showing the Kamatera Billing Cycle and Pricing section with the monthly billing cycle selected, including its monthly price and included public internet traffic, next to the hourly billing option’s powered-on and powered-off rates, with a blue arrow pointing to the green Create Server button.

It may take a minute to see your live server.

In Kamatera, your servers are all listed under My Cloud > Servers.

Image showing the Kamatera Server Management page in My Cloud with a blue box around the newly created Ollama1 server, listing its US-CH zone, 4 CPU cores, 8192MB of RAM, 15GB of storage, and a green running state, beside Actions and Open buttons and a Create New Server button.

That’s all there is to it on the server side! You now know how to deploy Ollama on Kamatera, but we also need to be able to interact with the server on your computer.

Step 4: Start Interacting with Your AI Through Ollama

I want to be clear about how Ollama works, because I originally thought I’d boot up Ollama and see a chatbox area to type in questions, much like you’d see with Claude or ChatGPT.

I figured I’d go to the private IP address provided by Kamatera, right? That, of course, would show us an AI chat area. Well, you should still do that, but it’s only really to see if Ollama is running. So, let’s quickly confirm your server is active.

You can do this by opening your server in Kamatera and clicking on Overview. There, either copy the IP address or Hostname. Paste either into your browser to visit your Public Internet IP page.

Image showing the Kamatera server Overview tab for Ollama1, listing its power state as On, a Linux guest OS, and the US-CH Chicago zone, with a blue box around the server’s public internet IP address and hostname, which are used to connect to the server and access Ollama.

If Ollama is running, you’ll see some text that says: Ollama is running.

Image showing a browser window opened to the Kamatera server’s public IP address, with the plain text message “Ollama is running” confirming the Ollama service is installed and reachable on the cloud server.

But that’s all it means. Your instance of Ollama is running. It doesn’t come with an interface, like I had originally expected.

You’ll also have to click through the “Your connection is not private” part in your browser the first time you see this message. That’s just because there’s no SSL certificate at this point.

Image showing a Google Chrome “Your connection is not private” warning with a red alert icon and the NET::ERR_CERT_AUTHORITY_INVALID error code, which can appear when opening the Ollama server’s address before a trusted SSL certificate is set up, with Advanced and Back to safety buttons.

As a note, it’s okay to bypass this message right now, but only for testing purposes. You actually can’t add an SSL to a bare IP address like this.

Don’t worry. Kamatera gives you a real domain name with an SSL certificate already installed. It looks like this: https://YOUR-IP.us-ch-cloud-xip.com

And you can find it by opening your server and going to Overview > Public Internet IP (WAN). The secure domain name is the Hostname.

I want to be very clear: You already have a secure domain, but if you get a different domain name (like one based on your business name), you need to acquire an SSL certificate once you launch an Ollama LLM on that domain. Otherwise, you risk data theft and security issues for you and your users.

Let’s get back to interacting with AI through Ollama. If you can’t do anything on your IP address, how do you access Ollama?

The answer may annoy some users: By using the terminal. But don’t worry, it’s truly not that complicated. I’ll walk you through every step.

Open the Terminal on your Mac, Windows, or Linux machine. All of them have a terminal app.

Start by making an SSH connection between you and the Ollama server. That’s a Secure Shell encrypted network connection between your local computer and the remote server. Otherwise, you’re stuck with a Terminal that only communicates with your computer.

Use this command in the Terminal to do that:

ssh root@YOUR-SERVER-IP-ADDRESS

You guessed it; swap out “YOUR-SERVER-IP-ADDRESS” for the IP address found in the Kamatera dashboard (Your Server > Overview > Public Internet IP (WAN)).

Image showing a macOS Terminal window connecting to the Kamatera cloud server over SSH as root for the first time, with a notice that the host’s authenticity can’t be established, the server’s key fingerprint, and a prompt asking whether to continue connecting.

Type “Yes,” then click Enter. After that, type in the password you created in Kamatera for your server. Hit Enter.

Image showing a macOS Terminal window where the ollama command isn’t found locally, followed by an SSH connection to the Kamatera cloud server as root, confirming the host’s authenticity, adding it to the list of known hosts, and prompting for the server’s root password.

Within a few seconds, you’ll see information about Ollama. You’re now logged in. Easy.

Image showing the Kamatera Ollama server’s terminal welcome message after logging in via SSH, confirming the Ollama service and Nginx are active, listing the service file and setup log locations, common Ollama commands for listing, pulling, running, and removing models, systemctl commands for managing the service, and example curl requests for the Ollama API.

Step 5: Download Your First AI Model

Here’s another part that took me by surprise. I thought, when picking “latest version” for Ollama, it meant it would install the latest version of its preferred AI model, but that’s not the case. It only gives you the latest version of the raw Ollama build.

So, you need to install an LLM.

I found this list of LLMs available through Ollama, so sift through those options to figure out which one makes sense.

I recommend these for specific use cases:

  1. gemma4:e2b: The lightest-weight model for Kamatera servers.
  2. gemma4:e4b: Standard model that Kamatera designs its servers around.
  3. llama3.1: The most popular Ollama LLM. Designed by Meta.
  4. qwen2.5-coder: Perfect for coding.
  5. gemma4:31b-dense and gemma4:26b-moe: Two advanced options built for Kamatera servers.

I went with option one: gemma4:e2b. I opted for e2b because it requires the least amount of server space and works well for small projects. I recommend you do the same to start.

Run this command in the Terminal to install, swapping out everything after “pull” with whatever LLM you want to install:

ollama pull gemma4:e2b

You should see a success message (after you wait a bit for the LLM to download).

Image showing a terminal on the Kamatera Ollama server completing a download of the gemma4:e4b model, with the progress bar at 100%, the sha256 digest verified, the manifest written, and a blue box highlighting the success message.

Step 6: Test the AI Model

Here’s the fun part. You can use the terminal to ask the AI anything. I like to start with short questions that actually require some technical thinking. Something like, “Why is grass green?”.

Simply put that question at the end of this command:

ollama run gemma4:e2b

So it looks like this:

ollama run gemma4:e2b “Why is grass green?”

Now hit Enter.

It’s fascinating because Ollama provides the entire thinking process in text, so you get a feel for how an AI model formulates its answers.

Image showing a terminal on the Kamatera Ollama server running the gemma4:e2b model with the prompt “Why is grass green?” and the model’s visible thinking process breaking down the question into chlorophyll, photosynthesis, and how reflected light makes plants look green.

Then, at the end, you get your AI response!

Image showing a terminal response generated by a self-hosted Ollama model explaining why grass is green, with Markdown-formatted sections on chlorophyll as the light-absorbing pigment and photosynthesis as the process plants use to turn sunlight, water, and carbon dioxide into glucose and oxygen.

In our case, “Photosynthesis… The process by which plants create their own food. The leaves absorb sunlight using the chlorophyll… to create glucose.” If you were curious about the answer.

A note on SSD Disk Space and RAM: I’ve realized it’s crucial to get enough disk space and RAM for your desired LLM to work. Larger and more complex LLMs require significantly more SSD space and RAM.

You’ll see a message if you lack SSD disk space for your model. And prompts will fail if your RAM is insufficient.

Image showing a terminal on the Kamatera Ollama server where pulling the gemma4:e4b model stops partway through the download with a blue box highlighting the “no space left on device” error, followed by a command to remove the partial model files after running out of disk storage.

Step 7: Finishing Touches like Firewall and Graphical Interface

I’ve poured the foundation for you. Everything we’ve talked about is good enough to get you chatting with your AI model.

But there are some elements you may want to add for a smoother experience, things like:

  • A firewall (for mobile or remote access)
  • A graphical interface, something like Claude or ChatGPT (instead of having to mess with the Terminal)

So, here are my finishing touches to make your Ollama experience as smooth as possible:

Activate a Firewall

Many of you can simply SSH into your Ollama interface without a firewall. Again, SSH is encrypted communication. If, however, you want to build an app, or do anything requiring remote access, you’ll need a firewall.

To configure this, go to My Cloud > Servers in Kamatera. Click your server, then go to the Firewall tab to enable it.

Image showing the Firewall tab for the Ollama1 server in Kamatera, confirming the firewall is enabled with a pending update, the WAN network interface’s default policy set to drop incoming and accept outgoing traffic, and buttons for adding firewall rules, IP sets, and IP aliases to control access to Ollama.

Then, learn all about setting up a firewall in Kamatera HERE. Simply open it in a side-by-side window, then come back.

Add an AI Chat Interface

Some people, like myself, enjoy working through the Terminal. Others would rather pour hot coffee into their eyes. No judgment. There’s a solution.

If you’re in the latter group, you’ll want to incorporate a chat interface so you can operate the LLM with something that looks like ChatGPT.

Here’s all the information to install Open WebUI on Ollama. It’s a bit confusing, so before you go full throttle there, I’ve also included the option for a terminal install below. Do what you’re most comfortable with.

It will end up looking something like this:

Image showing the Open WebUI welcome screen over an oil painting of a white farmhouse on a golden hillside, with the headline “Welcome to your AI home,” a description of running AI models on your own terms, and Get started and Read the docs buttons for setting up a chat interface for a self-hosted Ollama server.

Then, after you get logged in, you can send in prompts and receive answers.

Image showing the Open WebUI chat interface connected to a self-hosted Ollama server, where the gemma4:e2b model answers a question about creative ways to keep kids’ artwork, suggesting a memory mural or gallery wall, a family storybook, and upcycled framed decor, with a Send a Message box and model selector at the bottom.

As I mentioned, I actually found that Open WebUI article pretty confusing, so here are my steps to add it to Ollama using Terminal.

Run this command to install Docker:

sudo apt install docker.io -y

Run this command to install Open WebUI:

docker run -d -p 3000:8080 –add-host=host.docker.internal:host-gateway \
-v open-webui:/app/backend/data –name open-webui –restart always \
ghcr.io/open-webui/open-webui:main

Open your Nginx configuration for editing:

sudo nano /etc/nginx/sites-enabled/ollama.conf

Find the /location section within the listen 443 ssl; part. It should be pointing at Ollama right now. Change that by pointing it to Open WebUI:

location / {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection ‘upgrade’;
proxy_set_header Host $host;proxy_cache_bypass $http_upgrade;
}

Save that file by following the prompts. It’s usually Ctrl + X, then Y, then Enter.

Reboot Nginx:

sudo nginx -t && sudo systemctl restart nginx

Now you can visit your domain provided by Kamatera. Head over to your Kamatera dashboard: Overview > Public Internet IP (WAN).

It’s under Hostname and should look something like this: https://YOUR-IP-ADDRESS.us-ch-cloud-xip.com

See that “s” in https? That means you have a secure SSL certificate. So, bookmark this URL.

Your Ollama AI Server Is Ready on Kamatera

Now all you have to do is experiment. Try different LLMs for your specific projects. Change your Kamatera RAM or disk space if you upgrade to a more robust AI. Tap into the Ollama API to integrate with other apps.

Thanks for following along with me as I discovered more about building my own AI model. I hope you learned enough to feel confident as you utilize your own AI! Cheers to creating your first Ollama LLM server on Kamatera.

As I’m sure you’ve guessed, we have a ton more free articles, from building your website landing page to installing WooCommerce for your online business. If you have any questions, use our HostHelper™ bot. Also, be sure to give us a follow on social media for tech tips, hosting, updates, and some fun entertainment.