Initial ALB Setup

Prerequisites: A public load balancer can be created by providing at least one listener IP address. Please make sure you have previously reserved public IP addresses via the IP Manager. You may always create a private load balancer without specifying any IP addresses.
Additionally, you will need at least one Target Group to which ALB will forward traffic. You can create one in the Target Group Manager.

Configuring ALB Settings

  1. 1.
    Add the ALB element by dragging it to the Workspace.
  2. 2.
    Connect the northern interface to Internet Access and the southern interface to a target Server.
  3. 3.
    Configure ALB Settings from the right Inspector pane:
    • Name: Enter a name for the Application Load Balancer.
    • Primary IPv4: For public load balancing, use a public IP you have previously reserved. For private load balancing, a private IP address will be assigned automatically upon provisioning. Otherwise, you may always enter a separate private IP.
    • Add IP (Optional): Add additional public or private IP addresses.
Configuring ALB Settings in DCD

Adding Forwarding Rules

Forwarding rules define how client traffic is distributed to the targets. More than one rule can be created for the same load balancer. You can set them from the Forwarding Rules tab:
  • Name: Enter a unique name for the forwarding rule.
  • Protocol: The protocol is set to HTTP by default.
  • Listener IP: Assign an **** IP address to the listener interface.
  • Listener port: Select the HTTP port on which the listener will accept client requests.
Client timeout: This idle timeout is applied when the client is expected to acknowledge or send data. If not set, the default value of 50000 milliseconds will be used. This is the time during which the ALB will not break the TCP connection established with the client, and after which it will initiate the termination of this connection, provided that the client does not send any subsequent requests during this interval.
Adding the forwarding rules in the settings

Setting HTTP Rules

HTTP rules include Forward, Redirect, and Static rules. To create an HTTP rule, select + Add HTTP Rule in the Inspector.
Forward: Forwards a request to a pre-made Target Group. You just need to enter a Name and select the Target Group.
Setting up HTTP rules in the right pane
Redirect: Requests redirection at the HTTP level. Set the following properties:
  • Name: Give your rule a unique name.
  • Location: Target location for the redirect.
  • Status Code: Select a status response code from the list.
  • Query string: Specify whether you want to keep or drop the query string.
Static: Returns a static response message. In the Static rule you can set the following properties:
  • Name: Give your rule a unique name.
  • Status Code: Select a status response code from the list.
  • Response message: Enter the content to be displayed in the browser upon rule trigger.
  • Content type: Choose an appropriate content type from the list.
In addition, you can set Conditions for the rule. The action is performed only when all conditions are met. If no conditions are specified, the rule will always be performed.
If you make a mistake, you can always delete a rule by selecting the Remove icon on the right.

Private IP Options

Note: This step is optional. A private IP will be assigned automatically during provisioning. You may also add a private IP manually if you select + Add IP.
The backend of the ALB exposes the private IP addresses of the target as the source of client traffic. A backend IP address is configurable and defaults to x.x.x.225. Backend IPs are listed in the ALB Inspector under the Private IPs tab.

Provisioning the ALB

Once you have entered the mandatory Settings and Forwarding Rules, you may provision the ALB by clicking PROVISION CHANGES.
Note: The provisioning process cannot be canceled. However, an existing ALB can be modified at any time. Your password may be required to edit some elements as an additional security measure.

Deleting an ALB

Anytime you need to delete the ALB, right-click the element and choose Delete. You can always use the Backspace/Delete button on your keyboard.