SustainableWWW Logo
Blog post image

It is more environmentally friendly to host your website on a Linode VPS than a Raspberry Pi 4B

Simply stating that it is more environmentally friendly to host your website on a Linode VPS instead of a Raspberry Pi 4B is hard. In the end, it all comes down to how demanding your website is and how big the Linode VPS is. But to make comparison easy, we used a Linode 4GB VPS (Virtual Private Server) and a Raspberry Pi 4B with 4GB ram.

In this article, you will get an in-depth view of how much power each device uses on average and why exactly it in most cases is more environmentally friendly to host your website on a VPS (Virtual Private Server).

We compared the power consumption between the Raspberry Pi and the Linode VPS.

We searched the internet and found that a Raspberry Pi 4B with 4GB ram on average use approximately 2.85 watts when idle. When watching a video in full HD it used 2.979 watts, and when loading LXDE it used 4.39 watts. The max wattage that the Raspberry Pi 4B with 4GB ram used was 6.4 watts. Therefore if we run the Raspberry Pi 4B with 4GB ram 24 hours a day for one year, it will use approximately 24.9 kWh when idle, and when using maximum wattage it would result in 56.06 kWh per year.

It was hard to figure out exactly how much power a 4GB Linode VPS uses when idle and running on maximum wattage. But by comparing several forum threads, we found some relatively precise data to use in our example. A Linode VPS with 4GB ram uses on average 2.66 watts, which is less than the Raspberry Pi. If we run the Linode VPS for one whole year it will use approximately 23.3 kWh

Would a solar-powered Raspberry Pi 4B with 4GB ram be more environmentally friendly than a Linode VPS?

The answer to this question is both yes and no. A solar-powered Raspberry Pi alone would save you between 24.9 kWh and 56.06 kWh per year if you attached a separate battery to power it at night. Using solar power to run your Raspberry Pi would take care of the electricity issue. But other devices such as your router consume energy as well. Therefore you will have to calculate how much electricity your router consumes and add it to your total. You could also power your whole house using solar panels, but that wouldn't be worth it if you only want to host a website in a more environmentally friendly way than using a Linode VPS (Virtual Private Server).

It is hard for you to compete with big giants like Linode and DigitalOcean. Especially now when they are switching from using coal-powered data centers to data centers running on 100% renewable energy. Competing with these companies is costly, and often it's worth it to pay the price for a VPS (Virtual Private Server) instead of investing in devices that will make you even greener.

How would I know if a data center is running on 100% renewable energy?

Hosting companies will often brag about using 100% renewable energy, but sometimes it is not a part of their marketing plan, and that is when it can get tricky. 

Companies such as DigitalOcean and Linode do not use renewable energy as a part of their marketing plan. Therefore it is hard to know which data centers are running on renewable energy. In 2018, Linode stated in a forum thread that they are running on 92% renewable energy and with little luck, you can find the list of data centers currently running on 100% renewable energy.

If you are interested in knowing more about what green web hosting is and which companies are out there, then please head over to our article where we list some of the biggest on the market: 

https://sustainablewww.org/principles/what-is-green-web-hosting-and-why-should-you-use-it-in-2021

Wrapping up.

We now know approximately how many watts a Raspberry Pi 4B with 4GB ram uses when idle and running on maximum wattage. We also know many kWh it becomes in a whole year compared to a Linode VPS (Virtual Private Server).

With the data provided in this article, we can conclude that in most cases it will be more environmentally friendly to host your website on a Linode VPS than a Raspberry Pi 4B. Depending on how demanding your website is, things can change, and a Raspberry Pi can become the more environmentally friendly solution.