<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stacks on Webscale Product Documentation</title><link>https://docs.webscale.com/hosting-platforms/hosting-v4/stacks/</link><description>Recent content in Stacks on Webscale Product Documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.webscale.com/hosting-platforms/hosting-v4/stacks/index.xml" rel="self" type="application/rss+xml"/><item><title>Web server</title><link>https://docs.webscale.com/hosting-platforms/hosting-v4/stacks/web-server/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/hosting-platforms/hosting-v4/stacks/web-server/</guid><description>&lt;p&gt;The Web server stack is a language-agnostic container-hosting environment intended for serving web-facing containerized applications. Developers bring their own container image and seamlessly injects it into the Webscale hosting platform.&lt;/p&gt;
&lt;p&gt;A Web server stack consists of:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Webscale Application&lt;/li&gt;
&lt;li&gt;Webscale scaling cluster&lt;/li&gt;
&lt;li&gt;Supporting infrastructure (VPC, routing tables, security group, etc.)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="network-topology"&gt;Network Topology&lt;/h2&gt;
&lt;p&gt;The stack can be deployed in two modes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Standalone&lt;/strong&gt;: Automatically provisions its own complete network tier, including VPC, Internet Gateway, and public routing tables.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Add-On&lt;/strong&gt;: Seamlessly creates the auto-scaling web cluster in the existing infrastructure&amp;rsquo;s public subnets. When creating the web server stack, if an array of public subnets are provided, the web server will use the existing networking infrastructure and act as an add-on. See &lt;a href="https://docs.webscale.com/hosting-platforms/hosting-v4/stacks/configuration/"&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&lt;/a&gt;
 for details.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="variables"&gt;Variables&lt;/h2&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th style="text-align: left"&gt;Variable Name&lt;/th&gt;
					&lt;th style="text-align: left"&gt;Type&lt;/th&gt;
					&lt;th style="text-align: left"&gt;Default&lt;/th&gt;
					&lt;th style="text-align: left"&gt;Description&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td style="text-align: left"&gt;&lt;code&gt;size&lt;/code&gt;&lt;/td&gt;
					&lt;td style="text-align: left"&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;
					&lt;td style="text-align: left"&gt;&lt;/td&gt;
					&lt;td style="text-align: left"&gt;&lt;em&gt;(Required)&lt;/em&gt; Plan size. Must be one of &amp;ldquo;dev&amp;rdquo;, &amp;ldquo;small&amp;rdquo;, &amp;ldquo;medium&amp;rdquo;, &amp;ldquo;large&amp;rdquo;, or &amp;ldquo;xlarge&amp;rdquo;.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td style="text-align: left"&gt;&lt;code&gt;region&lt;/code&gt;&lt;/td&gt;
					&lt;td style="text-align: left"&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;
					&lt;td style="text-align: left"&gt;&lt;/td&gt;
					&lt;td style="text-align: left"&gt;&lt;em&gt;(Required)&lt;/em&gt; The region to deploy the stack resources.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td style="text-align: left"&gt;&lt;code&gt;public_subnets&lt;/code&gt;&lt;/td&gt;
					&lt;td style="text-align: left"&gt;&lt;code&gt;list(string)&lt;/code&gt; or &lt;code&gt;string&lt;/code&gt;&lt;/td&gt;
					&lt;td style="text-align: left"&gt;&lt;/td&gt;
					&lt;td style="text-align: left"&gt;Array of subnet IDs [primary, secondary]. May also be a reference to another stack&amp;rsquo;s output. If provided, the cluster will deploy into the existing network.&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="example"&gt;Example:&lt;/h3&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;{
 {
 &amp;#34;type&amp;#34;: &amp;#34;web-server&amp;#34;,
 &amp;#34;environment&amp;#34;: &amp;#34;/v2/environments/tu8aovkn7waj&amp;#34;,
 &amp;#34;service&amp;#34;: &amp;#34;/v2/services/2tpkjj7e0b28&amp;#34;,
 &amp;#34;name&amp;#34;: &amp;#34;PWA Frontend&amp;#34;,
 &amp;#34;variables&amp;#34;: {
 &amp;#34;size&amp;#34;: &amp;#34;medium&amp;#34;,
 &amp;#34;region&amp;#34;: &amp;#34;us-east-1&amp;#34;,
 &amp;#34;public_subnets&amp;#34;: &amp;#34;/v2/stacks/4d4d1d4koe12/outputs/public_subnets&amp;#34;
 }
 }
}
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="cluster-metadata-variables"&gt;Cluster Metadata Variables&lt;/h2&gt;
&lt;p&gt;Cluster metadata is used to configure container runtime variables. The following keys dictate how the container environment is constructed:&lt;/p&gt;</description></item><item><title>Configuration</title><link>https://docs.webscale.com/hosting-platforms/hosting-v4/stacks/configuration/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/hosting-platforms/hosting-v4/stacks/configuration/</guid><description>&lt;h2 id="connecting-to-an-existing-stack"&gt;Connecting to an existing stack&lt;/h2&gt;
&lt;p&gt;When deploying multiple stacks within the same environment, the Webscale Control Plane acts as a central dependency resolver.
Instead of referencing cloud-provider resources directly, a stack may reference outputs from another stack&lt;/p&gt;
&lt;p&gt;For example, you may wish to deploy an add-on stack into an existing network or require the database endpoint of an RDS database. To refer to these values, you can provide references to the outputs from a different stack.&lt;/p&gt;</description></item></channel></rss>