Which node size do I need to host micro services with docker

Hello,

I am planning to purchase a node for test purposes. I need to host 5-10 micro services. One of this services is a vue-frontend with progressive web app setting enabled.

The idea is basically to set up docker/compose to spin up the services. Maybe even something like jenkins for automation purposes.

Now I wonder which node size I should get. Can anyone please share their knowledge and experience with me?

Regards,
Nico

2 Replies

I have limited experience with Docker, though when I used a Nanode to set up a Mastadon server, my Docker compose job kept getting hung, then failing. It turned out there there wasn't enough RAM on a Nanode to run that job on it. I resized to a 2GB Linode and didn't have any trouble running that after that.

That said, I didn't have any micro-services. Linode's How to Choose a Linode Plan guide should help narrow down what you'll need. What's great about using a service like Linode for your hosting needs is that you can always resize your Linode to help find the perfect size to suit your needs.

Hi Watrick,

I am able to run compose with a couple services on a centos nanode without any issues. CPU usage is extremely low. Only a couple % at max.

I installed compose with pip though, as this is more performant. Compose was written in python so its easier for the system to interpret it with the python interpreter.

#!/bin/bash

yum update -y

yum install -y git yum-utils device-mapper-persistent-data lvm2 httpd-tools

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

yum install -y docker-ce docker-ce-cli containerd.io

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

python get-pip.py && rm -y $PWD/get-pip.py 

pip install docker-compose

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct