Skip to main content

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​

ProviderVPS ProductOpenLiteSpeed Support
DigitalOceanDropletsOLS marketplace image available
VultrCloud ComputeOLS marketplace image available
AWSEC2Manual install or AMI
Google CloudCompute EngineManual install
HetznerCloudManual 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​

ConsiderationRecommendation
FirewallUse cloud provider firewall + UFW
BackupsEnable cloud provider snapshots + config backups
MonitoringCloud monitoring + WebAdmin dashboard
ScalingVertical (resize VPS) or horizontal (load balancer)
DNSUse 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​