Zum Inhalt springen

Overview

Diese Seite ist noch nicht in deiner Sprache verfügbar. Englische Seite aufrufen

You can use the STACKIT Network Load Balancer API to create, delete and change a STACKIT Network Load Balancer via your favorite command line or GUI tool like curl or Postman. Have a look at the API documentation.

Before you can use the STACKIT Network 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 and DNS that is able to resolve public domain names, where the STACKIT Network 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, which is the service (server) where the STACKIT Network Load Balancer sends the incoming traffic to.
    Note down the IP address of this target and the network port on which the service is running.
    To show the port, you may use the netstat command (Windows/Linux) or lsof or ss (Linux).
  • Define the network port and the protocol (TCP or UDP) your STACKIT Network Load Balancer should listen to.
  • Define names for your network load balancer, network, target pool and targets.

A DNS-like naming convention is in place, so only lower case letters, numbers and hyphens (not at start/end of the name) are allowed.