<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jelastic on Medium]]></title>
        <description><![CDATA[Stories by Jelastic on Medium]]></description>
        <link>https://medium.com/@jelastic?source=rss-fb3eb2766c58------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3NhluE1KSukhbBlk.png</url>
            <title>Stories by Jelastic on Medium</title>
            <link>https://medium.com/@jelastic?source=rss-fb3eb2766c58------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:20:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jelastic/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Jelastic PaaS is Acquired by Virtuozzo: What to Expect]]></title>
            <link>https://jelastic.medium.com/jelastic-paas-is-acquired-by-virtuozzo-what-to-expect-6d1b6982746a?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d1b6982746a</guid>
            <category><![CDATA[acquisition]]></category>
            <category><![CDATA[cloud-platform]]></category>
            <category><![CDATA[container-orchestration]]></category>
            <category><![CDATA[paas]]></category>
            <category><![CDATA[virtualization]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Tue, 05 Oct 2021 21:20:39 GMT</pubDate>
            <atom:updated>2021-10-05T21:20:39.907Z</atom:updated>
            <content:encoded><![CDATA[<h4>After Decade-Long Partnership, Jelastic Acquisition Strengthens Virtuozzo’s Position as a First Full-Stack Cloud Management Solution for Service Providers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7Lw8Qb-7plsP4c01.png" /></figure><p>Virtualization and hyperconverged software leader <a href="https://www.virtuozzo.com/">Virtuozzo</a> acquires <a href="https://jelastic.com/">Jelastic</a> multi-cloud Platform-as-a-Service (PaaS) company following a 10-year partnership.​</p><p>Bringing Jelastic’s platform and application management capabilities in-house completes Virtuozzo’s core technology stack, delivering a fully integrated solution that supports all relevant anything-as-a-service (XaaS) use cases — from shared hosting to VPS to cloud infrastructure, software-defined storage and application management and modernization.</p><p>The acquisition combines the businesses and teams of the companies in order to offer an advanced bundle of IaaS, PaaS, CaaS and XaaS products designed for Cloud Service Providers, Managed Service Providers, Hosting Providers, and their small and medium-sized business customers.​​</p><p><strong><em>“Virtuozzo and Jelastic have been strong partners over the past 10 years because of our complementary technologies and products. Virtuozzo containers have been incorporated into Jelastic’s Platform-as-a-Service for virtualization since that solution’s inception. Together, our engineering teams have co-developed solutions to enable features required by the market throughout our partnership. And now, with Jelastic joining our team, Virtuozzo can offer a complete, enterprise-grade, turnkey cloud enablement platform with fully integrated orchestration and a single point of management,” said Alex Fine, CEO of Virtuozzo.</em></strong></p><p>Such synergy of two strategically aligned vendors is leading to a smart combination of Virtuozzo’s advanced virtualization and containerization capabilities with Jelastic’s flexibility and automation of cloud and container management via intuitive user interface.​​</p><p>With this acquisition, Virtuozzo is strengthening its market position in the rapidly growing multi-cloud and PaaS industries. Service providers that are partnering with Virtuozzo are getting a wider set of tools and services in a turnkey bundle in order to differentiate from competitors, increase profitability and cost-efficiency.​</p><h3>Established History of Relations</h3><p>Jelastic and Virtuozzo have a long-established history of relations. Virtuozzo containers were used inside Jelastic PaaS for virtualization from the very beginning of the platform development. ​</p><p>Currently, the joint technology is already available across a wide range of hosting service providers in more than 100 data centers around the world for running millions of end users’ applications in a very cost-effective way. Thus, the merge is going to be done smoothly without breaking the existing processes and products but focusing on further enhancements by involving experts from both sides.​</p><h3>Service Providers Want Simplicity, Automation and Choice</h3><p>Service providers demand simplification and automation in container and cloud management. Jelastic has been providing a proven production-ready platform to cover these needs for years. The acquisition enables tighter integration and seamless enhancements.</p><p>In addition, <a href="https://jelastic.com/cloud-business-for-hosting-providers/">service providers</a> require a wider set of products to offer to end users. “Freedom of choice” is the core mantra that runs throughout the Jelastic ecosystem. Customers can choose various solutions and services, different types of workloads and management through an automated orchestration.</p><p>Jelastic enables service providers differentiate among competitors by selling full-featured PaaS, container orchestration, a wide variety of packaged clusters (like Magento, WordPress, Kubernetes, Jakarta EE, replicated SQL and NoSQL databases, etc) and auto-scalable Elastic VPS to their customers. Also, they get the required tools to manage the platform, support customers, and monitor ROI growth.​</p><p>With Jelastic’s acquisition, Virtuozzo can help MSPs, hosting and cloud providers to:</p><ul><li>attract new customers by offering XaaS and more advanced automation tools that can simplify daily life for their end users as the number of internet applications and websites are constantly growing, and managing old school VPS deployments is not an efficient approach anymore​</li><li>be able to retain existing customers, reduce the churn and prevent users’ migration to more sophisticated solutions compared to the home-made infrastructure orchestration systems​</li><li>simplify own DevOps processes reducing the required amount of human efforts and increase ROI while running cloud business with intuitive and flexible cloud management platform​</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o5f_0FInqn4L2xRK.png" /></figure><p><strong><em>“Our companies are completely aligned and deeply understand the challenges and opportunities in the service providers industry where Platform-as-a-Service enablement is the key in the process of SaaS-ification and digitalization of its customers. Our joint partners will benefit from this acquisition since together we become a one-stop shop for Anything-as-a-Service, making it easier to get whatever they need for their users. The joint forces will accelerate the innovation and product development cycles. Together we can raise the bar for the industry standards with the help of our unique technologies that solve real problems of the cloud users,” said Jelastic CEO Ruslan Synytsky.</em></strong></p><h3>Platform-as-a-Service Market Shows Strong Growth</h3><p>In 2022, the platform as a service (PaaS) market is estimated to be worth approximately 71 billion U.S. dollars based on <a href="https://www.gartner.com/en/newsroom/press-releases/2021-04-21-gartner-forecasts-worldwide-public-cloud-end-user-spending-to-grow-23-percent-in-2021">Gartner research</a>. Application infrastructure services (PaaS) is anticipated to grow by a high margin at around 27%. ​</p><p>The increased adoption of PaaS among service providers is driven by the end-users’ demand for access to easy-to-manage, high performing and scalable solutions in order to modernize their solutions, run cloud-native applications and smoothly go through digitalization.​</p><p>Many PaaS vendors focus on a single-purpose offering. Jelastic, however, offers a robust, multi-purpose solution that, via the acquisition, will position Virtuozzo as a strong player in the PaaS market and further strengthen Virtuozzo’s position overall in the rapidly growing cloud services space.</p><h3>Business as Usual</h3><p>Business continues as usual, with Jelastic now operating as a division of Virtuozzo — underscoring the equity in Jelastic’s brand and technologies. Jelastic CEO, Ruslan Synytsky, has been appointed to Chief Technology Officer of Virtuozzo.</p><p>Integration of Jelastic’s sales and marketing teams will expand Virtuozzo’s worldwide footprint and brand visibility; and integration of Jelastic’s engineering resources will enable Virtuozzo to accelerate its full stack offering and provide a richer experience across multiple cloud providers.</p><p>Terms of the transaction were not disclosed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d1b6982746a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Enable ModSecurity Web Application Firewall inside NGINX Server]]></title>
            <link>https://jelastic.medium.com/how-to-enable-modsecurity-web-application-firewall-inside-nginx-server-ca6424162a14?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca6424162a14</guid>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[modsecurity]]></category>
            <category><![CDATA[jelastic]]></category>
            <category><![CDATA[jakarta]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Wed, 14 Jul 2021 12:42:28 GMT</pubDate>
            <atom:updated>2021-07-14T12:42:28.651Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eIN2ebcrKAgfytzRCQIxXg.png" /></figure><p>Recently, we were asked to sponsor cloud hosting of a Jakarta EE project, called <a href="https://cargo-tracker.j.scaleforce.net/">Cargo Tracker</a>. Being a member of Jakarta EE Working Group, Jelastic wanted to support the community and thus we started to run this application at one of our service providers (<a href="https://jelastic.cloud/details/scaleforce/">Scaleforce</a>).</p><p>Cargo Tracker is created with the help of Domain-Driven Design (DDD) approach that focuses on the study of a subject area (domain) and its business processes. Regular programming stipulates writing the code paying more attention to technologies and infrastructure. Of course, these aspects are important but they are secondary compared to business itself. DDD approach helps developers to speak business language, so called Ubiquitous language.</p><p>Jelastic team deployed the Cargo Tracker application to the Kubernetes environment using GitHub Actions workflows. The deployment and all data is automatically refreshed nightly. On the cloud, the application is running on a PostgreSQL database. The GitHub Container Registry is used to publish Docker images.</p><p>In this article, we would like to show how to deploy the Jakarta EE projects to the Kubernetes cluster within Jelastic PaaS using Cargo Tracker as an example. The source code of the project can be found in our repository: <a href="https://github.com/jelastic/cargotracker">https://github.com/jelastic/cargotracker</a></p><h3>Kubernetes Installation</h3><p>First, let’s create a Kubernetes cluster from the Jelastic marketplace. It’s a fully automated process, so just follow our tutorial <a href="https://jelastic.com/blog/kubernetes-cluster-scaling-pay-per-use-hosting/">Kubernetes Cluster Setup with Automated Scaling and Pay-per-Use Pricing</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/0*NTi1ZQxpoC1i6KCi.png" /></figure><p>The topology of a simple development cluster can look like as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*KyIPFBLU7lpfQoaH.png" /></figure><h3>Jakarta EE Project Deployment</h3><p>1. To deploy a project, get three config files from the repository:</p><ul><li>The <strong>postgres-secret.yaml</strong> provides database username and password encoded with <a href="https://en.wikipedia.org/wiki/Base64">Base64</a>. This demo project uses the same value “<strong>postgres</strong>” for both.</li><li>The <strong>postgres.yaml</strong> will create a PostgreSQL database.</li><li>The <strong>cargo-tracker.yaml</strong> will deploy highly available topology of Jakarta EE application which consists of 2 replicas.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/0*v5oY086PlKxXm9r1.png" /></figure><p>2. Use a configuration file manager to create these files on the Control plane node (formerly known as Master) of Kubernetes cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/0*P9-Q-_Sz3bg8i01c.png" /></figure><p>With help of these files you will create the K8s resources:</p><p>1. <strong>postgres-secret</strong></p><p>2. <strong>postgres</strong> deployment</p><p>3. <strong>postgres</strong> service</p><p>4. <strong>cargo-tracker </strong>deployment</p><p>5. <strong>cargo-tracker</strong> service</p><p>6. <strong>cargo-tracker</strong> ingress</p><p>3. Log in to the Control plane node via <a href="https://docs.jelastic.com/web-ssh-client/">WebSSH</a> and apply the files. But first let’s see whether the ROOT context path “/” is taken by any ingress or not.</p><p>To do this Issue:</p><p><strong>$ kubectl get ing</strong></p><p>As we can observe the <strong>helloworld</strong> application’s ingress is holding the “/” context path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/0*B2Zp8Go-Vcm_cVHs.png" /></figure><p>Let’s release the path for Cargo-tracker application deleting an existing ingress resource:</p><p><strong>$ kubectl delete ing helloworld</strong></p><p>After ingress deletion, apply all of the mentioned files in the order as follows:</p><p><strong>$ kubectl apply -f postgres-secret.yaml</strong><br><strong>$ kubectl apply -f postgres.yaml</strong><br><strong>$ kubectl apply -f cargo-tracker.yaml</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/0*Ef681304kWySzAYR.png" /></figure><h3>Jakarta EE Project Testing</h3><p>Wait for a minute and check whether the mentioned above resources have been created and are running:</p><p><strong>$ kubectl get secrets</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/0*v1jGWZL4RkcwdDea.png" /></figure><p><strong>$ kubectl get deploy</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/0*io8kzHnAlsP--saY.png" /></figure><p><strong>$ kubectl get svc</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/0*xtAFuGcHiE_M1Sjn.png" /></figure><p>Finally, press the <strong>Open in Browser</strong> button to get to your application and check its workability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/0*l67SCJ7W3GctOznG.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/0*Xg94ep4ZX9vY8EGx.png" /></figure><p>You can check how the system works using demo Tracking ID <strong>ABC123</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/0*7QDxgdnCy0OI4T6p.png" /></figure><p>Congratulations! Application setup is finished successfully. Feel free to run your Jakarta EE projects inside Kubernetes clusters with <a href="https://jelastic.cloud/">Jelastic PaaS Providers</a>.</p><h3>Related Articles</h3><h4><a href="https://jelastic.com/blog/kubernetes-hosting-business-auto-clustering-pay-per-use/">Jelastic Released Kubernetes Package with Integrated Auto-Clustering and Pay-per-Use Pricing Model</a></h4><h4><a href="https://jelastic.com/blog/kubernetes-cluster-scaling-pay-per-use-hosting/">Kubernetes Cluster Setup with Automated Scaling and Pay-per-Use Pricing</a></h4><h4><a href="https://jelastic.com/blog/kubernetes-gitlab-ci-cd-integration/">Kubernetes Integration with GitLab CI/CD Pipeline</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca6424162a14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Cloud Hosting on VMs inside Jelastic PaaS]]></title>
            <link>https://jelastic.medium.com/windows-cloud-hosting-on-vms-inside-jelastic-paas-5764c760a47?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/5764c760a47</guid>
            <category><![CDATA[vms-software]]></category>
            <category><![CDATA[windows-cloud-hosting]]></category>
            <category><![CDATA[cloud-hosting]]></category>
            <category><![CDATA[jelastic]]></category>
            <category><![CDATA[paas]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Fri, 09 Jul 2021 07:43:14 GMT</pubDate>
            <atom:updated>2021-07-09T07:43:14.755Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="windows cloud hosting" src="https://cdn-images-1.medium.com/max/1024/1*p8gDkuECN3yLEtSXjx7d2A.png" /></figure><figure><img alt="windows hosting" src="https://cdn-images-1.medium.com/max/628/0*bAoOFY5GLBTf5UNX.png" /></figure><p>Windows-based cloud hosting running inside virtual machines has been on the wish list of our customers and cloud partners for quite some time. So now <a href="https://jelastic.com/">Jelastic</a> multi-cloud platform provider has not only made this possible, but achieved an intuitive process that is natively implemented within the PaaS.</p><p>Many companies around the world base their IT on Microsoft tools. Therefore, it is natural that customers also are looking for these services while choosing cloud hosting.</p><p><strong><em>“Our team saw rising demand in Windows among our growing customer base. So, extending the product line with this offering was a natural next step in light of Jelastic’s freedom of choice principles.” </em></strong>said Ruslan Synytsky, Jelastic CEO and co-founder.</p><p>The Jelastic cloud platform now enables traditional virtual machines with Windows workloads on the same topology side-by-side with Linux containers. The user interface seamlessly integrates this additional functionality and makes it available to customers in just a few clicks. Application configurations and management can be performed via the built-in web or a standard remote desktop client using RDP.</p><p>Tomasz Magda, co-founder of Produkcja Chmur (Cloudlets.Zone), Jelastic service provider in Poland says, <strong><em>“We have a lot of positive feedback from customers that have launched the environment on their own after testing Cloudlets.Zone. The simplicity of using the public cloud encourages its adoption because it does not require capital outlay. And the lack of a Windows operating system on Cloudlets.Zone was a major unmet need. The ability to run a Windows virtual machine provides significant appeal. Importantly, the processing of containers and virtual machines is based on the same friendly dashboard, which delivers rare ease-of-use and cost efficiency.”</em></strong></p><p>Both newly launched VMs and previously available containers can be run within the same host nodes on bare metal. This approach provides high density, improves hardware utilization and reduces management complexity by removing the need for an additional VM orchestration platform on a separate infrastructure.</p><p><strong><em>“Availability of Windows-based VMs within the Jelastic PaaS has many benefits for our customers. They can run a variety of projects within a single platform that ensures a unified cloud infrastructure management. The hourly payment model for CPU/RAM resources, as well as the cost per traffic and ondemand disk make the solution highly efficient.” </em></strong>said Fabio Vieira, CEO and founder at SaveInCloud, Jelastic service provider in Brazil.</p><p>Let’s see how to get started with Windows hosting in Jelastic PaaS and how easy it is to deploy and manage your applications.</p><h3>Creating Windows VM</h3><p>1. Click the <strong>New Environment</strong> button at the top of the dashboard to open the topology wizard. Expand the VPS section to locate the Windows server (the VM label helps to separate this option from containers).</p><figure><img alt="create windows environment" src="https://cdn-images-1.medium.com/max/1024/0*nYPUoT6utWmBt3NL.png" /></figure><p>2. Only fixed resources are available for virtual machines, so when a VM is selected, the wizard’s central part is adjusted. Here, you can choose from several predefined plans using the slider. Hover over the price icon to view all the available tariffs for VMs.</p><figure><img alt="windows vms" src="https://cdn-images-1.medium.com/max/1024/0*Tg8r56qluu7w5rsa.png" /></figure><p>3. If VM is added to the topology, an additional <strong>VM Resources</strong> line appears in the right part of the wizard (just below the cloudlets information for containers).</p><figure><img alt="windows vm resources" src="https://cdn-images-1.medium.com/max/666/0*hswS6d48HrdwQucB.png" /></figure><p>Click <strong>Create</strong> to proceed with environment creation.</p><h3>Managing Windows VM</h3><p>1. Virtual machines are highlighted with a dedicated <strong>VM</strong> label and custom icon in the <strong>Usage</strong> column.</p><figure><img alt="manage windows environment" src="https://cdn-images-1.medium.com/max/894/0*ySfO2-aDK84ArEKp.png" /></figure><p><strong>Tip:</strong> You can hover over the <strong>Usage</strong> column for a comprehensive overview of the current consumption or refer to the node <a href="https://docs.jelastic.com/view-app-statistics/">Statistics</a> for detailed analysis.</p><figure><img alt="windows resource usage" src="https://cdn-images-1.medium.com/max/309/0*EMFmdJRg9mFpNpFE.png" /></figure><p>2. Some <a href="https://docs.jelastic.com/dashboard-guide/#function-icons-for-each-instance">node’s function icons</a> for VM are a bit different compared to containers. The following options are available:</p><ul><li><strong>Add-Ons</strong> — installs available pluggable modules (e.g. Env Start/Stop Scheduler)</li><li><strong>Restart Node(s)</strong> — restarts a VM</li><li><strong>Statistics</strong> — shows real-time and historical VM’s resource consumption</li><li><strong>Remote Desktop</strong> — connects via RDP using the web client and resets RDP password</li><li><strong>Additionally</strong> — lists additional options, like node’s info</li></ul><figure><img alt="windows hosting settings" src="https://cdn-images-1.medium.com/max/790/0*Q4Krw9KKvJvkWKQ-.png" /></figure><p>Let’s overview these options in detail.</p><p>3. <strong>Statistics</strong> are collected in the same way as for containers. However, CPU is measured in % for VM (instead of <em>MHz</em>).</p><figure><img alt="windows hosting statistics" src="https://cdn-images-1.medium.com/max/1024/0*paZbarFEQgtBP0bh.png" /></figure><p>4. All the actual configurations and application management are performed via RDP. Use the appropriate <strong>Remote Desktop</strong> menu to:</p><ul><li><strong>Open in Browser </strong>— connects to the Windows Server over the RDP using the Guacamole web client, which allows managing server directly in a browser</li><li><strong>Reset RDP Password</strong> — resets and resends password of the Windows Administrator user</li><li><strong>Info</strong> — displays a short instruction on the remote desktop connection via local RDP client</li><li><strong>RDP Link</strong> — shows a link for connection via local RDP client</li></ul><figure><img alt="windows remote desktop" src="https://cdn-images-1.medium.com/max/859/0*oP9zuWVIM2ccSGC4.png" /></figure><p>5. In addition to the built-in web client, you can connect using any preferred local RDP application. Connect to VM based on its entry point:</p><ul><li>If created <em>without external IP</em>, an <a href="https://docs.jelastic.com/endpoints/">endpoint</a> is created automatically and can be used for RDP connection</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/0*Kt6jAd8HCPCMxZhC.png" /></figure><ul><li>If a <em>public IP is attached</em>, you can use it directly as VM’s host</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*29Tq17oSZUs8tAgB.png" /></figure><p>Use administrator credentials from email to authenticate and start managing your Windows Server.</p><p>6. The <em>vCPU</em> and <em>Memory</em> for VM are billed as one tariff, while <em>Disk, Network</em>, and <em>Options</em> are billed separately, just as for containers.</p><figure><img alt="windows hosting pricing" src="https://cdn-images-1.medium.com/max/916/0*68_nM0KE3HPR_BFP.png" /></figure><p>Easy start and smooth orchestration! Refer to the official <a href="https://docs.microsoft.com/en-us/windows-server/">Microsoft documentation</a> for information on the server management itself. Enjoy intuitive hosting of Windows VMs inside <a href="https://jelastic.cloud/?featuresSupport=WM">Jelastic PaaS at one of the available service providers</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5764c760a47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secure, Simple and Scalable Video Conferencing with Jitsi]]></title>
            <link>https://jelastic.medium.com/secure-simple-and-scalable-video-conferencing-with-jitsi-a633a1a6318a?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/a633a1a6318a</guid>
            <category><![CDATA[jitsi]]></category>
            <category><![CDATA[video-conferencing]]></category>
            <category><![CDATA[jelastic]]></category>
            <category><![CDATA[jitsi-installation]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Fri, 02 Jul 2021 13:02:25 GMT</pubDate>
            <atom:updated>2021-07-02T13:02:25.748Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Secure, Simple and Scalable Video Conferencing with Jitsi" src="https://cdn-images-1.medium.com/max/1024/1*C7iicE-7CQK8OecntKr-3w.png" /></figure><figure><img alt="Jitsi Video &amp; Audio Conferencing" src="https://cdn-images-1.medium.com/max/500/0*e8Uzt8SeYpKLF_yd.png" /></figure><p>The situation with COVID-19 affects not only the private lives of people and their families but also the business, excluding the possibility of face-to-face communication. Many individuals and companies are forced to adapt to work and communicate remotely.</p><p>Thus video conferencing got a high-level demand. One of the key players in this market is Zoom video conferencing software. However, there are multiple claims regarding <a href="https://www.schneier.com/blog/archives/2020/04/security_and_pr_1.html">Zoom security</a>, confidentiality and data privacy. As a result, people are looking for alternatives that can be privately hosted. That’s why <a href="https://jitsi.org/jitsi-meet/">Jitsi Meet</a> open source video conferencing tool is gaining more and more popularity, as it can be installed at the preferred local cloud provider or on-premise.</p><h3>Why Jitsi?</h3><p>The key advantages of using Jitsi video conferencing:</p><ul><li>Open-source solution provided for free and with a wide community support</li><li>Installation in one click and easy setup</li><li>User-friendly process of arranging video and audio calls, as well as multi-meeting rooms</li><li>High level of privacy and security due to deployment inside isolated containers with encrypted traffic</li><li>A wide choice of service providers across different countries to host the application locally</li><li>Support of all available clients (Windows, Linux, Mac, iOS, Android)</li></ul><p>In this article we’ll share the details of how to get Jitsi up and running with Jelastic PaaS in order to achieve full control over your data, secure hosting in local datacenter and meet no need in manual installation with complex maintenance. Follow the steps below and get your own self-hosted video conferencing application in minutes.</p><h3>Jitsi Installation</h3><p>1. <a href="https://docs.jelastic.com/account/#b">Sign in</a> Jelastic dashboard and start the installation by <a href="https://docs.jelastic.com/environment-import/">importing</a> the appropriate <a href="https://github.com/jelastic-jps/jitsi/blob/master/manifest.yaml">manifest</a> file from GitHub.</p><figure><img alt="install Jitsi Video Conferencing" src="https://cdn-images-1.medium.com/max/650/0*zGrsiRguqRS2fNFp.png" /></figure><p>Once the installation is completed the successful window appears with credentials of the video conferencing host (administrator).</p><figure><img alt="deployed Jitsi Video Conferencing" src="https://cdn-images-1.medium.com/max/430/0*5ZIRvPsjOio3PQrC.png" /></figure><p>2. Click on <strong>Jitsi Server</strong> URL or <strong>Open in Browser</strong> button to get access to the video conferencing admin panel.</p><p><strong>SSL CERTIFICATE</strong></p><p>Depending on <a href="https://jelastic.cloud/">Hosting Service Provider</a>, the platform secures application traffic either with a valid SSL certificate or <a href="https://letsencrypt.org/docs/staging-environment/">test intermediate certificates</a> (<a href="https://letsencrypt.org/certs/fakeleintermediatex1.pem">“Fake LE Intermediate X1”</a>) SSL certificate. In case the Fake certificate was issued, it is suitable for evaluation or testing purposes only. In other case, you can keep going with the valid certificate the platform issued for your environment or you may bind a custom domain and obtain a valid SSL Certificate for it. Follow our tutorial in the <a href="https://jelastic.com/blog/jitsi-video-conferencing/#Bind-Custom-Domain">Bind Custom Domain</a> section below.</p><p><strong>ENCRYPTION</strong></p><p>For 1-to-1 meetings audio and video are always encrypted using <a href="https://datatracker.ietf.org/doc/html/rfc5763">DTLS-SRTP</a> all the way from the sender to the receiver. In the case of multiparty meetings all audio and video traffic is still encrypted on the network. Data is decrypted while traversing videobridge, but it is never stored to any persistent storage and only live in memory while being routed to other participants in the meeting. Also, since we are running a private instance inside the <a href="https://docs.jelastic.com/isolated-containers/">isolated container</a>, it is under your full control and no third party can access it.</p><figure><img alt="secure Jitsi Video Conferencing" src="https://cdn-images-1.medium.com/max/952/0*kJi93yr0nwThwV-r.png" /></figure><p>3. Use a meeting name generator to avoid possible coincidences or create your own one <strong><em>e.g. MyPrivateMeeting</em></strong> and click on <strong>GO</strong>. Then press <strong>I am the host</strong> button and enter credentials you got upon Jitsi installation to become the video conferencing service administrator.</p><figure><img alt="start meeting with Jitsi Video Conferencing" src="https://cdn-images-1.medium.com/max/952/0*VU3j2I26drQZ598O.png" /></figure><p>The meeting appears once the first participant joins it by the URL and it is destroyed right as the last participant has left it. So, if necessary to maintain some room with a specific meeting all the time there should stay at least one participant. Otherwise, if someone joins the same meeting room again, a brand new meeting is created with the same name and there will be no connection with the previous meeting.</p><p>Jitsi can be used to run multiple meetings at a time with a limitation of 75 clients connected per meeting. By default, Jitsi server in Jelastic has enough resource capacity to handle a heavy load, but if necessary you can <a href="https://docs.jelastic.com/automatic-vertical-scaling/">scale it vertically</a> on-the-fly.</p><p>4. The next step is to secure your meeting with a password to ensure that somebody uninvited can reach it even in case of coincidence of the names.</p><figure><img alt="secure jitsi meeting with password" src="https://cdn-images-1.medium.com/max/803/0*q4O9SlzUfrouBGUr.png" /></figure><p>Now your meeting is ready to accept connections from the users you shared the link to, just don’t forget to send invitations to them with the meeting’s <strong>Link</strong> and <strong>Password</strong>.</p><p>Remember that the password is reset once the meeting has left by all the participants. So, while joining a new meeting in the same room, note that the password should be set up once again.</p><h3>Jitsi Highly-Available Cluster</h3><p>In case you need to ensure the reliability of your Jitsi application, you can select the <strong>Cluster</strong> option during the package installation. It will automatically scale your Jitsi instance across the specified number of nodes (the <strong>Shards Number</strong> field in the installation frame) to provide high availability and boost performance.</p><figure><img alt="install highly-available Jitsi cluster" src="https://cdn-images-1.medium.com/max/650/0*l2ssn3iYl77zRdgL.png" /></figure><p>As a result, you’ll get a sharded cluster with a load balancer based on Haproxy and a dedicated storage node to keep all the records in the same place.</p><figure><img alt="Jitsi Highly-Available Cluster" src="https://cdn-images-1.medium.com/max/800/0*eWjLjSkPzAJudmQb.png" /></figure><p>Jitsi Cluster has the following peculiarities:</p><ul><li>All the clients are split according to the room name.</li><li>The size of the room (amount of concurrent clients) depends on the amount of resources allocated per shard.</li><li>A single room cannot be shared across multiple shards. However, all rooms and their clients will be split between shards.</li><li>Admin credentials are the same for the whole cluster.</li><li>The recordings are saved to shared storage so that all records are located in the same place.</li><li>If a node that is hosting a room fails, all the clients are automatically reconnected to the new room on a different shard (after the admin enters credentials for the new jitsi session).</li><li>In clustered mode Let’s Encrypt certificate is managed via the Jelastic Let’s Encrypt add-on. In standalone mode, it is managed directly via the Jitsi application.</li></ul><p>After installation, proceed with the same configuration as for the standalone Jitsi instance.</p><h3>Extra Functionality</h3><p>Jitsi attracts also with some unique features available in one application:</p><figure><img alt="Extra Jitsi Functionality" src="https://cdn-images-1.medium.com/max/952/0*ZenF8aicJQtrxlHF.png" /></figure><ul><li><strong>Sart live stream</strong> — allows to stream audio and video via Youtube.</li><li><strong>Start recording</strong> — provides an ability to record meetings as mp4 video files and automatically save them to the <em>/root/.jitsi-meet-cfg/jibri/recordings</em> folder of the Jitsi container.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/0*81ij62FNgig36mPB.png" /></figure><ul><li><strong>Share a YouTube video</strong> — allows playing video from YouTube to all the meeting participants.</li><li><strong>Blur my background </strong>— detects the speaker’s body and displays it with no distortion but blurs the background surrounding it.</li></ul><p>In addition, you can <strong>Share your screen </strong>using the button in the left bottom side of the application panel<strong>.</strong> It allows you to broadcast screen to all participants:</p><ul><li>Whole computer screen</li><li>Window of a specific application</li><li>Specific web browser tab</li></ul><figure><img alt="share screen at Jitsi Video Conferencing" src="https://cdn-images-1.medium.com/max/952/0*EI39NUJJmaUGYBJA.png" /></figure><h3>Bind Custom Domain</h3><p>Now your Jitsi server is available by platform’s domain generated upon installation with the test fake certificates. It is enough to get it to work for developing or testing purposes. But for the production, you definitely need to have your own domain available for your video conferencing server.</p><p>1. Bind a custom domain name to your Jitsi server via <a href="https://docs.jelastic.com/custom-domains/#configure-dns">A Record or CNAME</a>. It’s a mandatory requirement. You can find provided IP address in the environment topology as follows.</p><figure><img alt="bind custom domain jitsi" src="https://cdn-images-1.medium.com/max/423/0*NhAZm7H55qs3xePi.png" /></figure><p>2. Then generate valid Let’s Encrypt SSL certificates. To do this open the <strong>Add-Ons</strong> tab, find <strong>Domain Configuration</strong> Add-On and click on <strong>Change</strong>.</p><figure><img alt="domain configuration jitsi" src="https://cdn-images-1.medium.com/max/622/0*hMUjlOT1IFRP6IEt.png" /></figure><p>3. Specify your custom domain name in the popup window and apply the changes in order to initiate the certificate generation procedure.</p><figure><img alt="generate certificate Jitsi Video Conferencing" src="https://cdn-images-1.medium.com/max/600/0*_6Y350RaMJSHu5WA.png" /></figure><p>Once it is completed the success window appears.</p><figure><img alt="custom domain Jitsi Video Conferencing" src="https://cdn-images-1.medium.com/max/302/0*18650G3WrYFzHjTh.png" /></figure><p>Now your video conferencing server is ready to serve requests under a new custom domain name with a valid Let’s Encrypt SSL certificate that is automatically renewed.</p><h3>Jitsi Upgrade</h3><p>Jitsi is a continuously developed project that regularly releases new versions with optimizations, fixes, security updates, etc. Obviously, you want to keep your Jitsi instance up-to-date to benefit from the latest features. So, let’s see how you can painlessly upgrade your existing Jitsi environment at Jelastic PaaS.</p><p>1. Click <strong>Import</strong> at the top of the dashboard and switch to the <strong><em>JPS</em></strong> tab within the opened window. Copy the <a href="https://github.com/jelastic-jps/jitsi/blob/master/manifest.yaml#L23">Jitsi package manifest</a> from GitHub and paste it into the frame.</p><figure><img alt="Jitsi with specific password" src="https://cdn-images-1.medium.com/max/768/0*5-bHSheZbxT7lWx9.png" /></figure><p>To set your password for the Jitsi admin user, substitute the <strong>${fn.password}</strong> variable (on the <em>23rd</em> line) with the required value.</p><p>2. Click <strong>Import</strong> and install as a regular Jitsi package (i.e. as described above).</p><figure><img alt="install new Jitsi" src="https://cdn-images-1.medium.com/max/650/0*3KVc8yQgurK_AsS9.png" /></figure><p>3. In order to keep the previously bounded public IP, you can <a href="https://docs.jelastic.com/cli-ip-swap/">swap addresses</a> between old and new environments using either Jelastic CLI or API.</p><pre><em>~/jelastic/environment/binder/swapextips --envName {env_name} --sourceNodeId {source_node_id} --targetNodeId {target_node_id}</em></pre><p>4. After swapping IPs, you need to reinstall Let’s Encrypt certificate for the new installation, which can be done through the pre-installed <strong><em>Domain Configuration</em></strong> add-on. Click <strong>Change</strong> and specify your custom domain in the opened frame.</p><p>Note: If working with Jitsi cluster, SSL is managed via the Jelastic Let’s Encrypt add-on. So this step should be skipped.</p><figure><img alt="provide custom domain for Jitsi" src="https://cdn-images-1.medium.com/max/622/0*psFboRUc5Q0ugkHd.png" /></figure><p>5. Ensure that your new Jitsi instance works as intended on the specified custom domain name and with a valid Let’s Encrypt SSL certificate.</p><figure><img alt="Jitsi test" src="https://cdn-images-1.medium.com/max/952/0*Ypq_qOSf0qVD44n7.png" /></figure><p>6. If everything works fine, you can remove your “old” environment.</p><figure><img alt="remove old Jitsi environment" src="https://cdn-images-1.medium.com/max/402/0*IqNq4LedEjDjOoHe.png" /></figure><p>That’s all! You’ve successfully upgraded your Jitsi instance to the latest available version.</p><p>Launch your own secure, simple and scalable communication service with Jitsi hosted on a preferable <a href="https://jelastic.cloud/">Jelastic service provider</a>.</p><h4>Related Articles</h4><p><a href="https://hidora.com/mattermost/">Mattermost Free Hosting for 2 Months from Hidora</a><a href="https://www.onschool.ch/">Moodle Digital Learning Platform Free Hosting from Infomaniak</a><a href="https://www.hosteur.com/cloud/vdi">VDI Hosting with 50% Discount from Hosteur</a><a href="https://jelastic.com/blog/install-rocketchat-server/">How to Install Rocket.Chat Server for Team Communication</a><a href="https://www.forbes.com/sites/leemathews/2020/04/13/500000-hacked-zoom-accounts-given-away-for-free-on-the-dark-web/">500,000 Hacked Zoom Accounts Given Away For Free On The Dark Web</a><a href="https://www.businessinsider.com/zoom-data-routing-control-china-servers-2020-4?IR=T">Zoom slammed for ‘mistakenly’ using data centers in China</a><a href="https://www.makeuseof.com/tag/jitsi-secure-zoom/">What Is Jitsi and Is it More Secure Than Zoom?</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a633a1a6318a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Multi-Region WordPress Hosting for Enterprise Availability and Performance]]></title>
            <link>https://jelastic.medium.com/multi-region-wordpress-hosting-for-enterprise-availability-and-performance-40c3eed518d4?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/40c3eed518d4</guid>
            <category><![CDATA[jelastic]]></category>
            <category><![CDATA[enterprise]]></category>
            <category><![CDATA[multi-region]]></category>
            <category><![CDATA[wordpress-hosting]]></category>
            <category><![CDATA[wordpress-performance]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Thu, 01 Jul 2021 07:07:05 GMT</pubDate>
            <atom:updated>2021-07-01T07:07:05.705Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Multi-Region WordPress Hosting" src="https://cdn-images-1.medium.com/max/1024/1*vUqlRn_yz0Vjqkty0KKDwA.png" /></figure><figure><img alt="Multi-Region WordPress Logo" src="https://cdn-images-1.medium.com/max/971/0*nr61sxxrFnhUT0VY.png" /></figure><p>In this article we cover a multi-region geographic distribution approach for WordPress CMS deployment. The application will be distributed as clusters across several regions within one cloud to ensure automatic fault-tolerance and low latency read operations for the users based on their location.</p><p>Such an approach brings high availability to the top level, allowing to ensure business continuity even in case of a data centre outage. On the other hand having several clusters in different locations over the globe can significantly improve website ranking from search engine side decreasing response time and consequently attracting more customers worldwide.</p><figure><img alt="Multi-Region WordPress" src="https://cdn-images-1.medium.com/max/900/0*_GOlhUWeYbqag5PY.png" /></figure><h3>Multi-Region Cluster Topology</h3><p>The WordPress geo distributed service here is represented with two topologies depending on the database cluster replication scheme. This separation provides more flexibility for better cluster adaptation to the project:</p><ul><li>MariaDB Asynchronous (Async) <a href="https://docs.jelastic.com/auto-clustering/#mariadb">Primary / Replica</a> Distribution with required number of regions from 2 to 5. This topology is more efficient for the cases where:</li><li>read operations are significantly dominant over the write/update ones</li><li>connection latency between Regions is more than few tens of milliseconds</li><li>transaction time during replication process is not vital and may take a much more longer compared to a single cluster</li><li>database requirements must be free of Galera cluster <a href="https://mariadb.com/kb/en/mariadb-galera-cluster-known-limitations/">known limitations</a></li></ul><figure><img alt="Multi-Region WordPress Asynchronous" src="https://cdn-images-1.medium.com/max/1024/1*ymqkw4WRA8nETROO2OCVOw.png" /></figure><ul><li>MariaDB Synchronous (Sync) <a href="https://jelastic.com/blog/mariadb-galera-cluster-replication/">Galera Cluster</a> Distribution with required number of regions from 3 to 5. This topology may be considered as more suitable for the projects where:</li><li>instant data availability is required in all Regions upon transaction complete</li><li>latency between regions is very low</li></ul><figure><img alt="Multi-Region WordPress Synchronous" src="https://cdn-images-1.medium.com/max/1024/1*g18Iht2G92TMTesketfmqw.png" /></figure><p>Below we’ll consider specifics for both approaches in case 3 Regions are chosen. And now let’s walk through all of the components to get complete clarity into how and why this solution works the way it does.</p><h3>WordPress Cluster Components</h3><h3>Premium CDN</h3><p><a href="https://jelastic.com/blog/enterprise-cdn-verizon-integration/">CDN Add-On</a> that provides CDN integration to WordPress clusters. It leverages a highly interconnected global network, featuring massive bandwidth capacity, advanced caching and acceleration strategies along with <a href="https://en.wikipedia.org/wiki/HTTP/3">HTTP/3</a> support in order to provide lightning-fast WordPress static assets loading from the nearest PoP(point of presence).</p><p>This CDN network spans the globe, with 165+ Super PoPs located on 6 continents. Jelastic customers get premium traffic for the same price across all continents and countries with no surprising bills based on geographic locations.</p><h3>Let’s Encrypt SSL</h3><p>To ensure a secure connection the provided <a href="https://jelastic.com/blog/free-ssl-certificates-with-lets-encrypt/">Let’s Encrypt SSL Add-On</a> automates trusted certificates issuing procedure, including <a href="https://docs.jelastic.com/custom-domains/">custom domain</a> validation and automatic certificate renewal.</p><h3>LiteSpeed Web ADC</h3><p><a href="https://jelastic.com/blog/litespeed-web-adc-load-balancing/">LiteSpeed Web ADC</a> is an acronym of LiteSpeed Web Application Delivery Controller (LSADC) and related to a new generation of high-performance load balancing software solution.<br>It supports modern HTTP/3 protocol and flexible load balancing algorithm for optimal performance.</p><h3>LiteSpeed Web Server</h3><p><a href="https://jelastic.com/blog/litespeed-web-server/">LiteSpeed Web Server</a> is a auto scalable, high performance and low memory consumption web server enriched with a wide feature set such as HTTP/3 support and variety of matchless addons for popular hosting platforms WordPress CMS allowing even dynamic content loading faster as a result of implementing of <a href="https://blog.litespeedtech.com/2017/09/06/wpw-esi-and-litespeed-cache/">ESI cache</a>, css and javascript optimization, image optimization, browser and object cache support, CDN support, built-in WAF, Geo-DNS, CAPTCHA, IP throttling and even WordPress brute force protection.</p><h3>Redis</h3><p><a href="https://docs.jelastic.com/redis/">Redis</a> is high-performance storage used as a high speed caching solution. A WordPress object caching stores in memory the database query results that have been loaded. Then it serves them up faster the next time they are requested so the database doesn’t have to be queried again.</p><h3>Database Cluster Topology</h3><h4>Latency Evaluation</h4><p>Before considering database replication topologies, let’s get a better understanding of such an important criteria as the latency between the regions, since it affects the database scheme choice.</p><p>Latency, measured and represented as “ping”, refers to the average round trip time that it takes a package to go to the destination host, and then back to the source. It is measured in milliseconds (ms), so if ping is “20ms” then it takes approximately minimum 20 milliseconds for your database nodes to approve/apply requests from the source server. You may easily evaluate the latency:</p><p>1. Create new environments one per each <a href="https://docs.jelastic.com/environment-regions/">Region</a> you are going to use for the WordPress cluster. Use one of the VPS templates available.</p><figure><img alt="Multi-Region Latency Measurement" src="https://cdn-images-1.medium.com/max/1024/0*DylAMEG5cXagSVLM.png" /></figure><p>2. Log in to the VPS node in each Region via <a href="https://docs.jelastic.com/web-ssh-client/">WebSSH</a> and ping the others by their private addresses. For example, we have created two environments, one in France and one in the UK. The pinging shows that average latency is 4.590 ms</p><figure><img alt="Multi-Region WordPress Latency" src="https://cdn-images-1.medium.com/max/829/0*h5yjgMC8a5g_G-x-.png" /></figure><p>3. To get latency between all the Regions you should do cross-pinging among all of them.</p><p>4. In case the average result is less than or equal to 20ms we recommend using Galera Cluster as database topology and if the latency is more than 20ms use Primary/Replica distribution.</p><figure><img alt="Multi-Region WordPress Database" src="https://cdn-images-1.medium.com/max/711/0*tgocOk6nFFBeWkTT.png" /></figure><h4>Sync Galera Cluster Distribution</h4><p>As storage for dynamic content, the <a href="https://jelastic.com/blog/mariadb-galera-cluster-replication/">MariaDB Galera Cluster</a> is employed as a multi-data center (DC) topology or in other words this is a single cluster with members grouped into segments and located across distant data centres.</p><p>Due to true multi-primary topology with automatic new node provisioning Galera ensures no data loss when one of the nodes crashes, no lost transactions, and supports multi-cloud and multi-region deployments.</p><p>It has a replication scheme segmented as <strong>3 nodes</strong> in Region 1, <strong>2 nodes</strong> in Region 2 and <strong>2 nodes</strong> in Region 3. Having an odd number of cluster members the quorum is ensured all the time.</p><figure><img alt="WordPress Galera" src="https://cdn-images-1.medium.com/max/800/0*-1Q290tZKc9uGY_9.png" /></figure><h4>Async Primary/Replica Distribution</h4><p>As it was mentioned above this database topology requires minimum two destination Regions. In this case a pre-configured replication scheme with two interconnected primary databases will be created. The primary server at Region 1 will be handling the reads/writes and primary at Region 2 will be handling the reads only. When primary at Region1 goes down, another one starts accepting the writes.</p><p>If the number of Regions chosen upon installation is more than two, all other Regions will have the replica database server in each.</p><p>So, as for our example the topology comprises nodes as follows:</p><ul><li>Primary node at Region 1 serves writes (red arrows) and reads (black arrows) operations</li><li>Primary node at Region 2 by default serves reads operations but starts handling writes if initial primary database becomes unavailable</li><li>Replica node at Region 3 is used for reads operations only</li></ul><figure><img alt="Multi-Region WordPress Primary-Secondary" src="https://cdn-images-1.medium.com/max/800/0*lcc8jbEbAJ74JUdG.png" /></figure><h3>GlusterFS Cluster Shared Storage</h3><p>A <a href="https://docs.jelastic.com/shared-storage-container/#shared-storage-auto-cluster">shared storage auto-cluster</a> is used to keep static assets in each Region. This is a redundant clustered storage array, also known as a distributed file system or, as the GlusterFS documentation mentions, a <a href="https://docs.gluster.org/en/v3/Administrator%20Guide/Storage%20Pools/">trusted storage pool</a>. It provides functionality similar to RAID 1 configuration over the network: where each independent server contains its own copy of the data, allowing WordPress to access any of these copies, thereby helping to balance the read load.</p><p>Thus, every Region comprises the GlusterFS cluster which consists of three nodes and acts like a NAS server with a mirrored RAID array inside.</p><figure><img alt="Multi-Region WordPress GlusterFS" src="https://cdn-images-1.medium.com/max/800/0*Hhvci3lkvKaTAxYR.png" /></figure><p>To ensure data synchronization between regions the GlusterFS native <a href="https://docs.gluster.org/en/latest/Administrator-Guide/Geo-Replication/">Geo-Replication feature</a> is used. It’s built by the Primary-Replica model (formerly known as Master-Slave) where one GlusterFS cluster serves as Primary and accepts the writes. Then it replicates data to the Replicas. With respect to the front-end the Replicas serve the reads operations only.</p><figure><img alt="Multi-Region WordPress Storage" src="https://cdn-images-1.medium.com/max/1000/0*DS-eZhhewlj7qRcG.png" /></figure><p>Due to platform networking architecture, all available Regions are transparently interconnected at the environment level like they are in the same LAN. So, the GlusterFS Geo-Replication over Local Area Network Deployment Scenario is implemented.</p><h3>Multi-Region WordPress Cluster Installation</h3><p>Using Jelastic <a href="https://docs.cloudscripting.com/">Cloud Scripting</a> functionality, we’ve automated the following actions within the offered package:</p><ul><li>Configure application servers and their scaling</li><li>Set up load balancing for traffic distribution</li><li>Clusterize databases, tune replication and connection</li><li>Configure scalable network filesystem storage and cache server</li><li>Deploy and configure WordPress application</li><li>Add SSL certificate</li><li>Enable add-ons for domain binding, CDN, file synchronization, etc.</li><li>Control and perform updates of the servers</li><li>Cluster overload prevention</li><li>Custom domain binding</li><li>Enable WordPress multisite network mode</li></ul><p>Let’s take a walk via the installation steps.</p><h3>Multi-Region WordPress Deploy</h3><p>Open the <a href="https://docs.jelastic.com/marketplace/">Jelastic Marketplace</a> directly at the dashboard, find Multi-Region WordPress Cluster.</p><figure><img alt="Multi-Region WordPress Install" src="https://cdn-images-1.medium.com/max/1024/0*4kxuPtP1sERqO6_E.png" /></figure><p>Choose the destination <strong>Regions</strong>. According to the multiregional functionality, WordPress can be spread across several Regions to achieve a maximum high availability and outstanding failover, even in case of the data centre failure.</p><figure><img alt="Multi-Region WordPress Regions" src="https://cdn-images-1.medium.com/max/711/0*twEwLSQrwyxk2Q0_.png" /></figure><h3>Horizontal Auto Scaling Strategy</h3><p>Pick the <strong>Low Load</strong>, <strong>Medium Load</strong> or <strong>High Load</strong> value to define an Automatic Horizontal <strong>Scaling Strategy</strong>.</p><figure><img alt="Multi-Region WordPress Scaling" src="https://cdn-images-1.medium.com/max/711/0*zRs1KSCmMObt76yF.png" /></figure><p>The <em>Scaling Strategy </em>feature aims to foresee possible upcoming growth of cluster workload and <a href="https://docs.jelastic.com/automatic-horizontal-scaling/">scale in/out horizontally</a> with specially designed <a href="https://docs.jelastic.com/automatic-horizontal-scaling/#configure-triggers">triggers</a> in order to prevent WordPress application downtime. Based on our experience, we chose three scaling scenarios for application servers to prevent overload if any:</p><p>Scaling Load Growth=<strong>Low Load</strong>:</p><ul><li>adds <strong>1</strong> application server node if the workload is higher than <strong>70%</strong></li><li>removes <strong>1</strong> application server node if the workload goes below <strong>20%</strong></li></ul><figure><img alt="Multi-Region WordPress Low Load" src="https://cdn-images-1.medium.com/max/1024/0*4qRDvkg--ZpVxY3k.png" /></figure><p>Scaling Load Growth=<strong>Medium Load</strong>:</p><ul><li>adds <strong>1</strong> application server node if the workload is higher than <strong>50%</strong></li><li>removes <strong>1</strong> application server node if the workload goes below <strong>20%</strong></li></ul><figure><img alt="Multi-Region WordPress Medium Load" src="https://cdn-images-1.medium.com/max/1024/0*v_ULBfMLIqRPTmHz.png" /></figure><p>Scaling Load Growth=<strong>High Load</strong>:</p><ul><li>adds <strong>2</strong> application server node if the workload is higher than <strong>30%</strong></li><li>removes <strong>1</strong> application server node if the workload goes below <strong>10%</strong></li></ul><figure><img alt="Multi-Region WordPress High Load" src="https://cdn-images-1.medium.com/max/1024/0*4RGGOA1K0GjYSymu.png" /></figure><h3>Advanced Features Out-of-Box</h3><p>Choose the <strong>Advanced Features</strong> required for the web site:</p><figure><img alt="Multi-Region WordPress Features" src="https://cdn-images-1.medium.com/max/713/0*Sg1r9D7aAdFKMHyw.png" /></figure><ul><li><strong>WordPress Brute Force Attack Protection</strong> protects WordPress applications from large-scale brute force attacks, which have the potential to bring down entire servers, trying to gain access to a website by repeatedly attempting to guess a valid username and password.</li><li><strong>The Web Application Firewall(WAF)</strong> secure feature will be enabled by default in case the LSADC will be installed. WAF comes with Layer-7 Anti-DDoS Filtering as well as IP level bandwidth and request rate throttling. It won’t degrade the LSADC performance since it can be tuned to withstand dynamic requests only.</li><li><strong>Install Let’s Encrypt SSL with Auto-Renewal</strong> add-on allows you to issue and use a trusted certificate for a custom domain for free. Add-on’s built-in functionality employs automatic periodical certificate renewal in order to prevent certificate expiration. User is informed about add-on actions by email.</li><li><strong>Install Lightning-Fast Premium CDN with 160+ PoPs</strong>. This <a href="https://jelastic.com/blog/enterprise-cdn-verizon-integration/">add-on</a> integrates <a href="https://www.verizondigitalmedia.com/media-platform/delivery/network/">Verizon Edgecast CDN</a> into WordPress application.</li><li><strong>Install WordPress Multisite Network.</strong> This option activates a multisite built-in feature to create and run multiple websites using the same WordPress installation and manage them via a single dashboard. Learn more how to set up and configure <a href="https://jelastic.com/blog/wordpress-multisite-network/">WordPress Multisite Network in Jelastic PaaS</a>.</li></ul><p><strong>Note:</strong> Take into account the web-site increased performance costs money:</p><ul><li>With CDN add-on installed, you are charged for traffic</li><li>LSWS web server is licensed and charged hourly if the resource limit for container is above 16 <a href="https://docs.jelastic.com/cloudlet/">cloudlets</a></li><li>Billing for usage of LSADC is based on the amount of traffic passed through, but not more than 65$ per month according to the developer’s license</li></ul><h3>Cluster Installation Notification</h3><p>After choosing all required options, just click Install button and wait a few minutes for the cluster to be created. Afterwards, the successful installation window appears and contains WordPress application URLs and credentials to access the admin panel.</p><figure><img alt="Multi-Region WordPress Credentials" src="https://cdn-images-1.medium.com/max/472/0*2iCGuwMseEGBWSIE.png" /></figure><p>A corresponding email will be sent to your mailbox with all necessary information to manage the software stacks and WordPress CMS itself.</p><p>Keep in mind that after domain change the <em>Admin Panel URL</em> will be updated as well.</p><h3>Custom Domain Binding</h3><p>A final step to get the website ready for production is to come up with a custom domain (for example <strong>multiregion.jele.website</strong>) and bind it to all subclusters.</p><p>1. To do this create an <a href="https://docs.jelastic.com/custom-domains/#how-to-configure-dns-record">A record</a> using a public IP address provisioned for each subcluster’s load balancer at your domain registrar.</p><figure><img alt="Multi-Region WordPress PublicIP" src="https://cdn-images-1.medium.com/max/880/0*xK6LSFs1UETggiw4.png" /></figure><p>For our example we create three records at <a href="https://www.cloudflare.com/">CloudFlare</a>.</p><figure><img alt="WordPress Domain Registration" src="https://cdn-images-1.medium.com/max/1024/0*J-TBeN5lbG_mKI3P.png" /></figure><p>2. Open Load Balancer <strong>Add-Ons</strong> on WordPress Cluster Primary environment and press <strong>Configure</strong> button on Let’s Encrypt Free SSL add-on.</p><figure><img alt="Multi-Region WordPress SSL" src="https://cdn-images-1.medium.com/max/1024/0*pVp8M407flTTFUCH.png" /></figure><p>3. Replace domain name generated by platform with custom one and press <strong>Apply</strong> to issue valid SSL certificate for it.</p><figure><img alt="Multi-Region WordPress Custom Domain" src="https://cdn-images-1.medium.com/max/660/0*u1TWlmteWEyB_Xwf.png" /></figure><p>4. Finally, it is required to apply a new domain name to the <strong>WordPress Site Address URL</strong> setting using the add-on with the same name.</p><figure><img alt="WordPress Site URL" src="https://cdn-images-1.medium.com/max/450/0*IXbiM6UUV78qekpR.png" /></figure><figure><img alt="Multi-Region WordPress Site URL" src="https://cdn-images-1.medium.com/max/659/0*CI6nxb9ThOAtTPjS.png" /></figure><p>From now on you should use the custom domain accessing WordPress web site and admin panel.</p><h3>DNS Load Balancing</h3><p>The geo distributed cluster requires traffic load balancing between subclusters. By default it is ensured via the <a href="https://jelastic.com/blog/high-availability-with-dns-round-robin-load-balancing-across-multiple-data-centers/">DNS Round-Robin</a> algorithm. But such a solution can be improved with:</p><ul><li>endpoints health checks</li><li>smart routing based on clients geographic location</li><li>latency evaluation to the endpoint</li></ul><p>In case the CloudFlare Registration was chosen, you may go further and set up a DNS Load balancer at CloudFlare with smart <strong>Traffic Steering</strong> options. To do this create an <strong>Origin Pool</strong> for each subcluster and respective <strong>Monitors</strong> to perform health checking of the pools.</p><p>This option allows to define the load balancing algorithm based on current subscription. For example with the base $5 subscription plan you may use:</p><ul><li>standard failover algorithm marked as <strong>Off</strong>, which routes traffic from unhealthy pool to the next healthy one</li><li><strong>Random</strong>: traffic is routed to a healthy pool at random</li></ul><figure><img alt="Multi-Region WordPress Load Balancing" src="https://cdn-images-1.medium.com/max/946/0*6XhrxKO48OBALCMB.png" /></figure><p>For the enterprise level subscription the other options are available:</p><ul><li><strong>Dynamic steering</strong> — identifies the fastest pools, and directs user requests to the most responsive origins leveraging round trip time(latency) analysis.</li><li><strong>Geo steering</strong> — routes traffic to the pools based on the client’s Region or point of presence. Users specify the pools to which the load balancer should direct traffic for a given geographical Region or point of presence. Several pools can be specified to the same Region, and the balancer will use them in failover order.</li></ul><p>Enterprise-level DNS load balancing can help significantly improve a site’s search engine rankings. Get more details on how to set it up at CloudFlare in our tutorial: <a href="https://jelastic.com/blog/dns-load-balancing-wordpress-cluster/">DNS Load Balancing for Highly Available Enterprise WordPress Cluster</a>. Alternatively to the proposed load balancing solution at CloudFlare you may implement your own one.</p><p>Congratulations! Now you have fully-functional production clusters of WordPress distributed across several cloud regions for enterprise availability and uptime. Check this functionality at one of <a href="https://jelastic.cloud/?regions=multiregion&amp;featuresSupport=WP2">Jelastic service providers</a> with several data centers and proven performance of WordPress hosting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40c3eed518d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automatic WildFly Clustering in Managed Domain Mode and Scaling inside Containers]]></title>
            <link>https://jelastic.medium.com/automatic-wildfly-clustering-in-managed-domain-mode-and-scaling-inside-containers-ae5771bbb039?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae5771bbb039</guid>
            <category><![CDATA[wildfly]]></category>
            <category><![CDATA[domains]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[clustering]]></category>
            <category><![CDATA[scaling]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Tue, 29 Jun 2021 06:20:45 GMT</pubDate>
            <atom:updated>2021-06-29T06:20:45.405Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TNXgBicVS4cPatuHKiUgvA.png" /></figure><p>Nowadays it’s easy to get up and running WildFly standalone server in a container. But what if you need to enable clustering in Managed Domain mode which is one of the key features of <a href="https://jakarta.ee/">Jakarta EE</a> in general. That is not so easy task. Some people claim it’s nearly impossible in the cloud-native world, because Jakarta EE clustering was designed before the containers era. The old question at the official <a href="https://developer.jboss.org/thread/249340">developers portal</a> is still not answered with any adequate instruction that just proves the presence of the issue.</p><p>As a result, developers go with standalone nodes as the only available production-ready option in containers integrating clustering and management features from the 3rd party solutions. Or they just keep running applications in VMs facing complexity that makes migration nearly impossible.</p><p>But what developers should do if they are looking for a solution to migrate from VMs to containers already existing and nicely working Jakarta EE clusters in managed domain mode?</p><p>Till this time there were very few examples (e.g. for <a href="https://jelastic.com/blog/glassfish-payara-auto-clustering-cloud-hosting/?utm_source=blog-wildfly-managed-domain">GlassFish</a> and <a href="https://jelastic.com/blog/migration-from-vms-to-containers/?utm_source=blog-wildfly-managed-domain">WebLogic</a>) how to run and scale Java application servers in managed domain mode within containers correctly. In most cases, lack of knowledge or even the absence of a working solution for the domain mode in containers leads to the loss of integrated Jakarta EE clustering features that just become obsolete.</p><p>But managed domain mode is still awesome! A vast portion of mission-critical and large-scale applications such as banking and billing are still running on Jakarta EE in VMs. Integrated <a href="https://jakartablogs.ee/">Jakarta EE</a> clustering provides functionality that people are interested in, including high-availability and automated deployment among distributed Java application servers regardless of underlying infrastructure, and, of course, Admin Panel to manage your cluster using a nice UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/0*bAHcSaAnPIblXcWA.png" /></figure><p>To get familiar with benefits of natively integrated clustering technology please refer to a good article “<a href="https://www.theserverside.com/news/1364410/Under-the-Hood-of-J2EE-Clustering">Under the Hood of J2EE Clustering</a>”. Merging this rich functionality with ready-to-go containers provides a huge benefit by saving time and efforts of the team, and enables fast iterations as the majority of developers do not deal with containers or VMs if environment setup is fully automated.</p><h3>When, What and Why Managed Domain Mode?</h3><p>Every WildFly standalone server has its own admin console and is managed independently. At the same time, WildFly multiple instances running in the domain mode share the same management interface called domain controller. So you can issue commands and deploy applications to all running WildFly servers from one place. The official documentation suggests considering the domain mode for:</p><ul><li>Multi-server production environments with the ability to use centralized management capabilities that a managed domain provides.</li><li>For advanced development scenarios, i.e. those involving interaction between multiple WildFly instances.</li></ul><p>We can easily run one big service or several small interrelated services per cluster running in managed domain mode. Deployment to such cluster is automated so applications running in VMs can be <a href="https://searchcloudcomputing.techtarget.com/feature/When-to-adopt-the-lift-and-shift-cloud-migration-model">lifted and shifted to containers without re-architecturing</a>. It provides a very convenient way for replicating on-premise applications in the cloud while avoiding costly and time-consuming re-design. As a result, the legacy applications can benefit from cost-efficiency of cloud-native features such as elastic compute and auto-scaling.</p><h3>Complexity of Managed Domain Topology</h3><p>Let’s have a look at the topology of WildFly cluster in managed domain mode, which is illustrated in the <a href="https://docs.jboss.org/author/index.html">official documentation</a>. The illustration below provides a sense of the complexity of managed domain architecture. This scheme is considered as a classical Jakarta EE topology in VMs, or so-called “legacy dragon” which should be tamed and decomposed properly into containers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/0*e6JWV57eqoYHbuGW.png" /></figure><p>We adjusted this illustration for a little bit better view of the topology, as well as to show additional “hidden” Java processes inside each VM or bare metal host. This will help us during the further decomposition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/0*pu-3LIaDTx1DNCdK.png" /></figure><ul><li><strong>Worker Server</strong> is a JVM process where the enterprise Jakarta EE applications are deployed and handle requests.</li><li><strong>Host Controller</strong> is a JVM process that is responsible for configuring Worker Servers, and synchronization between the Servers and Domain Controller.</li><li><strong>Process Controller</strong> is a JVM process that is responsible for a lifecycle (start/stop/restart) of Worker Servers. It is absent in the original scheme but it is important to take into account while decomposition.</li><li><strong>Domain Controller</strong> is a type of Host Controller that is designated to act as master admin server (or orchestrator) at the cluster running in managed domain mode and provides a single pane for managing distributed Worker Servers.</li></ul><h3>Running Multiple Processes in an Application Container</h3><p>As we can see from the illustration above, the VM1 contains 2 Java processes inside: Process Controller and Domain Controller. And every other VM contains at least 3 Java processes (or more, depending on how many server instances you want to run inside every host): Process Controller, Host Controllers and Worker Server(s).</p><p>That’s not easy to run it in containers. Such topology conflicts with the anti-pattern in the application containers world. The <a href="https://docs.docker.com/config/containers/multi-service_container/">official Docker documentation</a> warns us about running multiple Java processes inside the same container:</p><p><em>“It’s ok to have multiple processes, but to get the most benefit out of Docker, avoid one container being responsible for multiple aspects of your overall application.”</em></p><p>So users feel confused when they get the message to perform this “seems-unreliable” action. Previous bad experience led to loss of trust and it is rather reasonable.</p><h3>Running Multiple Processes in a System Container</h3><p>However, the situation is not so bad. If configured properly, the domain mode works perfectly inside <a href="https://www.excella.com/insights/application-vs-system-containers">system containers</a>. They can handle as many processes as required inside one container. This kind of containers drastically simplifies migration from heavy VMs to a much lightweight virtualization. And there are two well-known options on the market <a href="https://linuxcontainers.org/lxd/">LXD</a> and <a href="https://openvz.org/">OpenVZ</a>. Moreover, system containers and application containers are complementary, the combination of both provides <a href="https://linux.softpedia.com/blog/infographic-lxd-machine-containers-from-ubuntu-linux-492602.shtml">VM characteristics for dockerized applications</a>.</p><p>Jelastic PaaS implemented support of system containers at early days of 2011 and can confirm that many customers are happy with running multiple processes inside the same container in production when it’s required.</p><p>Moreover, system containers provide a better resource and security isolation compared to the application containers, so cloud providers can safely host applications of different projects on the same infrastructure reducing the cost of ownership and complexity of management. As a side effect, system containers are starting up a little bit slower compared to the application containers, but they are still much slimmer and faster than VMs.</p><h3>Decomposition and Building Modified Topology</h3><p>We are ready to start our decomposition journey. The first rule is in the spirit of microservices — it is always better to put only one Worker Server per one container. Also, we create only one server group per domain for all containers inside the cluster. Such simple adjustments will give tremendous and desired flexibility for scaling each Worker Server vertically, gaining <a href="https://jelastic.com/blog/stop-overpaying-for-java-cloud-hosting-resources/?utm_source=blog-wildfly-managed-domain">resource usage efficiency</a>, and scaling the group of containers horizontally by adding new instances on demand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/0*gogb8MRKypOLUkTJ.png" /></figure><p>Please note that each container for handling incoming requests runs 3 Java processes: Worker Server (WS), Host Controller (HC) and Process Controller (PC). And admin container that manages the cluster runs 2 Java processes: Domain Controller (DC) and Process Controller (PC).</p><h3>WildFly Managed Domain in Jelastic</h3><p>In order to facilitate the migration of legacy Jakarta EE applications from VMs to containers, we created a special embedded <a href="https://docs.jelastic.com/auto-clustering/">Auto-Clustering</a> mode for WildFly that can be enabled for new instances.</p><p>The main advantage of this solution is an automatic interconnection of multiple application servers upon the environment topology change, which implements the commonly used clustering configuration in managed domain mode.</p><p>Below you’ll see how standalone WildFly transforms into the cluster by means of Auto-Clustering feature and a simple <a href="https://docs.jelastic.com/automatic-horizontal-scaling/?utm_source=blog-wildfly-managed-domain">horizontal scaling</a> with no manual configurations required. Also, we’ll describe infrastructure topology specifics and the way to get the appropriate development and production environments up and running inside Jelastic PaaS.</p><h3>Create Standalone WildFly</h3><p>With Jelastic, the required topology can be built using a convenient wizard:</p><p>1. Create a new environment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*v1pYjlYCG9FKHeGT.png" /></figure><ul><li>Choose a proper version of WildFly</li><li>Set up vertical scaling limits</li><li>Change the name of environment if needed (e.g. <strong>wildfly</strong>)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EBFmEGgURdtwSWB3.png" /></figure><p>You will receive an email confirmation of environment creation with the credentials to the Admin Panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/0*O4Gh-uPzOYDl3rar.png" /></figure><p>2. Now, you are ready to deploy the application to the just provisioned standalone server.</p><p>In the Deployment manager, click <strong>Deploy to… </strong>button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GwIqRTVp52_ENVJz.png" /></figure><p>Specify the <strong>Context</strong> as required or just leave default ROOT value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/0*IN-EOJSSukQbEa_g.png" /></figure><p>Make sure that your application is up and running, pressing <strong>Open in browser</strong> near the created environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/0*A7NtS3dG7fFB3X9t.png" /></figure><p>If you log in to your container via built-in <a href="https://docs.jelastic.com/web-ssh-client/?utm_source=blog-wildfly-managed-domain">Web SSH client</a>, you’ll see only one running process of <strong>Standalone</strong> server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/0*9yvEldHl-QvP6K_3.png" /></figure><h3>Get Clustered WildFly with Managed Domain Mode</h3><p>WildFly clustering with domain mode is configured automatically by means of Auto-Clustering feature. Once it was enabled the servers can be scaled manually or automatically.</p><ul><li><strong>Manually</strong></li></ul><p>Add new servers via wizard while creating the environment or by <a href="https://docs.jelastic.com/dashboard-guide/?utm_source=blog-wildfly-managed-domain">changing its topology</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/0*k9cmNHEQUcqZpyEp.png" /></figure><p>Just refer to the application server layer within the left-side environment panel, enable Auto-Clustering mode and add <strong>(+) </strong>nodes within the <a href="https://docs.jelastic.com/horizontal-scaling/?utm_source=blog-wildfly-managed-domain">Horizontal Scaling</a> frame.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MIkokvzZ2i4EUWKi.png" /></figure><ul><li><strong>Automatically</strong></li></ul><p>The number of servers can be changed automatically by setting up <a href="https://docs.jelastic.com/automatic-horizontal-scaling/?utm_source=blog-wildfly-managed-domain">scaling triggers</a> based on the resource consumption within <strong>Settings &gt; Auto Horizontal Scaling</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m4CJUJke6LT2K45M.png" /></figure><p><strong>Note</strong>:</p><ul><li>during the initial transformation from standalone to domain mode, your application will be down for about 1 minute</li><li>all the further scaling changes happen with no downtime</li><li>if you enable Auto-Clustering and start from 2 instances at once, the domain mode will be created from the beginning, so no downtime will happen during the scaling</li></ul><p>Afterwards, as the scaling is completed (manual or automatic), all WildFly instances will join the cluster, working in operation mode of WildFly Managed Domain. Domain Controller and Load Balancer are added automatically as required components of the cluster.</p><p>Upon this scaling, the previously deployed application is also automatically redeployed to the rest of WildFly instances of the cluster. Also, database connection pool configurations and other config customizations, previously made via WildFly admin console, are replicated across the whole application server layer.</p><p>You can check how WildFly topology is changed from standalone mode to managed domain cluster:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/0*aU6yINdSx2uNx3pM.png" /></figure><p>Worker Nodes run 3 processes instead of one as it was in standalone mode:</p><ul><li>Server:worker</li><li>Process Controller</li><li>Host Controller</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4xlgotzK_yfbp4Ty.png" /></figure><p>And Domain Controller node has two processes running:</p><ul><li>Process Controller</li><li>Host Controller</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OF4wUEDisIbEVp-W.png" /></figure><p>Also, the topology changes are synchronized and shown within WildFly Admin Panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TB3m34LQRMm--Q-M.png" /></figure><p>In this way you get a ready-to-use WildFly cluster that can be scaled out and in, making hosting of your applications extremely flexible and cost-effective.</p><h3>Application Availability among Workers</h3><p>The application deployed to the standalone server is redeployed to all server instances during transformation to the cluster. To check this you can click <strong>Open in browser</strong> at each Worker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/0*IPwJ-OTnPCOEqqS3.png" /></figure><p>Also, you can make sure that the cluster provides high availability. For this, press <strong>Restart node</strong> button for one or even two nodes and try to access your application via <strong>Open in browser</strong> for the whole cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/0*NYtOw1dvXo29Kawt.png" /></figure><p>The application will be up and running without any interruptions.</p><h3>Cloning Cluster in Domain Mode</h3><p>When releasing new application version or just applying some essential adjustments, it’s a good practice to check how the newly implemented changes could affect the service work. The Jelastic PaaS allows you to accomplish such testing ‘on-fly’ (i.e. without service downtime and implicitly for your customers) with the <strong>Clone Environment</strong> option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/0*P6oMTQdPpkOUME0E.png" /></figure><p>A cloned environment is a ready-to-work cluster copy with all the required modifications already applied. The newly provisioned Domain Controller node operates with the appropriate cloned Workers, which are already listed within its admin panel. And the application from the original environment is deployed to the cloned one. Thus, the only thing that remains is to recheck your application’s code and custom server configurations for the hardcoded IPs/domains and fix them accordingly (if there are any issues).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/0*6QgPKEgoroXovC-K.png" /></figure><p>This way, you can apply the implied changes to your environment copy without affecting the actual production. To increase the high availability of the system, Jelastic uses <strong>several synchronized Load-Balancers</strong>, placed at different nodes, for handling requests simultaneously. All of them work with a single data storage, which makes them fully interchangeable in case of any issue occurs at one of the instances.</p><h3>Summary</h3><p>This instruction proves that there is no need to rebuild the whole application architecture in order to gain the required outcome from both managed domain mode and container technology. Migration of legacy projects from VMs to micro clusters with system containers is not that painful at all. It brings a “rich taste” of flexibility and efficiency for increasing competitive advantage. Just give it a try! Create your own cluster with <a href="https://jelastic.cloud/?utm_source=blog-wildfly-managed-domain">Jelastic PaaS</a> at one of the decentralized service providers worldwide.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae5771bbb039" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DNS Load Balancing for Highly Available Enterprise WordPress Cluster]]></title>
            <link>https://jelastic.medium.com/dns-load-balancing-for-highly-available-enterprise-wordpress-cluster-c19905811db2?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/c19905811db2</guid>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[balancer]]></category>
            <category><![CDATA[load-balancing]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Thu, 24 Jun 2021 08:36:03 GMT</pubDate>
            <atom:updated>2021-06-24T08:36:03.539Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="DNS Load Balancing for Highly Available Enterprise WordPress Cluster" src="https://cdn-images-1.medium.com/max/1024/1*EQk7_KtMoaF2c1R7MCqB8A.png" /></figure><p>DNS Load Balancing for Highly Available Enterprise WordPress Cluster</p><figure><img alt="DNS Load Balancing for WordPress" src="https://cdn-images-1.medium.com/max/404/0*bu4s4QPqD44wDZms.png" /></figure><p>Scalability, high availability, and performance are fundamental to the success of a commercial product deployment. And if the workload includes multiple entry points for requests, it is important to properly set up smooth load balancing in order to achieve the required uptime and speed. One of the solutions in this case is to use a DNS service with origin servers health checks. It eliminates a single point of failure and the entire load balancing algorithm continues to operate even if any endpoints crash, since it automatically routes requests to available ones only.</p><p>In this article, we will describe how to set up a <a href="https://www.cloudflare.com/">Cloudflare</a> DNS load balancer to distribute the workload for enterprise-level WordPress cluster with two or more entry points using a health checks mechanism. The same approach can be used for geo-distributed clusters that will be covered in our upcoming publications.</p><figure><img alt="DNS Load Balancing WordPress Cluster" src="https://cdn-images-1.medium.com/max/500/0*uPDn_CNX0R8XxgCq.png" /></figure><h3>WordPress Cluster Custom Domain Setup</h3><p>Let’s consider that you have a <a href="https://jelastic.com/blog/highly-available-wordpress-hosting/">WordPress application with clusterization of all stack layers</a>. It means that the cluster has two <a href="https://jelastic.com/blog/litespeed-web-adc-load-balancing/">LiteSpeed Web ADC</a> (load balancers) which serve as the entry points (origins or endpoints).</p><p>Initially an <a href="https://docs.jelastic.com/custom-domains/#how-to-configure-dns-record">A record</a> for each endpoint should be created at the domain registrar pointing to a <a href="https://docs.jelastic.com/custom-domains/#how-to-configure-dns-record">custom domain name</a>, for example <strong>wordpress-enterprise.jele.website</strong>.</p><figure><img alt="DNS Load Balancing custom domain" src="https://cdn-images-1.medium.com/max/1024/0*B9BkC5cgxuGG-vQd.png" /></figure><p><strong>Note:</strong> If you are going to scale load balancers horizontally, register each newly provisioned public IP address under the same custom domain name as one more A record.</p><h3>Issue SSL Certificate</h3><p>Bind the custom domain to the environment and issue SSL certificate with help of <a href="https://jelastic.com/blog/free-ssl-certificates-with-lets-encrypt/">Let’s Encrypt Free SSL Add-On</a> for the entry points.</p><figure><img alt="DNS Load Balancing let’s encrypt" src="https://cdn-images-1.medium.com/max/764/0*WA0hsog_CDwCFEw7.png" /></figure><p>Replace platform-generated domain name with custom one and click <strong>Apply</strong>.</p><figure><img alt="DNS Load Balancing ssl certificate" src="https://cdn-images-1.medium.com/max/765/0*sT59UGH04KmNosgJ.png" /></figure><p>In order to replace an old domain name with a custom one in all URLs on your website use the add-on <strong>WordPress Site Address (URL)</strong>.</p><figure><img alt="DNS Load Balancing wordpress site url" src="https://cdn-images-1.medium.com/max/465/0*WduP1lk22HNqbirW.png" /></figure><p>Press <strong>Site URL</strong> button and provide URL with custom domain name.</p><figure><img alt="DNS Load Balancing wordpress custom domain" src="https://cdn-images-1.medium.com/max/661/0*Yo8IAXjyFBo_yskI.png" /></figure><p>At this point your site is served via DNS Round-Robin algorithm. If you try to resolve the domain name, every time you’ll get all addresses you have registered for it, even the unreachable ones.</p><figure><img alt="dns round-robin" src="https://cdn-images-1.medium.com/max/737/0*c3D4KHkjIyDyFzXZ.png" /></figure><h3>DNS Load Balancing Setup</h3><p>Let’s go further and set up a DNS Load Balancer entity for the website with endpoint health checks.</p><p>In the Cloudflare dashboard open the <strong>Traffic&gt;Load Balancing&gt;Create Load balancer</strong>. Then type the custom domain you have created the A records for. Make sure that traffic proxying is disabled to go through Cloudflare, since we are going to balance DNS requests only.</p><figure><img alt="wp-image-41493 lazyloaded" src="https://cdn-images-1.medium.com/max/1024/0*dTTmtCCO2ZRNdfLH.png" /></figure><h3>Origin Pools</h3><p>The next step is to create origin pools. Since there are two A records were created, we will create two pools specifying one load balancer in each as origin. You may follow Cloudflare documentation or just specify the <strong>Pool Name</strong>, <strong>Origin Name</strong> as arbitrary values. Use the public IP address of one of the load balancers as <strong>Origin Address</strong> and since the load balancers are equal, set up the <strong>Weight</strong> as 1. Scroll down and specify the <strong>Notification E-mail</strong> where you prefer to obtain the health check notifications. Press the <strong>Save</strong> button. For example:</p><figure><img alt="DNS Load Balancing origin pool" src="https://cdn-images-1.medium.com/max/749/0*XGOerYYbF3xLvBHD.png" /></figure><p>Do the same with different names for the second pool using the IP address of the second load balancer as origin. After that specify a monitor to carry out the health checks for each origin.</p><figure><img alt="DNS Load Balancer" src="https://cdn-images-1.medium.com/max/1024/0*5AVI452qwP7iymA4.png" /></figure><p>So, click on <strong>Attach monitor&gt;+Create a Monitor</strong>.</p><figure><img alt="DNS Load Balancer Monitor" src="https://cdn-images-1.medium.com/max/1024/0*RraTioZGLwR2PRoj.png" /></figure><h3>Health Check Monitor</h3><p>New monitor requires to specify parameters to be used for the health checks. Some of them are dependent on your subscription and cost extra. For example the health check interval is 60 seconds by default. In case you want to make it shorter and set up to 15 seconds you will be charged an additional 15 USD.</p><p>So, you may follow Cloudflare monitor tutorial or as for our example just specify monitor parameters as follows:</p><figure><img alt="DNS Load Balancing health check" src="https://cdn-images-1.medium.com/max/702/0*MUFJ8N3Ua5toio7g.png" /></figure><p>Right after you save the changes it is necessary to attach the monitor to the origin pool.</p><figure><img alt="DNS Load Balancing attach monitor" src="https://cdn-images-1.medium.com/max/915/0*fBSVLkQD_lpE4Im7.png" /></figure><p>Once the monitor is attached the health check starts working and displays the state of origin in real time. Attach the same monitor to the second origin.</p><figure><img alt="DNS Load Balancing real time check" src="https://cdn-images-1.medium.com/max/1024/0*ZTH26E4Px6PG3n1u.png" /></figure><h3>Health Check Notification</h3><p>The monitoring is complemented with an email notification which you can specify creating the pool or attaching monitor to that pool.</p><figure><img alt="DNS Load Balancing health check notification" src="https://cdn-images-1.medium.com/max/1024/0*Gc4sfHQQaWIGoElX.png" /></figure><p>Make sure that both entry points are healthy and go further.</p><figure><img alt="DNS Load Balancing health check status" src="https://cdn-images-1.medium.com/max/1024/0*RjN-xPVLoFoZ6nfr.png" /></figure><h3>Traffic Steering</h3><p>The next step is <strong>Traffic Steering</strong>. This option allows to define the load balancing algorithm based on current subscription. For example for the base 5 USD subscription plan you may use only:</p><ul><li>standard failover algorithm marked as <strong>Off</strong>, which routes traffic from unhealthy pool to the next healthy one</li><li><strong>Random</strong>: Route to a healthy pool at random</li></ul><figure><img alt="DNS Load Balancing traffic steering" src="https://cdn-images-1.medium.com/max/946/0*938VdI4JaNrPPfcR.png" /></figure><p>In case you are subscribed for enterprise level subscriptions the other options will be available:</p><ul><li><strong>Dynamic steering</strong> — uses health check results to identify the fastest pool for a given Cloudflare Region or point of presence</li><li><strong>Geo steering</strong> — routes traffic to the pools based on the client’s region or point of presence. Users specify the pools to which the load balancer should direct traffic for a given geographical region or point of presence. Several pools can be specified to the same region, and the balancer will use them in failover order</li></ul><p>Within the current example we use the standard failover because we don’t use a geo-distributed cluster and both origins are in the same region, so just leave it unchanged. Finally press <strong>Save and Deploy</strong>.</p><figure><img alt="DNS Load Balancing review" src="https://cdn-images-1.medium.com/max/941/0*kLwAS6GUAZzSyug3.png" /></figure><h3>DNS Load Balancing Testing</h3><p>Definitely it is necessary to make sure that DNS load balancing works properly depending on endpoints state. To do this, issue the commands as follows on one of load balancer nodes via <a href="https://docs.jelastic.com/web-ssh-client/">Web SSH</a>(see picture below):</p><p>1. Check which endpoint IP address is returned by resolving the custom domain:</p><p><strong><em>dig wordpress-enterprise.jele.website +short</em></strong></p><p>2. Stop load balancer service in one of the containers to imitate server failure:</p><p><strong><em>sudo jem service stop</em></strong></p><p>3. Wait 60 seconds to make sure the health check interval is expired and try to resolve the custom domain name once again. And it goes without saying you have to check the application workability in a web browser.</p><figure><img alt="DNS Load Balancing testing" src="https://cdn-images-1.medium.com/max/782/0*YQ4EahVwPllF0nW1.png" /></figure><p>As you can see the IP address of the healthy endpoint is returned only. And respectively you may observe the cluster origins state in the Cloudflare dashboard.</p><figure><img alt="Cloudflare DNS Load Balancing testing" src="https://cdn-images-1.medium.com/max/1024/0*cAOCZyXkmtEcK1df.png" /></figure><p>A corresponding email will be sent to your mailbox with notification regarding the connection failure to one of the entry points.</p><figure><img alt="DNS Load Balancing connection failure" src="https://cdn-images-1.medium.com/max/768/0*3TaRcFg66x1vaC-u.png" /></figure><p>Don’t forget to get the origin back into operation and check the health state after one minute.</p><figure><img alt="DNS Load Balancing active state" src="https://cdn-images-1.medium.com/max/667/0*qjMW117ip523FSIn.png" /></figure><p>The respective email will notify you with happy email that cluster failed origin is reachable and healthy.</p><figure><img alt="DNS Load Balancing healthy origin" src="https://cdn-images-1.medium.com/max/1024/0*WRdxwJ9-fzgjw3ED.png" /></figure><h3>DNS Load Balancing Tuning</h3><p>If necessary you may change the additional load balancer features such as:<br><strong>Origin Servers</strong> — number of origin servers<br><strong>Faster Checks</strong> — health check interval<br><strong>Check From</strong> — number of Regions the health checks can be performed from<br><strong>Traffic Steering</strong> — enables/disables traffic routing algorithms</p><figure><img alt="DNS Load Balancing tuning" src="https://cdn-images-1.medium.com/max/1024/0*BoGGKG_BNJ5FeLyv.png" /></figure><p>Congratulations! Now your website is maintained via DNS load balancer on Cloudflare.</p><p>Register at one of <a href="https://jelastic.cloud/">Jelastic cloud hosting providers</a> and follow our tutorials to get highly available enterprise level WordPress hosting with smart load balancing distribution at DNS level.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c19905811db2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Private OpenVPN Server Installation for Secure VPN Access]]></title>
            <link>https://jelastic.medium.com/private-openvpn-server-installation-for-secure-vpn-access-dc07e9e45e5?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc07e9e45e5</guid>
            <category><![CDATA[openvpn-install]]></category>
            <category><![CDATA[secure-access]]></category>
            <category><![CDATA[private-vpn]]></category>
            <category><![CDATA[openvpn]]></category>
            <category><![CDATA[privacy-protection]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Mon, 21 Jun 2021 06:24:06 GMT</pubDate>
            <atom:updated>2021-06-21T06:24:06.227Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9L1NutoPFAPZ_gsB72Xayw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/0*kYbQIRDrOUos8OcN.png" /></figure><p>Security and privacy are extremely important nowadays, so people are always in search of new ways to protect themselves while surfing the Internet.</p><p>A virtual private network (VPN) is one of the most common solutions used by companies and individuals to protect their connections and communications from cybersecurity threats with the help of strong encryption algorithms.</p><p>There are many commercial and even free services that offer VPN. However, the vast majority of them are using shared infrastructure, meaning that many customers are using the same encryption servers and IP addresses. Such an approach increases the risk of security breaches. Also, one fraud user can compromise the shared infrastructure and lead to blocking many IP addresses of the VPN service across popular public websites. In addition, the owners of the shared VPN services can potentially have access and analyze all your traffic. Thus a dedicated VPN server installation inside your own cloud environment provides a much higher level of security compared to the shared VPN services.</p><p>Below we describe how to establish a private and fully trusted VPN connection based on <a href="https://openvpn.net/vpn-software-packages/">OpenVPN</a> server software automatically installed inside Jelastic PaaS in order to cover the following use cases:</p><ul><li>Tunnel the traffic to the Internet to prevent threats from compromised networks</li><li>Secure transmitting business data via VPN by specifying authorized domains</li><li>Interconnect private networks across multiple sites and public clouds</li><li>Prevent malware and phishing by restricting access to only trusted internet sources</li><li>Enforce security of remote desktop sharing services</li></ul><p>Within the article you’ll find out how to perform:</p><ul><li><a href="https://jelastic.com/blog/private-openvpn-access-server/#installation">OpenVPN Server Software Installation</a></li><li><a href="https://jelastic.com/blog/private-openvpn-access-server/#client">OpenVPN Client Software and Profiles</a></li><li><a href="https://jelastic.com/blog/private-openvpn-access-server/#connection">VPN Connection</a></li><li><a href="https://jelastic.com/blog/private-openvpn-access-server/#verification">VPN Tunnel Verification</a></li><li><a href="https://jelastic.com/blog/private-openvpn-access-server/#access">Change VPN Access Mode</a></li><li><a href="https://jelastic.com/blog/private-openvpn-access-server/#certificate">OpenVPN Custom Domain SSL Certificate</a></li></ul><h3>OpenVPN Server Software Installation</h3><p><strong>1.</strong> Sign in to the Jelastic account, open <a href="https://docs.jelastic.com/marketplace/">Marketplace</a> and find the <strong>OpenVPN Access Server</strong> in the <strong>Dev &amp; Admin Tools</strong> section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uz-RCjAudyHcubLW.png" /></figure><p><strong>2.</strong> Customize settings in the installation window:</p><ul><li><strong>Secure Internet Access:</strong></li><li>- Provides secured Internet access and prevents threats from rogue public Wi-Fi hotspots and untrusted networks</li><li>- Enforces corporate Internet usage policy by securely tunneling traffic</li><li>- The DNS queries are resolved by <a href="https://developers.google.com/speed/public-dns">Google Public DNS</a> that makes this mode applicable only for Internet browsing</li><li><strong>Secure Remote Access:</strong></li><li>- Provides secure access for remote employees to your corporate resources and public cloud networks</li><li>- Strengthens and adds a layer of security to remote desktop protocol and other desktop screen sharing services</li><li>- The DNS queries are resolved by internal platform DNS servers. So, while accessing the Cloud LAN, environment and container hostnames are associated with their private IP addresses allowing to reach them as if the requests are coming within the same cloud <a href="https://docs.jelastic.com/environment-regions/">region</a></li><li>- In case VPN server runs within an <a href="https://docs.jelastic.com/environment-isolation/">isolated environment group</a> the VPN client will only have access to the environments of this group</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/0*pecvr7Ak4iLDdDYO.png" /></figure><ul><li><strong>Install Let’s Encrypt free SSL with auto-renewal for OpenVPN Admin Web Server</strong> — this option installs the <a href="https://jelastic.com/blog/free-ssl-certificates-with-lets-encrypt/">Let’s Encrypt Free SSL add-on</a> on the VPS server and issues valid SSL certificate for the environment domain generated by the platform. Thus it ensures security of the web admin interface of the OpenVPN access server. In case you prefer using a <a href="https://docs.jelastic.com/custom-domains/">custom domain</a>, change it after installation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/0*U-SE9cyzYyK6RcjG.png" /></figure><p>If required, change the environment name and destination region. Finally, click on the <strong>Install</strong>.</p><p><strong>3. </strong>Once the success installation window appears follow the Client UI URL to access the Admin Web Server to get the connection profiles or change OpenVPN Access Server parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/0*qkHfOxKOh0PnyzG2.png" /></figure><p>In case you have no OpenVPN client software installed, choose an appropriate one for your OS.</p><h3>OpenVPN Client Software and Profiles</h3><p>From the user panel:</p><ul><li>follow the URLs to get the software most fit your device</li><li>get a user-locked profile to connect to the VPN server. With this profile you must enter login credentials from successful installation window establishing a VPN connection</li><li>get an autologin profile, that means no credentials are required to connect to the VPN server</li><li>gain access to the OpenVPN Access Server Admin UI panel by pressing the Admin button. Use this panel to do fine server tuning. Find more info:</li><li><a href="https://openvpn.net/vpn-server/">- Access Server Overview</a></li><li><a href="https://openvpn.net/images/pdf/OpenVPN_Access_Server_Sysadmin_Guide_Rev.pdf">- OpenVPN Access Server System Administrator Guide</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/0*-R_dqb6_Ai9aeRik.png" /></figure><h3>VPN Connection</h3><p>Follow the steps below to establish VPN connection:</p><p><strong>1.</strong> Once client software is installed, download OpenVPN autologin profile to your device as file <strong>client.ovpn</strong>.</p><p><strong>2.</strong> Import <strong>client.ovpn</strong> and invoke connection:</p><ul><li>For Ubuntu Linux:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/0*3N0i47veVVpLNfaD.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/0*5OcoCT_fW0ehVLRg.png" /></figure><ul><li>For Windows 10:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/0*z6_-TZCfdg3Vo5RQ.png" /></figure><p>Once the file is imported choose a connect option like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/0*nfSjTjGxVTtjMVcc.png" /></figure><ul><li>For MacOS:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/0*GNcSLmFKHMkwOKxF.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/0*voCPrr_M2rpm0han.png" /></figure><p><strong>3.</strong> Finally, the encrypted tunnel has been established to your cloud infrastructure and secure Internet connection through it as well.</p><h3>VPN Tunnel Verification</h3><p>Once the connection is established, proceed to the verification.</p><p>With the option of <strong>Secure Internet Access</strong> you can simply browse the Internet. And in case of the <strong>Secure Remote Access</strong> option, use the <a href="https://docs.jelastic.com/container-dns-hostnames/#hostnames-for-specific-containers">environment hostnames</a> to reach the hosts in cloud LAN by their private IP addresses.</p><p>To do this let’s ping from the local computer two nodes that belong to the required environments, in our case these are <strong>DevOps Lab — GitLab Server </strong>and<strong> Kubernetes Cluster v1.18.10</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/0*TU7EoO_GQLmbwH-T.png" /></figure><p>The nodes’ hostnames were resolved into respective private IP addresses and responded to the ping commands via VPN tunnel from the local user’s device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/0*_ku2UxchszBL10yx.png" /></figure><h3>Change VPN Access Mode</h3><p>Despite the <strong>Access Mode</strong> was chosen upon VPN server installation you can change it at any time. Open the server <strong>Add-Ons </strong>tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/0*czNPEH_ov_6-HQQY.png" /></figure><p>Click on configuration button either to <strong>Change Mode</strong> and pick one required:</p><ul><li>Secure Internet Access</li><li>Secure Remote Access</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/0*dN2ICS8jCmFq_jtJ.png" /></figure><p>Here you can even <strong>Reset Password</strong> for the <strong>openvpn</strong> user account created by default.</p><h3>OpenVPN Custom Domain SSL Certificate</h3><p>If necessary, bind the custom domain to the Admin Web Server and issue a valid SSL certificate for it. To do this create an A record at your domain registrar using a <a href="https://docs.jelastic.com/public-ip/">public IP</a> address that has been provisioned for VPN server node. Then click on the <strong>Configure</strong> button in Let’s Encrypt Free SSL add-on</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/0*XX6gXjW_UmBhax2P.png" /></figure><p>and replace the platform domain, for example <strong>myvpn-gw.vip.jelastic.cloud</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/0*CiTaq3YLvflcc6Z3.png" /></figure><p>with a custom one for example <strong>vpn-gw.jele.website</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/0*MbRhQhwx14jLywfo.png" /></figure><p>Right after successful certificate issuance open Admin Web Server UI using new domain name: <a href="https://vpn-gw.jele.website./"><strong>https://vpn-gw.jele.website</strong>.</a></p><p>Now you know how to easily install OpenVPN Access Server and get secure on the Internet with <a href="https://jelastic.com/">Jelastic PaaS</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc07e9e45e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Containers and VMs Hosted Together on Same Infrastructure and Management Platform]]></title>
            <link>https://jelastic.medium.com/containers-and-vms-hosted-together-on-same-infrastructure-and-management-platform-7dbf1d934786?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/7dbf1d934786</guid>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[hosting]]></category>
            <category><![CDATA[management-platform]]></category>
            <category><![CDATA[infrastructure-platform]]></category>
            <category><![CDATA[vms-software]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Thu, 17 Jun 2021 10:28:51 GMT</pubDate>
            <atom:updated>2021-06-17T10:28:51.552Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zOuuVS_xqeFaS4tmTZzEmg.png" /></figure><p>Nowadays more and more companies are moving to container-based infrastructure. But nevertheless, virtual machines hold a massive part of the market. For many projects transformation from VMs to containers is a slow and complicated process that cannot be performed at once or even not feasible. Thus the infrastructure management becomes even more challenging while running cloud-native services on container-based platforms and at the same time keeping legacy applications on VMs.</p><p>So how to overcome such complexity? The answer is to make VMs and containers co-exist side-by-side within the same infrastructure and be orchestrated by the same platform. In this way, you can host all types of projects using a single point of management and perform transformation gradually based on the current needs and possibilities.</p><h3>Virtual Machines vs Containers</h3><p>Before diving any further into VMs and containers merge, let’s cover the main differences between these two virtualization approaches.</p><ul><li><strong>Virtual Machines</strong> — is a virtualization type that allows splitting bare metal servers into multiple independent instances with separate operating systems inside. Such virtualization allows to move away from the approach of running one application or service per physical server, as well as to better utilize the evergrowing capacities. However, the necessity in separate operating systems causes additional overhead in memory and storage footprint that leads to extra resource usage. Also, VMs are characterized by the lack of vertical scaling elasticity and relatively long provisioning time.</li><li><strong>Containers</strong> — is a next-generation virtualization type that significantly simplifies and speeds up creation of the isolated containers on the physical server. Each container shares the host OS kernel, the binaries and libraries. As a result, containers are exceptionally lightweight and fast to start. <a href="https://jelastic.com/blog/container-types/">Application and system containers</a> allow implementing the microservice principles more efficiently due to its elasticity and easy provisioning.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YLJT5sotkzWkcbnL.png" /></figure><p>In short, VMs virtualize hardware to run multiple OS instances, while containers virtualize operating systems so that multiple workloads can run on a single OS. Hosting on virtual machines is commonly used for traditional, monolithic, “all-in-one” applications. While containers are more adopted by cloud-native applications as each service component becomes a separate element in a microservice architecture.</p><p>Is it “bad” to work with one type over the other? It is different but most applications can work either way. Containers can offer multiple benefits such as elasticity and efficiency, ease of delivery and simplicity of management. Still many customers keep using applications that were not adopted for the container world. In this case, migrating to a new virtualization model requires a heavy investment in experts, resources and time, which can be economically unprofitable compared to just keeping the already working application as is.</p><h3>Running Containers and VMs Side by Side</h3><p>Continuing a freedom of choice philosophy, we added support of traditional VMs to the Jelastic PaaS where they can be run in a perfect union with containers. Thus, you can combine both types of virtualization within the same platform and infrastructure based on your projects’ requirements. This gives more flexibility for the teams to host and manage the applications with cutting-edge technologies in addition to long-present standards and methodologies.</p><p>Modernization of legacy monolithic systems is tedious and almost impossible to make it quickly in one go, so it is recommended progressing gradually with enough time to analyze and implement each step. A possibility to run VM and container-based versions of the application on the same infrastructure offers great benefits. For example, when comparing these implementations through tests (performance, resource usage, load handling) or new features analysis (e.g. containers scaling). There is no need to choose blindly when you can check both application types and move forward with the most beneficial option or combine the best sides from each approach.</p><h3>What Does It Bring for Cloud Hosting Providers?</h3><p>As a cloud hosting provider, you don’t want to miss customers from the VM and container market segments, so an obvious solution would be to support both virtualization types. However, it is not that simple. The complexity of the orchestration and infrastructure customization scares off most of the dual-hosting enthusiasts. Usually, hosting providers prefer to stick to one type omitting the other one. Some clouds offer support of both virtualization types but actually host them on separate infrastructure and use different orchestration platforms.</p><p>Jelastic PaaS has already implemented the possibility to run containers and VMs side by side dissolving boundaries while integrating and maintaining cloud-native and traditional applications. And being <a href="https://jelastic.com/cloud-business-for-hosting-providers/">designed for service providers</a>, this platform can be smoothly installed on custom bare metal infrastructure to make this hybrid virtualization available for your customers out-of-box.</p><p>This flexibility of virtualization choice helps cloud hosting businesses differentiate themselves, find new revenue opportunities and engage more potential users. Ability to mix and match containers with traditional VMs can become a deciding factor for many developers and operational teams while choosing a cloud hosting for their projects.</p><p>At the same time, this combined approach can be a great way to fully utilize available infrastructure achieving lower TCO and higher ROI, as there is no need to invest in separate physical servers for VMs and containers. In addition to that, the unified management immensely simplifies the processes requiring less human resources and time investments.</p><p>Give a try how a mixed virtualization can be smoothly implemented within your infrastructure. <a href="https://jelastic.com/cloud-platform-for-hosting-providers/">Send request</a> and Jelastic team will provide you with more details and demo access.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7dbf1d934786" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Highly-Scalable eCommerce Website by Orchid Sun and eApps]]></title>
            <link>https://jelastic.medium.com/highly-scalable-ecommerce-website-by-orchid-sun-and-eapps-7e4f59e5ccef?source=rss-fb3eb2766c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e4f59e5ccef</guid>
            <category><![CDATA[scalable-applications]]></category>
            <category><![CDATA[wordpress-hosting]]></category>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[woocommerce]]></category>
            <category><![CDATA[e-commerce-business]]></category>
            <dc:creator><![CDATA[Jelastic]]></dc:creator>
            <pubDate>Tue, 20 Apr 2021 12:03:14 GMT</pubDate>
            <atom:updated>2021-04-20T12:03:14.264Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Omae-oS5EExWJngWjhECNw.png" /></figure><p>Nowadays, there should not be any compromise on scalability and high-availability for e-commerce websites. Visitors are not interested in what cloud hosting you are using or in what way you build the site architecture, they just want to have a positive user-experience while surfing for the products or services. In this interview, Tom DeBello, CEO of Orchid Sun shared their path to achieving high-performing eCommerce site for <a href="https://www.highlanderwine.com/">Highlander Wine</a> that can handle any variable load with the help of Jelastic PaaS on top of eApps infrastructure.</p><p><a href="https://orchidsun.com/">Orchid Sun</a> is a digital marketing agency located in the Dallas/Fort Worth Metroplex area serving clients around the world. They craft custom web solutions with WordPress for organizations and businesses of any size. Their capabilities include:</p><ul><li>Web design and development</li><li>eCommerce integration</li><li>Web hosting and continued maintenance</li><li>Video animation and editing</li><li>Graphic design</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9_Vct3HxfGJV6QEg.png" /></figure><h3>What brought you to Jelastic PaaS on eApps?</h3><p>Our customer is a brick-and-mortar wine and spirits retailer with a growing online presence. Their increasing focus on Internet sales poses the significant challenge of meeting a highly variable demand.</p><p>We, and our customer, did not feel comfortable going with the problematic approach of buying a very large server and hoping it was big enough to meet peak usage demands. We were looking for an intelligent and cost-effective solution that would reliably scale the compute resources up to meet demand, and scale them down to lower costs during slow times. We found <a href="https://www.eapps.com/platforms/paas.php">eApps</a> and Jelastic.</p><h3>Tell us about the technologies you used for the site</h3><p>Highlanderwine.com is built with <a href="https://jelastic.com/blog/highly-available-wordpress-hosting/">WordPress</a> and <a href="https://jelastic.com/blog/woocommerce-hosting/">WooCommerce</a>, configured as a cluster that can automatically scale vertically and horizontally. It runs on the eApps Platform as a Service (PaaS) powered by Jelastic. Caching and CDN technologies are used to optimize performance.</p><h3>How is it performing? What kind of load is it handling?</h3><p>Prior to launch, eApps performed a series of load tests. This proved to be valuable in identifying bottlenecks and areas that could be tuned and optimized. Since going live we have been very pleased with the performance. When a promotion is sent, demand goes through the roof. The cluster can handle many hundreds of logged in shoppers, all placing orders within moments of each other.</p><h3>How did Orchid Sun and eApps work together on the solutions?</h3><p>We have extensive experience hosting sites in single server NGINX environments, but the burst-like traffic patterns of this site required that we seek out a scalable solution. Being new to the <a href="https://docs.jelastic.com/automatic-vertical-scaling/">Jelastic autoscaling</a> platform and how it functions, we knew we needed a strong hosting partner.</p><p>The eApps team was there every step of the way during deployment. I worked very closely with their senior technicians, including the eApps CTO, via email, chat, and Zoom to make sure everything went as planned. Any little snag we encountered was solved swiftly by the eApps team. Since our launch the entire eApps technical team has been there when I needed them.</p><h3>What was your biggest worry about the deployment?</h3><p>Black Friday of course! We knew that the site was running well for the recurring promotions before the big day but Black Friday is “a whole ‘nother level.” I experienced a very strange feeling of being highly confident and scared to death when the tsunami hit. Needless to say, or you would not be reading this interview, the site was up to the task. Our customer blew out new records for Internet sales during this intense period of promotions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lG7fTzonrP6a060u.png" /></figure><h3>That’s impressive! Do you have plans to offer this or similar solutions for other customers in the future?</h3><p>Yes, I definitely look forward to using this scalable solution again. Having the ability to scale up or down automatically at a moment’s notice is terrific.</p><p>Looking for a scalable and highly-available WordPress cloud hosting for your e-commerce websites? Give a try to Jelastic PaaS WordPress cluster at <a href="https://jelastic.cloud/details/eapps">eApps</a> or one of the globally <a href="https://jelastic.cloud/?featuresSupport=WP2">available cloud hosting providers</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e4f59e5ccef" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>