Tag: cloud hosting

  • LiteSpeed Offers Docker Solutions

    LiteSpeed Offers Docker Solutions

    LiteSpeed Docker

    OVERVIEW

    Docker is more popular than ever these days, and this year LiteSpeed Technologies has introduced Docker images for both LiteSpeed Enterprise and OpenLiteSpeed web servers. Additionally, we’ve made WordPress app bundles available in GitHub repos for each server image, along with a Magento app bundle for our Enterprise image. With LiteSpeed Docker solutions, you can easily set up High Performance WordPress or Magento with HTTP/3 protocol support, and developers can run on multiple platforms like Linux or Windows.

    Available Images

    We have made LiteSpeed Enterprise and OpenLiteSpeed Images available on Docker Hub.

    LiteSpeed Enterprise
    LiteSpeed Enterprise
    OpenLiteSpeed
    OpenLiteSpeed

    Deploy LiteSpeed

    You can deploy either of the LiteSpeed images on Docker in less than a minute.
    Here we’ll use OpenLiteSpeed as an example, and assume you already have Docker installed.

    Download the Image from Docker Hub

    docker pull litespeedtech/openlitespeed:latest

    Start a Container

    docker run -d --name openlitespeed -p 7080:7080 -p 80:80 -p 443:443 -it litespeedtech/openlitespeed:latest

    TIP: You can eliminate -p 7080:7080 from the command if you don’t need WebAdmin access.

    Add a sample page

    The server should start running successfully, and you should be able to log into the container. Add some files you want to display with the following command:

    docker exec -it openlitespeed bash

    Your default WORKDIR should be /var/www/vhosts/, since the default document root path is /var/www/vhosts/localhost/html. Simply add the following command to index.php, and then verify it from the browser with a public server IP address on both HTTP and HTTPS:

    echo '<?php phpinfo();' > localhost/html/index.php

    Deploy High-Performance WordPress with LiteSpeed

    To start a high-performance WordPress-with-LiteSpeed-Cache solution, you can choose to use one of the following containers:

    We’ll use WordPress + OpenLiteSpeed as an example, and assume you already have Docker and Docker Compose installed.

    Download the Open Source from GitHub

    Clone this repository or copy the files from this repository into a new folder:

    git clone https://github.com/litespeedtech/ols-docker-env.git

    Change the Default Values (Optional)

    Edit the .env file to update the demo site domain, default MySQL user, and password. Feel free to check the Docker Hub Tag page if you want to update the default LiteSpeed Enterprise, OpenLiteSpeed, or PHP versions.

    Start the Multicontainer

    Open a terminal, cd to the folder in which docker-compose.yml is saved, and run:

    docker-compose up -d

    Start Your First WordPress site

    After running the following command, you should be able to access the WordPress installation page with the configured domain. If there is no change in the .env file, then the default domain is https://localhost.

    bash bin/demosite.sh

    For more CLI usage information please check our documentation which covers:

    • Setting the WebAdmin Password
    • Creating a Domain and Virtual Host
    • Creating a Database
    • Installing a WordPress Site
    • Applying a Let’s Encrypt Certificate
    • Updating the Web Server
    • Applying OWASP ModSecurity

    Deploy High-Performance Magento with LiteMage

    To start a high-performance Magento-with-LiteMage-Cache solution, you can use the following container:

    We’ll assume you already have Docker and Docker Compose installed.
    As of version 2.4, Magento requires Elasticsearch to be the catalog search engine, we recommend you have 4GB RAM on the server. If you are using a system with less than 4GB, we recommend you create a swap file, otherwise your upgrade might fail.

    Download the Open Source from GitHub

    Clone this repository or copy the files from this repository into a new folder:

    git clone https://github.com/litespeedtech/lsws-magento-docker-env.git

    Change the Default Values (Optional)

    Edit the .env file to update the demo site domain, default MySQL user, and password. Feel free to check the Docker Hub Tag page if you want to update the default LiteSpeed Enterprise, or PHP versions.

    Start the Multicontainer

    Open a terminal, cd to the folder in which docker-compose.yml is saved, and run:

    docker-compose up -d

    Start Your First Magento site

    After running the following command, you should be able to access the Magento page with the configured domain. If there is no change in the .env file, then the default domain is https://localhost.

    bash bin/demosite.sh

    If you want to see Magento with sample data, simply add [-S, --sample] to apply:

    bash bin/demosite.sh -S

    Videos

    Customization

    Build Your Own Web Server Version

    Sometimes you may want to install more packages from the default image, or some other web server or PHP version which is not officially provided. You can build an image based on an existing image. Here’s how:

    1. Download the dockerfile project
    2. CD into the project directory
    3. Edit the Dockerfile if necessary
    4. Build, feeling free to substitute server and PHP versions to fit your needs

    For example:

    git clone https://github.com/litespeedtech/lsws-dockerfiles.git
    cd lsws-dockerfiles/template
    bash build.sh -L 5.4.9 -P lsphp74
    

    or

    git clone https://github.com/litespeedtech/ols-dockerfiles.git
    cd ols-dockerfiles/template
    bash build.sh -O 1.6.15 -P lsphp74
    

    Extend Existing Images

    If you want to customize the image by adding some packages, e.g. lsphp74-pspell, just extend it with a Dockerfile:

    FROM litespeedtech/openlitespeed:latest
    RUN apt-get update && apt-get install lsphp74-pspell -y
    

    Conclusions

    LiteSpeed Docker solutions allow you to start a pure LSWS or OLS web server on Docker, or start WP + LiteSpeed / Magento + LiteSpeed Docker solutions easily. You can also customize or extend the image whenever you need to. Our Docker solutions are still in a very early release stage, so feel free to raise an issue if you have any suggestions or problems. Contributions are always welcome.

    Special thanks to our friend Lars Hagen. Lars is a DevOps enthusiast, with a passion for Docker and everything in the cloud. He helped us lay out the foundation for building good, robust Docker images, which is why we now have these high-end Docker images to support and use today.

  • LiteSpeed Support in Jelastic PaaS

    LiteSpeed Support in Jelastic PaaS

    LiteSpeed Support in Jelastic PaaS

    Last week Jelastic, the multi-cloud DevOps PaaS, announced out-of-box support for LiteSpeed Web Server and LiteSpeed Web ADC.

    What is Jelastic?

    LiteSpeed Support in Jelastic PaaSJelastic is a Platform-as-a-Service company. They provide a complete environment for customers to develop, run, and manage applications, free from the worries of building or maintaining infrastructure. Customers may install this platform in a variety of ways, including multi-cloud (AWS, Google Cloud, etc.) and bare metal. Pricing is a pay-as-you-use model. As a result, customers may allocate sufficient resources for High Availability, while only paying for the resources that are actually needed.

    Jelastic and LiteSpeed Together

    Through our new partnership, Jelastic offers LiteSpeed support in their PaaS product. PHP developers can take advantage of LiteSpeed’s high performance, low memory consumption, and other desirable features. Available in a turnkey package, with pay-as-you-use pricing:

    Specifically for Jelastic PaaS, there was created a more flexible pricing model for LiteSpeed stacks that suits dynamic cloud environments. The users can start with free licenses for LiteSpeed Web Server using up to 2GB per environment. Then the price will depend on the tiers according to resource usage (RAM and CPU). LiteSpeed Web ADC is charged hourly based on consumed external traffic.

    Jelastic Press Release

    We’re pleased to partner with Jelastic. We suggest that existing Jelastic customers request access to LiteSpeed. And, we encourage prospective customers to visit Jelastic’s website to start a free trial!

  • LiteSpeed Technologies, Inc. Joins the Amazon Web Services (AWS) Partner Network (APN)

    LiteSpeed Technologies, Inc. Joins the Amazon Web Services (AWS) Partner Network (APN)

    LiteSpeed Technologies, Inc. is proud to announce our new role as Technology Partners in the APN. This development allows us to better serve our AWS customers, giving us access to many AWS benefits and services that will help us make LiteSpeed Web Server the best Cloud web server available.

    Concurrent with joining the APN, LiteSpeed Technologies, Inc. announces the immediate release of LiteSpeed Web Server AMI for Amazon Web Services, marking our debut in Cloud Hosting software.

    As Cloud services offer a rapidly expanding technology platform, we believe that LiteSpeed Web Server AMI availability will marry the scalability, redundancy, and on-demand deployment of AWS to the efficiency, reduced cost and blazing performance of LiteSpeed Web Server and our Cache Solutions.

    Beginning with version 5.1.15, new releases of LiteSpeed Web Server will also be available as AMIs on AWS, delivering all the same features you know and love in LSWS with the added benefits of being in the Cloud.

    Each AMI includes a 15 day free trial for you to try us on the Cloud for yourself, so you can be up and running in the Cloud in minutes.

    Get started now at the AWS Marketplace!

    Our new APN debut with LiteSpeed Web Server for AWS is but our first step into Cloud software, with many more leaps to come. We have several Cloud related projects underway, so watch our news feeds and this blog for further announcements.

    Come give us a try, you won’t regret it!

    Be sure to take a look at our wiki at LiteSpeed Wiki – Cloud Platforms for articles on how to get set up on the cloud!

    And, as always, be sure to contact us at any time if you have any questions, comments or concerns!