Upgrading Lenovo S145 for Ubuntu Server

Upgrading Lenovo S145 for Ubuntu Server and Running Multiple Docker Containers

image

I recently opened up the bottom panel of my old laptop, which had been serving as an Ubuntu home server in the corner of my room. It’s the Lenovo Ideapad S145, a model I previously upgraded by replacing the wireless network card. While there weren’t any immediate system issues, I decided to boost its hardware capacity to stably handle the increasing workload ahead.

Why upgrade a laptop for an Ubuntu server?

At first, I set up the Ubuntu server just for light testing. However, over time, as I added more and more Docker instances to this small machine, the number of containers required to run 24/7 has grown significantly. Notable examples include n8n for automation, WordPress, and Browserless, which are all running simultaneously.

I was particularly concerned about resources after starting a pipeline that scrapes my Naver blog posts, translates them into multiple languages, and automatically publishes them to a WordPress multisite. I noticed that when these multi-automation tasks run, the memory consumption spikes quite heavily between n8n and Browserless. The server wasn’t stuttering yet, but I wanted to take preemptive measures to ensure stable operation.

What components did I use to boost performance?

The first thing I addressed was the SSD. I found a Crucial MX500 500GB drive in my drawer, which I had previously used to improve my PS4’s performance. Fortunately, there is an empty 2.5-inch SATA slot inside the laptop, so I secured ample storage space at no extra cost.

As for memory, the laptop has 4GB of onboard RAM fixed, with only one additional slot available. Previously, it was 8GB (4+4). Since the onboard memory clock is 2666MHz, there was no need to purchase higher specifications, so I replaced the 4GB stick with a Samsung DDR4 2666MHz 16GB module. This resulted in a total of 20GB of memory—more than enough!

How does it compare to AWS Lightsail plans?

Typically, when people run personal blogs or lightweight servers, they often choose the $7 or $14 per month AWS Lightsail plans because they are the most accessible options for running personal services at a low cost. However, those budget plans only offer 1GB to 2GB of memory.

It’s obvious that running my current WordPress multisite, n8n, and Browserless Docker containers on those specs would cause the server to crash instantly due to a lack of memory. If I were to match my current 20GB home server capacity on Lightsail, I would have to pay a massive monthly fee. This really highlights the cost-effectiveness of a home server. It’s great!

Future plans

With the hardware specifications boosted, the fear of system instability has vanished, naturally leading me to think about new ways to utilize it. Now that I have plenty of RAM and storage, I plan to move beyond just running a web server or automation tools and make it a proper home server.

First, I plan to utilize the extra space to set up a NAS system for backing up my family’s data and media. In addition, I intend to configure it as a network audio player for high-quality music streaming, turning it into a hub for my study.

While I haven’t seen a dramatic, eye-popping increase in speed just from replacing parts—since the CPU processing speed hasn’t changed—the response times feel about the same. However, being completely freed from the anxiety of resource strain or server crashes makes this upgrade a total success in my book.


🔗 Original Post :
우분투 서버용 노트북 업그레이드, 레노버 S145에 도커 컨테이너 다수 올리기
https://blog.naver.com/PostView.naver?blogId=k5kun&logNo=224293940553

Leave a Reply

Your email address will not be published. Required fields are marked *