Skip to content

Overview

You can use the Application Load Balancer API to create, delete and modify the Application Load Balancer using tools like Postman. You can refer to the API documentation for Application Load Balancer for detailed instructions.

Before you can use the Application Load Balancer API, make the preparations listed on this page.

In order to follow the steps described on this page, the following conditions need to be met:

Where do I find the Project ID?
The project ID is displayed in the projects list of the Resource Manager:
A screenshot of a Resource manager dashboard, typically used in a cloud platform to manage organizations and projects. The page header reads "Resource manager." Below the header are two primary action buttons: a yellow button with a plus icon that says "Create project" and a button on the right with a plus icon that says "Create organization." In the center is a search bar labeled "Search for projects." A table lists multiple projects with columns for Name, Status, and ID. The status for all visible projects is Active, displayed in green text. The second project in the list is highlighted by a red outline around its ID field. The ID, which is a31e08ea-b89d-472d-af8c-c9f6303de56c, is followed by an icon to copy the ID to the clipboard and a vertical ellipsis icon for more options. A "Load more" button is visible beneath the second project, indicating the list is truncated.

If you haven’t done so already, prepare the following:

  • Set up a STACKIT network with a router/internet access, where the Application Load Balancer VM will be deployed to, and note down the Network ID.
    Where do I find the Network ID?
    The Network ID is displayed in the Overview tab of your network instance.
    A screenshot from a STACKIT cloud management interface, displaying the Overview section for a network resource. The screen is split into a left navigation pane and a main content area. The left pane shows a list under the heading OVERVIEW, with Overview selected. The main content area is titled General information. This section lists details about the network, including: Subnetwork name as subnetwork, Description as -, and DNS Name Servers as 1.1.1.1, 8.8.8.8, and 9.9.9.9. Below this, additional details are listed: Network Name as default, Status as ACTIVE (in green text), Project ID as dfb03750c... (partially obscured), and Network ID highlighted by a red box as a8815d0c-874b-4e47-... (partially obscured).
  • If your service is accessible from the internet, create a public IP address.
    See: Creation of a public IP-Address.
  • Set up a target (the backend server) to which the Application Load Balancer forwards the incoming traffic.
    Note down the IP address of this target and the network port where the service is running.
    To display the port, you can use the netstat command on Windows/Linux, or lsof or ss on Linux.
  • Define the network port your Application Load Balancer should listen on.
    For HTTP traffic, which typically uses port 80, it is advisable to configure your Application Load Balancer to also use port 80.
  • Define names for your Application Load Balancer, network, target pool and targets.

A DNS-like naming convention is enforced, allowing only lowercase letters, numbers and hyphens, with hyphens not permitted at the start or end of the name.