Category: Servers / Serverless
-
How to restart an AWS ECS service
Docker containers are easily one of my favorite pieces of new technology of the last decade. They’ve immensely simplified how I work locally, no more virtual machines, no more trying to keep my local development environment and production servers in parity, and no need for command-line sloths like nvm. They’ve…
-
How to hide Nginx server headers on Ubuntu
Nginx is a fantastic web server choice, but it tends to be a bit too mouthy by default for my taste. By mouthy, I mean that out of the box, Nginx gives up a bit too much information about itself, the operating system it’s running on, and if you’re running…
-
How to install Node.js 17.x on Ubuntu LTS
As All Hallows Eve approaches, we are greeted with a brand new “current” release of Node.js, version 17. For those out there are aren’t aware of how Node.js releases work, even numbered releases eventually get promoted to long-term support (LTS) status, while odd numbered releases, will not. They are effectively…
-
How to kill a query on Amazon Relational Database Service (RDS)
Coming from MySQL / MariaDB, I was surprised that I couldn’t kill a query on an Amazon’s Relational Database Service or Amazon Aurora with the kill command. Fortunately, the functionality isn’t omitted, it’ just buried under some AWS RDS specific command. Before we go over that, let’s go over how…
-
How to install Node.js 16 on Ubuntu 20.04 LTS
Ubuntu tends to drop a new version of their April release shortly after a new version of Node.js drops. Every other year, this Ubuntu release is a long-term support release, which has a longer shelf life in terms of support and maintenance compared to their interim releases. True to form…
-
How to install Node.js v15.x on Ubuntu
New Ubuntu and Node.js versions released recently. While neither is a long-term service (LTS) release, they still represent the best that both parties have to offer. Even though Ubuntu 20.10 is here, it’s still shipping with an older version of Node.js, v12.x to be exact. If you’re like me, you…
-
How to set Redis max memory usage
Redis is one of my favorite data stores. The multitude of data types makes it flexible enough to serve as a simple caching layer (replacing Memcached) or as a full-blown RDBMS replacement if you’re willing to jump through a few hoops. Because Redis is an in-memory data store, it’s limited…
-
The repository does not have a Release file on older Ubuntu releases
Recently I working on some posts on how to upgrade to Node v14.x on a variety of different versions of Debian and Ubuntu. The big gotcha came with trying to get things running on versions of Ubuntu that were at end of life and no longer receiving security updates. The…
-
How to install Node.js v14.x on Debian and Ubuntu
Big week for both the Node.js universe and the Ubuntu universe. Node.js version 14.x dropped on Tuesday the 21st with Ubuntu 20.04 LTS coming in hot on Thursday the 23rd. Both releases are important because they are both long term support releases. Node.js v14.x isn’t currently LTS, but it will…
-
How to install Node.js v14.x on Ubuntu 20.04 LTS
The latest and greatest long term service release of Ubuntu is here and there’s no reason that you shouldn’t get to enjoy the latest and greatest (soon to be) long term service release of Node.js as well. Follow these quick and easy steps to install Node.js v14.x on your shiney…