<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stratus Specific Guides on Webscale Product Documentation</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/</link><description>Recent content in Stratus Specific Guides on Webscale Product Documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/index.xml" rel="self" type="application/rss+xml"/><item><title>Stratus Guides - Deploying</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/deploy-to-stratus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/deploy-to-stratus/</guid><description>&lt;p&gt;Despite the incredible sophistication of the Webscale STRATUS cloud platform, Webscale STRATUS deployments are fairly straightforward and familiar.&lt;/p&gt;
&lt;h2 id="pre-checks"&gt;Pre-checks:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Make sure that all symlinks are using absolute paths.&lt;/li&gt;
&lt;li&gt;Note that CloudFront may take up to 15 minutes to clear.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="deployment-examples"&gt;Deployment Examples&lt;/h2&gt;
&lt;p&gt;To deploy code to Webscale STRATUS, &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/ssh-panel/info/"&gt;use SSH&lt;/a&gt;
 and push the code, move symlinks, and flush caches. The built-in &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/application-panel/cli-commands/"&gt;CLI commands&lt;/a&gt;
 provided in the Webscale STRATUS Control panel can also be used to assist.&lt;/p&gt;</description></item><item><title>Stratus Guides - Zero Downtime Deployment</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/zero-downtime-deploys/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/zero-downtime-deploys/</guid><description>&lt;p&gt;&lt;strong&gt;Autoscaling&lt;/strong&gt; must be enabled to use Zero Downtime Deployment (ZDD). &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/autoscaling/"&gt;Learn more about Autoscaling&lt;/a&gt;
.&lt;/p&gt;
&lt;h2 id="how-it-works"&gt;How it works&lt;/h2&gt;
&lt;p&gt;ZDD consists of two Webscale STRATUS CLI commands, the &lt;em&gt;zerodowntime.init&lt;/em&gt; command followed by the &lt;em&gt;zerodowntime.switch&lt;/em&gt; command.&lt;/p&gt;
&lt;p&gt;Prior to running any of the commands, you should enable Autoscaling and the &lt;strong&gt;Zero Downtime Deploy&lt;/strong&gt; option on the Autoscaling page in the Webscale STRATUS panel. Enabling ZDD may take up to a minute of downtime.&lt;/p&gt;
&lt;p&gt;With autoscaling enabled, you can now perform zero downtime deploys. An example flow:&lt;/p&gt;</description></item><item><title>Stratus Guides - Going Live</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/go-live-on-stratus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/go-live-on-stratus/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Each store is unique and may require slight variations from the sequence shown. Developers may contact Stratus support for assistance. Webscale Stratus provides free migration to a new STRATUS environment. Please consult &lt;a href="https://docs.webscale.com/docs/reference/how-migrations-work/"&gt;how migrations work&lt;/a&gt;
.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The following is a typical, example launch sequence on a Webscale STRATUS environment based on a an existing application that is migrated to STRATUS.&lt;/p&gt;
&lt;h2 id="prepare-the-webscale-stratus-environment"&gt;Prepare the Webscale STRATUS Environment&lt;/h2&gt;
&lt;p&gt;Before any go-live, test a copy of the store for all functionality.&lt;/p&gt;</description></item><item><title>Stratus Guides - STRATUS CLI</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/stratus-cli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/stratus-cli/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The following commands are accessible via SSH access. See the &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/ssh-panel/info/"&gt;SSH &amp;gt; Info&lt;/a&gt;
 Webscale STRATUS Control panel for access parameters.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="help"&gt;Help&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;Run&lt;/em&gt; &lt;code&gt;/usr/share/stratus/cli help&lt;/code&gt; for a list of viewable commands with descriptions.&lt;/p&gt;
&lt;h2 id="command-format"&gt;Command Format&lt;/h2&gt;
&lt;p&gt;CLI commands are entered as &lt;code&gt;/usr/share/stratus/cli &amp;lt;command&amp;gt;&lt;/code&gt;. For example, to use the command &lt;code&gt;database.config&lt;/code&gt; &lt;em&gt;run&lt;/em&gt; &lt;code&gt;/usr/share/stratus/cli database.config&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="common-commands"&gt;Common Commands&lt;/h2&gt;
&lt;h3 id="autoscalingreinit"&gt;&lt;code&gt;autoscaling.reinit&lt;/code&gt; &lt;/h3&gt;
&lt;p&gt;If autoscaling is enabled, this command will issue a redeploy of PHP-FPM services and update the code copied out to the various physical nodes. This is a rolling redeployment for zero environment downtime and minimal site downtime. The command executes asynchronously and will return before all the redeployment is completed. It is for &lt;a href="https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/deploy-to-stratus/"&gt;legacy deploys&lt;/a&gt;
 only. This command should not be used if you are using &lt;a href="https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/zero-downtime-deploys/"&gt;Zero-Downtime Deployment&lt;/a&gt;
&lt;/p&gt;</description></item><item><title>Stratus Guides - Default Cron Configurations</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/default-crons/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/default-crons/</guid><description>&lt;p&gt;Use the following as a guide for configuring production environments in the Webscale STRATUS &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/cron-panel/schedule/"&gt;&lt;strong&gt;Cron &amp;gt; Schedule&lt;/strong&gt;&lt;/a&gt;
 panel.&lt;/p&gt;
