1. What is OpenLiteSpeed?
OpenLiteSpeed is the open source edition of Lite Speed web server. This is available free of cost for personal and professional uses. You can also use OpenLiteSpeed Enterprises version of LiteSpeed web server which is paid.
OpenLiteSpeed server is basically optimized and enhanced version of apache2 which provide:
- Event-Driven Architecture
- Understands Apache Rewrite Rules
- Friendly Admin Interfaces
- Built for Speed and Security
- Intelligent Cache Acceleration
- PageSpeed Optimization
- PHP LiteSpeed SAPI
- One-Click Installation
- WordPress Acceleration
OpenLiteSpeed server improve your website performance and provide faster speed. It also support HTTP/ 3, Gzip Compression, Brotli Compression for static files.
For More Details Go To – https://openlitespeed.org/
2. What is AWS EC2 (Amazon Elastic Compute Cloud)?
AWS EC2 is a web service that provides secure, resizable cloud computing and designed to make web scalable for developers. AWS EC2 provide complete control of your resources.
- Innovative and Secured
- As Per Need and Choice
- High Performance Storage
- Enhanced Networking
- Memory Optimized
- Accelerated Computing
For More Details: https://aws.amazon.com/ec2/
3. Create AWS EC2 For WordPress
- AWS Account having Console Access
Here we are going to explain you, how we can create an aws ec2 instance with OpenLiteSpeed Server.
Login into AWS Console and go to Services -> EC2.
Click on “Launch Instance” button to create new instance.
Follow Below Steps
- Choose AMI
- Choose Instance Type
- Configure Instance
- Add Storage
- Add Tags
- Configure Security Group
- Review and Launch
1. Choose AMI:
AMI is a prebuild template contains software configuration. Like in our case Ubuntu and OpenLiteSpeed Server.
AMI Selection: AWS Marketplace -> Application Development -> Select Ubuntu in Operating System
Select “WordPress with LiteSpeed Cache (Powered OpenLiteSpeed)” from listed items as above attached screen grab and continue.
2. Choose Instance Type:
Choose instance type based on your website traffic and uses. In simple words instance type is computer configuration like RAM, CPU Core etc…
AWS provide a wide range of prebuild instances configuration.
Like – T2, T3
In Some Cases AWS provide t2.micro for free of uses for a year or 750 hours in a month.
Click on “Next: Configure Instance Details”:
3. Configure Instance
Here you can modify few settings of your instance (For Now just check “Protect against accidental termination”).
Click on “Next: Add Storage”:
4. Add Storage (EBS Volume)
Add Storage for your ec2 instance based on you requirement, for free tier eligible customer t2.micro AWS provide up to 30GB storage for free.
Click on “Next: Add Tags”
5. Add Tags
Tags are used for organize your resources, and cost allocation tags to track your AWS costs on a detailed level. Tags are case Sensitive Key-Value Pair.
Key – Name
Value – XpertzMate
Note : During tag addition you need to create it will provide you “tagname.pem” file which is used for SSH login in into ec2 server.
Click on “Next: Configure Security Group”
6. Configure Security Group:
Security group manage inbound and outbound traffic of ec2 instance for OpenLiteSpeed server we need below (In attached Screen Grab) ports in security rules.
7. Review and Launch
Finally Review your instance details and if everything is fine for you then launch instance which create a brand new AWS EC2 Instance contains OpenLiteSpeed web server with WordPress.
List of created instance:
Go to Services -> EC2 Here you can find all created instances with their details.