The performance of your PHP applications can be significantly enhanced by using OpCache, a PHP opcode cache. OpCache reduces the need to recompile your PHP scripts on each request by storing the generated bytecode in memory, resulting in quicker execution rates and lessened server load. Let me illustrate this with an analogy. Assume you’re a […]
AWS Certified Cloud Practitioner Exam Experience
I am a recent graduate with no prior experience in AWS Cloud Technology. As passionate about learning, I took and passed the AWS CCP test on October 1, 2022, to exhibit my knowledge and skills in AWS Services. The AWS Certified Cloud Practitioner exam is a popular certification for individuals looking to demonstrate their knowledge […]
HOW TO: Install and Configure Nginx FastCGI Cache on Ubuntu 20.04 via SSH
Object caching can significantly increase the efficiency of your WordPress site by reducing the process of accessing the database. However, there is still a lot of overhead when providing a page request because the server is necessary to parse PHP. This overhead is generated by WordPress and PHP having to create the requested HTML page […]
Create an Amazon Machine Image (AMI) from an Amazon EC2 instance
If you wish to take a snapshot of your instance or copy the Image of an existing instance to other regions, you may create an AMI. To generate an AMI, follow these steps: STEPS Login to your AWS Account Under Actions > Image and templates > Create Image In Create image, type your desired naming […]
How to launch an Ubuntu virtual server with Amazon LightSail
For developers who need to construct websites or online apps, Amazon Lightsail is the simplest way to get started with Amazon Web Services (AWS). It includes everything you need to get your project up and running quickly, such as instances (virtual private servers), container services, managed databases, content delivery network (CDN) distributions, load balancers, SSD-based […]
Vertically Scale Your Amazon EC2 Instance
I already discussed the distinction between vertical and horizontal scaling in an article titled Vertically Scale Your Amazon RDS; therefore, in this new topic, we’ll go over the actual steps on how we can Vertically Scale our Amazon EC2 instance. Steps: Refresh the page and check if the Instance state shows as “Stopped” That’s it! […]
Vertically Scale Your Amazon RDS
Before we go to the practical discussion on how we can Vertically Scale our Amazon RDS, let’s discuss first the difference between Vertical and Horizontal Scaling. The scalability of an application refers to how many clients requests it can process at the same time. The limit of scalability is reached when a hardware resource runs […]
How to launch a Spot Instance in Amazon EC2
A Spot Instance is an instance that utilizes spare EC2 capacity that is accessible at a lower price than On-Demand. Spot Instances allow you to request unused EC2 instances at great savings, allowing you to significantly reduce your Amazon EC2 charges. The Spot price is the hourly pricing for a Spot Instance. Amazon EC2 sets […]
Ubuntu 20.04: Protect Nginx with ‘Let’s Encrypt’
Let’s Encrypt is a Certificate Authority (CA) that offers FREE SSL certificates just as secure as paid certificates. This project was pioneered to make encrypted connections the default standard throughout the Internet. Follow these steps to secure Nginx w/ ‘Let’s Encrypt’: Step 1: Install Certbot Using apt, install Certbot and its Nginx plugin: Step 2: […]
Install LEMP Stack on Ubuntu 20.04
Let’s define first what LEMP Stack is. LEMP is an open-source web application stack that we may use to create web apps. LEMP’s abbreviation stands for Linux Operating System, Nginx (pronounced engine-x), web server, MySQL database, and PHP programming language. Now, let’s proceed to the installation. Step 1: Install the Nginx Web Server We will […]