How to use SSH to connect to an Instance

LEMP

LEMP is a variation of the ubiquitous LAMP stack used for developing and deploying web applications. Traditionally, LAMP consists of Linux, Apache, MySQL, and PHP. Due to its modular nature, the components can easily be swapped out. With LEMP, Apache is replaced with the lightweight yet powerful Nginx.

Packages Included

Package Version License
Nginx 1.18.0 Custom
MySQL server 8.0.26 GPL 2 with modifications
PHP 7.4.3 PHP License v3.01
UFW 0.36


Getting Started after Deploying LEMP

In addition to package installation, the LEMP application stack image also:

  1. Enables the UFW firewall to allow only SSH (port 22), HTTP (port 80), HTTPS (port 443), and MySQL (3306) access.

  2. Creates a new user named admin and sets the password for this user which is available in /root/.idrive_password inside the instance. inside the instance.

  3. Runs mysql_secure_installation.