Single Server Deployment and Vertical Scaling
Provisioning a LAMP stack on a single node can be done in two steps
In this section’s example architecture, the firewall is a process that runs on your server. The firewall intercepts network packets when they are first processed by the operating system and only allows traffic on certain network ports to proceed. For a web application, your firewall would allow HTTP (port 80) and HTTPS (port 443) traffic. Linux and other operating systems have built-in firewall options, like iptables, ufw, and FirewallD
Single Node LAMP Stack with Cloud Firewall
The resulting setup has one server running the LAMP stack where network traffic is filtered by a firewall also
running on the server There are limitations for this setup:
Vertical Scaling with Separate Web and Database Nodes
By doing this, the compute, memory, and disk space needs of your web server and database can be adjusted independently This is still an example of vertical scaling, and it does not resolve availability issues.