This is an old revision of the document!
Amazon Web Services
Amazon Web Services (“AWS”) is one of the largest growing on-demand scalable cloud platforms. AWS makes it easy to launch virtual Linux environments in seconds with pre-installed packages for the perfect get up and go solutions.
AMI Launch
As of the release of LiteSpeed Web Server (“LSWS”) 5.1.13, there is a custom Amazon Machine Image (“AMI”) based off of CentOS 7 with LiteSpeed Web Server built-in available. Each AMI install comes with a free 15-day trial.
Setup
The following steps detail how to load the LSWS AMI on one’s own EC2 environment.
- Go to AWS LiteSpeed Web Server
- Click “Continue” on the right hand side
- Log in
- Select either 1-Click Launch or Manual Launch
- 1-Click Launch will automate the entire setup process of the EC2 environment without having to launch the EC2 console.
- Manual Launch will provide more options to choose from. All of the options available, except for Security Groups, are not related to LSWS; they are just personal preferences.
- The Security Groups option should be left as default for both 1-Click Launch and Manual Launch.
- After the EC2 environment is fully launched, the EC2 environment is accessible from any browser as well as ssh.
- Website - http:<EC2-IP> * SSH - ssh -i /path/to/EC2-Key centos@<EC2-IP> * Web GUI - http:<EC2-IP>:7080
- To access the Web GUI please login to the EC2 environment and run the following commands:
sudo su /usr/local/lsws/admin/misc/admpass.sh
- That’s it! The EC2 environment that was just setup now is running LSWS with little work needed.
Manual Install
Because AWS just provides a virtual environment of Linux, one can follow our standard installation guides to install LSWS on any AWS AMI.
Installation guide for LSWS | How to install LiteSpeed Web Server |