Categories: BlogCanonicalUbuntu

Using LXD to host your own ERP, cost-effectively

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.

Conclusion

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.

Ubuntu Server Admin

Recent Posts

Predict, compare, and reduce costs with our S3 cost calculator

Previously I have written about how useful public cloud storage can be when starting a…

16 hours ago

One Thread to Poll Them All: How a Single Pipe Made WaterDrop 50% Faster

This is Part 2 of the "Karafka to Async Journey" series. Part 1 covered WaterDrop's…

20 hours ago

A year of documentation-driven development

For many software teams, documentation is written after features are built and design decisions have…

2 days ago

Announcing FIPS 140-3 for Ubuntu Core22

With the release of the FIPS 140-3 certified cryptographic modules for Ubuntu 22.04 LTS, Canonical…

3 days ago

The foundations of software: open source libraries and their maintainers

Open source libraries are repositories of code that developers can use and, depending on the…

6 days ago

From inspiration to impact: design students from Regent’s University London explore open design for their dissertation projects

Last year, we had the opportunity to speak at Regent’s UX Conference (Regent’s University London’s…

7 days ago