To reinstall Ubuntu and Lambda Stack on your Lambda server, download the Ubuntu 22.04 Server install image, then follow Ubuntu’s Server installation instructions.
Install the latest Lambda Stack by logging into Ubuntu and running
wget -nv -O- https://lambdalabs.com/install-lambda-stack.sh | sh -
.