Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

Using LXD to host your own ERP, cost-effectively

Miona Aleksic

on 12 September 2022

LXD community spotlight

Photo by ThisisEngineering RAEng on Unsplash

Are you looking to host your own ERP cost-effectively, or perhaps evaluating solutions to host other types of applications for your small business? You’ve landed in the right blog post. Recently, we reached out to the LXD community and asked them to share real-life examples of how they use LXD to solve different kinds of problems. In this post, we will share the first of the stories, illustrating how easy it is to use open-source container management tools like LXD to host your own business applications. 

Setting up an ERP with open-source infrastructure

A small garment and textile manufacturer located in Shanghai, China was looking to minimise the costs of their infrastructure, so they focused on finding open-source tools to fulfil their needs. They chose ERPNext to manage their business processes.

In addition to finding a system for managing business processes, they wanted a simple, resource-efficient and reliable solution to host the system in question. They chose LXD containers, located inside an Ubuntu 20.04 server, run on the Hetzner cloud. They treat the container like a VM, not for isolating microservices like you would do with a Docker or Kubernetes-based approach. LXD has proven to be reliable and yet flexible for their situation.

Their DevOps setup is quite straightforward, given that it’s an application for just a few users. It does not require a ton of integrations and has been proven easy to operate without advanced container or DevOps skills. What about considerations surrounding storage? The beauty of using open-source tools is that you can also learn and implement solutions based on the learnings of others.

Solving storage problems with LXD storage pools

While LXD is generally resource-efficient, you may still need to augment your storage pool as your application grows. Even with a simple setup, as you scale, your application will have more data and transactions to process, and this growth may not always be predictable. 

The garment manufacturer faced a similar issue. To address it, they make use of Volumes for Hetzner cloud servers and LXD storage pools. This made it fairly simple to add additional storage to their LXD instance, without much disruption to the application. If you want to find out how they solved the storage problem, check out their easy fix.

If you are interested in the storage options available in LXD and how you can use them, watch this Youtube video or check out our documentation page.


As this short story shows, open-source software provides an easy and cost-effective approach to hosting your own business applications.

With this community story, we wanted to illustrate a real-life example of running and operating small-scale business systems, like an ERP, with an LXD-based infrastructure. Even without advanced DevOps skills, running your systems with LXD in the cloud can be a simple, effective and robust solution. Due to its scalability, LXD can scale as your business grows and support you throughout your journey.

Visit the LXD website to learn more, watch interesting tutorials on our Youtube channel, or join the discussion here.

cloud icon

What is a private cloud?

There is no one size fits all cloud architecture.
Developing the optimum cloud strategy requires evaluating your business needs and aligning them with the different solutions available.

Find out which cloud architecture suits you best ›

Newsletter signup

Get the latest Ubuntu news and updates in your inbox.

By submitting this form, I confirm that I have read and agree to Canonical's Privacy Policy.

Related posts

OpenStack with Sunbeam as an on-prem extension of the OpenStack public cloud

One of the biggest challenges that cloud service providers (CSPs) face these days is to deliver an extension of the public cloud they host to a small-scale...

How to ensure business continuity with IT infrastructure support

Picture this: you’re on a dream vacation with your family on a serene tropical island. The weather is perfect, the sea is mesmerising, and you’re ready to...

Spring news from the LXD team

In this blog, we will go through some of the most significant features we have included in our monthly releases so far this year. Links to each of the release...