<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Create_Load_Balancer</id>
		<title>Create Load Balancer - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Create_Load_Balancer"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;action=history"/>
		<updated>2026-04-25T19:45:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=2168&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 109</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=2168&amp;oldid=prev"/>
				<updated>2015-07-24T18:13:13Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 109&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:13, 24 July 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=2167&amp;oldid=prev</id>
		<title>Donghyun.kim: /* create a LB */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=2167&amp;oldid=prev"/>
				<updated>2015-01-24T00:17:40Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;create a LB&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;amp;diff=2167&amp;amp;oldid=1531&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Donghyun.kim</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=1531&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 95</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=1531&amp;oldid=prev"/>
				<updated>2014-07-02T22:43:45Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 95&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:43, 2 July 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=1530&amp;oldid=prev</id>
		<title>Mike.robski at 22:40, 2 July 2014</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=1530&amp;oldid=prev"/>
				<updated>2014-07-02T22:40:14Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:40, 2 July 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 133:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 133:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{disqus}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Hostway API]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Hostway API]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Load Balancer API]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Load Balancer API]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:version:1.11a:oldid:1500:newid:1530 --&gt;
&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=1500&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 95</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=1500&amp;oldid=prev"/>
				<updated>2014-07-02T22:29:09Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 95&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:29, 2 July 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=1499&amp;oldid=prev</id>
		<title>Youngbae.oh: /* Request Body */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Create_Load_Balancer&amp;diff=1499&amp;oldid=prev"/>
				<updated>2014-01-30T17:01:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Request Body&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A Load balancer distributes traffic among different nodes. You have the ability to configure your load balancer as required. A Load balancer has a single public-facing virtual IP Address and port on one side and nodes on the other side: traffic into the virtual IP may be delivered to the IP Address of any of the contained nodes. The reverse mapping occurs for outbound traffic. If you need to provide load balancing for more than one virtual IP address or more than one port on a single virtual IP address, you must create multiple load balancers. Note: a load balancer without a virtual IP address and at least two nodes is not useful&lt;br /&gt;
&lt;br /&gt;
='''POST''' /accounts/''{accountId}''/loadbalancers=&lt;br /&gt;
This operation will create a new load balancer.&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
; accountId - ''string''&lt;br /&gt;
: The selected account Id.&lt;br /&gt;
&lt;br /&gt;
=== Request Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;region&amp;quot;: &amp;quot;{regionTextKey}&amp;quot;,&lt;br /&gt;
    &amp;quot;displayName&amp;quot;: &amp;quot;{lbName}&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot;: {lbPort},&lt;br /&gt;
    &amp;quot;protocol&amp;quot;: &amp;quot;{lBProtocol}&amp;quot;,&lt;br /&gt;
    &amp;quot;virtualIp&amp;quot;: &amp;quot;{lbVirtualIp}&amp;quot;,&lt;br /&gt;
    &amp;quot;algorithm&amp;quot;: &amp;quot;{ROUND_ROBIN or SOURCE_IP}&amp;quot;,&lt;br /&gt;
    &amp;quot;timeout&amp;quot;: {timeout},&lt;br /&gt;
    &amp;quot;nodes&amp;quot; : [&lt;br /&gt;
                   {&lt;br /&gt;
                       &amp;quot;serverRef&amp;quot;: &amp;quot;{serverRefURL}&amp;quot;,&lt;br /&gt;
                       &amp;quot;port&amp;quot; : {port1}&lt;br /&gt;
                   },&lt;br /&gt;
                   {&lt;br /&gt;
                       &amp;quot;serverRef&amp;quot;: &amp;quot;{serverRefURL}&amp;quot;,&lt;br /&gt;
                       &amp;quot;port&amp;quot; : {port2}&lt;br /&gt;
                   }&lt;br /&gt;
               ]&lt;br /&gt;
    &amp;quot;sessionPersistence&amp;quot; : {&lt;br /&gt;
                       &amp;quot;persistenceType&amp;quot;:&amp;quot;HTTP_COOKIE&amp;quot;&lt;br /&gt;
               },          &lt;br /&gt;
    &amp;quot;healthMonitor&amp;quot; :      {&lt;br /&gt;
               &amp;quot;protocol&amp;quot;:&amp;quot;{hcProtocol}&amp;quot;,&lt;br /&gt;
               &amp;quot;interval&amp;quot;: {hcInterval},&lt;br /&gt;
               &amp;quot;port&amp;quot;: {hcPort},&lt;br /&gt;
               &amp;quot;uri&amp;quot;: {uri},&lt;br /&gt;
               &amp;quot;attemptsBeforeDeactivation&amp;quot;: {hcAttemptsBeforeDeactivation},&lt;br /&gt;
               &amp;quot;attemptsBeforeActivation&amp;quot; : {hcAttemptsBeforeActivation}&lt;br /&gt;
           },&lt;br /&gt;
 }&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; region - ''string''&lt;br /&gt;