&lt;h2 id="magento-1"&gt;Magento 1&lt;/h2&gt;
&lt;p&gt;Magento 1 requires &lt;code&gt;cron.sh&lt;/code&gt; to run every minute to update and execute it&amp;rsquo;s internal schedule.  On a default Webscale STRATUS environment that configuration would be:&lt;/p&gt;

&lt;link rel="stylesheet" href="https://docs.webscale.com/css/hugo-easy-gallery.css" /&gt;&lt;div class="box" &gt;
 &lt;figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"&gt;
 &lt;div class="img"&gt;
 &lt;img itemprop="thumbnail" src="https://docs.webscale.com/images/stratus/img/articles/m1cron.png" alt="M1 Cron-62"/&gt;
 &lt;/div&gt;
 &lt;a href="https://docs.webscale.com/images/stratus/img/articles/m1cron.png" itemprop="contentUrl"&gt;&lt;/a&gt;
 &lt;/figure&gt;
&lt;/div&gt;

&lt;p&gt;To configure the cron using crontab via shell access, &lt;em&gt;enter&lt;/em&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;* * * * * /bin/bash /srv/public_html/cron.sh &amp;gt;&amp;gt; /srv/public_html/var/log/cron.log 2&amp;gt;&amp;amp;1
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="magento-2"&gt;Magento 2&lt;/h2&gt;
&lt;p&gt;Magento 2.x requires three cron tasks. By default, these are &lt;strong&gt;already configured on every new Webscale STRATUS environment&lt;/strong&gt;. If the document or web roots are changed, the tasks will need updated to show the correct file paths.&lt;/p&gt;</description></item><item><title>Stratus Guides - New Relic</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/newrelic-on-stratus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/newrelic-on-stratus/</guid><description>&lt;p&gt;When purchasing or obtaining a New Relic license, please choose the option &amp;ldquo;Self-Hosted Environment.&amp;rdquo; Stratus currently supports New Relic APM only. (NRAL KEYS) Once a license key is received, open a support ticket to have the key added to the Webscale STRATUS environment.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Adding your own license will populate trace data for any transactions over 2 seconds to your New Relic account, so you may need to wait 24 hours after adding the license to analyze any findings.&lt;/p&gt;</description></item><item><title>Stratus Guides - Cloudflare DNS Setup</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/cloudflare-and-stratus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/cloudflare-and-stratus/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; when using Cloudflare for DNS, Webscale cannot assign or install a &lt;em&gt;Let&amp;rsquo;s Encrypt&lt;/em&gt; certificate; LE certficates can only be installed when using the Webscale Route 53 nameservers. Furthermore, certificates issued and signed by Cloudflare cannot be installed on Webscale STRATUS. Certificates must be issued by a publicly trusted Certificate Authority (CA), such as &lt;a href="https://aws.amazon.com/certificate-manager/private-certificate-authority/" title="AWS Certificate Manager" target="_blank"&gt;ACM&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 or those listed by the &lt;a href="https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReport" title="Other CA issuers" target="_blank"&gt;Mozilla Foundation&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
. For more information, see &lt;a href="https://aws.amazon.com/blogs/networking-and-content-delivery/continually-enhancing-domain-security-on-amazon-cloudfront/" target="_blank"&gt;&amp;ldquo;Continually Enhancing Domain Security on Amazon CloudFront&amp;rdquo;&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
.&lt;/p&gt;</description></item><item><title>Stratus Guides - AngularJS</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/angularjs-on-stratus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/angularjs-on-stratus/</guid><description>&lt;h2 id="serverts"&gt;server.ts&lt;/h2&gt;
&lt;p&gt;Locate the server.ts file at the root of AngularJS deployment and edit it to use port 10000. We need port 10000 for anything hosted under the nodejs container.&lt;/p&gt;
&lt;p&gt;The block that needs to be modified looks like this. You can comment the default line and simply hard code it.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;function run() {
 //const port = process.env.PORT || 4000;
 const port = 10000;

 // Start up the Node server
 const server = app();
 server.listen(port, () =&amp;gt; {
 console.log(`Node Express server listening on http://localhost:${port}`);
 });
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;After this is done we need to compile. Please run:&lt;/p&gt;</description></item><item><title>Stratus Guides - Install IonCube Loader</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/install-ioncube-loader-on-stratus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/install-ioncube-loader-on-stratus/</guid><description>&lt;p&gt;Note: ionCube Loader for PHP 8 installation at the server with Webscale Stratus had not been tested, and we cannot guarantee its stability.&lt;/p&gt;
&lt;p&gt;To Install IonCube Loader in your Stratus environment, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;cd /srv/&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;tar -xvf ioncube_loaders_lin_x86-64.tar.gz&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt; mkdir php_conf
 cp -a /usr/local/etc/php/conf.d/* php_conf
 cd php_conf/
 rm zzz_custom.ini
 ln -s /usr/local/etc/php/conf.d/zzz_custom.ini ./
 cp /usr/local/etc/php/php.ini ./
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;While still in php_conf dir, create a file named &lt;em&gt;00_ioncube.ini&lt;/em&gt; with the following content:&lt;/p&gt;</description></item><item><title>Stratus Guides - Using Varnish</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/enable-varnish-on-stratus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/enable-varnish-on-stratus/</guid><description>&lt;h2 id="enable-varnish-for-magento-2"&gt;Enable Varnish for Magento 2&lt;/h2&gt;
&lt;p&gt;To enable Varnish on your store, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Log into your Magento 2 admin panel.&lt;/li&gt;
&lt;li&gt;Connect to your store admin panel and go to Stores → Settings → Configuration → Advanced → System → Full Page Cache&lt;/li&gt;
&lt;li&gt;In the FPC section, configure it as in the screenshot below
&lt;img src="https://docs.webscale.com/images/stratus/img/articles/varnish-magento.png" alt="varnish"&gt;&lt;/li&gt;
&lt;li&gt;Save the configuration&lt;/li&gt;
&lt;li&gt;Now log into your STRATUS Store Panel&lt;/li&gt;
&lt;li&gt;Go to the &lt;strong&gt;Varnish&lt;/strong&gt; area from the left-hand navigation menu, click to expand and select the &lt;strong&gt;Info&lt;/strong&gt; section.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Enable&lt;/strong&gt; to start the Varnish service. (Note: this will redeploy all services)&lt;/li&gt;
&lt;li&gt;Varnish is now enabled!&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="enable-varnish-with-turpentine"&gt;Enable Varnish with Turpentine&lt;/h2&gt;
&lt;p&gt;If you are using Magento 1 and Turpentine, the configuration for Turpentine should use:&lt;/p&gt;</description></item><item><title>Stratus Guides - Install Sourceguardian</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/install-sourceguardian-on-stratus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/install-sourceguardian-on-stratus/</guid><description>&lt;h1 id="installation"&gt;Installation&lt;/h1&gt;
&lt;p&gt;To Install SourceGuardian Loader in your Stratus environment, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;cd /srv/&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a folder: &lt;code&gt;mkdir sourceguardian&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Get linux x64 loader using the following command:
&lt;code&gt;curl 'https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz' -H 'authority: www.sourceguardian.com' -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' -H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8,hr;q=0.7' -H 'cache-control: no-cache' -H 'cookie: RGTR=40811663063942; SiteSession1=1csd7upu9i6s3jvuss3v3ueuf7' -H 'pragma: no-cache' -H 'referer: https://www.google.com/' -H 'sec-ch-ua: &amp;quot;&amp;quot;' -H 'sec-ch-ua-mobile: ?0' -H 'sec-ch-ua-platform: &amp;quot;&amp;quot;' -H 'sec-fetch-dest: document' -H 'sec-fetch-mode: navigate' -H 'sec-fetch-site: cross-site' -H 'sec-fetch-user: ?1' -H 'upgrade-insecure-requests: 1' -H 'user-agent: Chrome' --output /srv/sourceguardian/loaders.linux-x86_64.tar.gz&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Stratus Guides - Using SupervisorD</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/using-supervisord/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/using-supervisord/</guid><description>&lt;p&gt;&lt;a href = "http://supervisord.org/introduction.html"&gt;Supervisor&lt;/a&gt; is a client/server system that allows its users to control a number of processes like Magento consumers. Note: this is only possible on PHP 7.4 and above.&lt;/p&gt;
&lt;h1 id="installation"&gt;Installation&lt;/h1&gt;
&lt;p&gt;Versions of Python available in your environment will depend on which &lt;a href="https://docs.webscale.com/reference/stratus/control-panels/php-panel/version/"&gt;PHP version&lt;/a&gt; you are using. You can see which version is currently running on your system by running &lt;code&gt;python --version&lt;/code&gt; Note that installing SupervisorD is only possible on PHP 7.4 and above.&lt;/p&gt;</description></item><item><title>Stratus Guides - Install MailHog</title><link>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/using-mailhog/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/webscale-stratus/using-mailhog/</guid><description>&lt;ol&gt;
&lt;li&gt;In the SSH container, navigate to ~/bin directory and execute the following command:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;wget -c https://go.dev/dl/go1.19.5.linux-amd64.tar.gz
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="2"&gt;
&lt;li&gt;Extract archive:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;tar -xvf go1.19.5.linux-amd64.tar.gz
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="3"&gt;
&lt;li&gt;Export PATH:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;export PATH=$PATH:/srv/bin/go/bin
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="4"&gt;
&lt;li&gt;Navigate to /srv/pwa directory and execute:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;go install github.com/mailhog/MailHog@latest
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="5"&gt;
&lt;li&gt;Adjust start.sh file in the /srv/pwa directory or create it fresh with the following details:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;#!/bin/bash
export PATH=$PATH:/srv/bin/go/bin
/srv/go/bin/MailHog -ui-web-path /mailhog -smtp-bind-addr 0.0.0.0:10000
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Note: If you are already running some NodeJS application, adjust the export path accordingly as an add-on to the current NVM settings.&lt;/p&gt;</description></item></channel></rss>