Cloud Hosting
Learning Focus
By the end of this lesson you will know the key considerations for running OpenLiteSpeed on cloud VPS providers.
Cloud Provider Options
| Provider | VPS Product | OpenLiteSpeed Support |
|---|---|---|
| DigitalOcean | Droplets | OLS marketplace image available |
| Vultr | Cloud Compute | OLS marketplace image available |
| AWS | EC2 | Manual install or AMI |
| Google Cloud | Compute Engine | Manual install |
| Hetzner | Cloud | Manual install |
Getting Started on Cloud
# Option 1: Use a marketplace image (DigitalOcean, Vultr)
# Launch a pre-configured OLS droplet from the marketplace
# Option 2: Fresh VPS setup
# 1. Launch a fresh Ubuntu/Debian VPS
# 2. Follow the installation guide:
# wget -O - https://repo.litespeed.sh | sudo bash
# sudo apt install openlitespeed lsphp84
Cloud-Specific Considerations
| Consideration | Recommendation |
|---|---|
| Firewall | Use cloud provider firewall + UFW |
| Backups | Enable cloud provider snapshots + config backups |
| Monitoring | Cloud monitoring + WebAdmin dashboard |
| Scaling | Vertical (resize VPS) or horizontal (load balancer) |
| DNS | Use Cloudflare or cloud DNS |
Key Takeaways
- Several providers offer marketplace images with OpenLiteSpeed pre-installed.
- Use cloud firewalls and provider backup features alongside server-level protections.
- Size your VPS based on expected traffic and PHP worker memory needs.
What's Next
- Return to the Advanced Features module for the complete overview.