: region TextKey where LB will be created&lt;br /&gt;
&lt;br /&gt;
; displayName - ''string''&lt;br /&gt;
: Display name for this load balancer.&lt;br /&gt;
&lt;br /&gt;
; port - ''integer''&lt;br /&gt;
: range 1 ~ 65535&lt;br /&gt;
: the port number to switch traffic for.&lt;br /&gt;
&lt;br /&gt;
; protocol - ''string''&lt;br /&gt;
: either 'TCP' or 'HTTP'&lt;br /&gt;
&lt;br /&gt;
; virtualIp - ''string''&lt;br /&gt;
: if this is omitted, LB will allocate a new virtual ip to this account&lt;br /&gt;
: this virtual ip that must be owned by this account in advance or available one&lt;br /&gt;
: IPv4 or IPv6 possible&lt;br /&gt;
&lt;br /&gt;
; algorithm - ''string''&lt;br /&gt;
: LB distribution algorithm&lt;br /&gt;
: either 'ROUND_ROBIN' or 'SOURCE_IP'&lt;br /&gt;
&lt;br /&gt;
; timeout - ''integer''&lt;br /&gt;
: node-check and connect timeout&lt;br /&gt;
&lt;br /&gt;
; nodes&lt;br /&gt;
: list of node&lt;br /&gt;
: should include at least one node when creating a LB&lt;br /&gt;
&lt;br /&gt;
; nodes.serverRef - ''string''&lt;br /&gt;
: the URL ref of a node&lt;br /&gt;
&lt;br /&gt;
; nodes.port - ''integer''&lt;br /&gt;
: range 1 ~ 65535&lt;br /&gt;
: the ports on node that LB forward traffic to&lt;br /&gt;
&lt;br /&gt;
; nodes.condition - ''string''&lt;br /&gt;
: the condition of a node, ENABLED or DISABLED&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
=== Response Codes ===&lt;br /&gt;
&lt;br /&gt;
; 201 Created&lt;br /&gt;
&lt;br /&gt;
; 400 Bad Request&lt;br /&gt;
&lt;br /&gt;
; 401 Unauthorized&lt;br /&gt;
: This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
&lt;br /&gt;
; 409 Conflict&lt;br /&gt;
: The resource already exists. (there is already a load balancer with that name or a load balancer already bound to the virtualIp/port combination specified)&lt;br /&gt;
&lt;br /&gt;
=== Response Headers ===&lt;br /&gt;
; Location&lt;br /&gt;
: Returned with successful 201 response. Contains the new LB URI. The client must use this URI for all subsequent operations with the LB.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
'''Request'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST /accounts/{accountId}/loadbalancers&lt;br /&gt;
Content-Type: application/json; Charset=UTF-8&lt;br /&gt;
Authorization: Base64-encoded username &amp;amp; password string&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;region&amp;quot;: &amp;quot;AUSTIN&amp;quot;,&lt;br /&gt;
    &amp;quot;displayName&amp;quot; : &amp;quot;Test Load Balancer&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot;: 80,&lt;br /&gt;
    &amp;quot;protocol&amp;quot;: &amp;quot;HTTP&amp;quot;,&lt;br /&gt;
    &amp;quot;algorithm&amp;quot;: &amp;quot;ROUND_ROBIN&amp;quot;,&lt;br /&gt;
    &amp;quot;timeout&amp;quot;: 30,&lt;br /&gt;
    &amp;quot;nodes&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;serverRef&amp;quot;: &amp;quot;http://{hostname}/accounts/{accountId}/flexcloud/servers/{serverId-1}&amp;quot;,&lt;br /&gt;
            &amp;quot;port&amp;quot;: 80&lt;br /&gt;
        }, {&lt;br /&gt;
            &amp;quot;serverRef&amp;quot;: &amp;quot;http://{hostname}/accounts/{accountId}/flexcloud/servers/{serverId-2}&amp;quot;,&lt;br /&gt;
            &amp;quot;port&amp;quot;: 80&lt;br /&gt;
        }&lt;br /&gt;
    ]        &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
201 Created&lt;br /&gt;
Content-Type: application/json; charset=UTF-8&lt;br /&gt;
Location : &amp;lt;/nowiki&amp;gt;{{APIBaseURL}}&amp;lt;nowiki&amp;gt;/account/{accountId}/loadbalancer/{lbId}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Load Balancer API]]&lt;/div&gt;</summary>
		<author><name>Youngbae.oh</name></author>	</entry>

	</feed>