curl --request POST \
--url https://loadbalancer.{region}.basaltic.sh/v1/load-balancers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "web-lb",
"type": "application",
"vpc": "c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9",
"subnets": [
"d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0"
],
"flavor": "e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1",
"security_groups": [
"d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f"
],
"desired_count": 2,
"min_count": 1,
"max_count": 5,
"replica_count": 2,
"floating_ips": [
"f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2"
],
"tags": {
"environment": "production",
"team": "backend"
}
}
'import requests
url = "https://loadbalancer.{region}.basaltic.sh/v1/load-balancers"
payload = {
"name": "web-lb",
"type": "application",
"vpc": "c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9",
"subnets": ["d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0"],
"flavor": "e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1",
"security_groups": ["d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f"],
"desired_count": 2,
"min_count": 1,
"max_count": 5,
"replica_count": 2,
"floating_ips": ["f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2"],
"tags": {
"environment": "production",
"team": "backend"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'web-lb',
type: 'application',
vpc: 'c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9',
subnets: ['d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0'],
flavor: 'e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1',
security_groups: ['d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f'],
desired_count: 2,
min_count: 1,
max_count: 5,
replica_count: 2,
floating_ips: ['f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2'],
tags: {environment: 'production', team: 'backend'}
})
};
fetch('https://loadbalancer.{region}.basaltic.sh/v1/load-balancers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://loadbalancer.{region}.basaltic.sh/v1/load-balancers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'web-lb',
'type' => 'application',
'vpc' => 'c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9',
'subnets' => [
'd4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0'
],
'flavor' => 'e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1',
'security_groups' => [
'd1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f'
],
'desired_count' => 2,
'min_count' => 1,
'max_count' => 5,
'replica_count' => 2,
'floating_ips' => [
'f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2'
],
'tags' => [
'environment' => 'production',
'team' => 'backend'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://loadbalancer.{region}.basaltic.sh/v1/load-balancers"
payload := strings.NewReader("{\n \"name\": \"web-lb\",\n \"type\": \"application\",\n \"vpc\": \"c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9\",\n \"subnets\": [\n \"d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0\"\n ],\n \"flavor\": \"e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1\",\n \"security_groups\": [\n \"d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f\"\n ],\n \"desired_count\": 2,\n \"min_count\": 1,\n \"max_count\": 5,\n \"replica_count\": 2,\n \"floating_ips\": [\n \"f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2\"\n ],\n \"tags\": {\n \"environment\": \"production\",\n \"team\": \"backend\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://loadbalancer.{region}.basaltic.sh/v1/load-balancers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"web-lb\",\n \"type\": \"application\",\n \"vpc\": \"c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9\",\n \"subnets\": [\n \"d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0\"\n ],\n \"flavor\": \"e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1\",\n \"security_groups\": [\n \"d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f\"\n ],\n \"desired_count\": 2,\n \"min_count\": 1,\n \"max_count\": 5,\n \"replica_count\": 2,\n \"floating_ips\": [\n \"f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2\"\n ],\n \"tags\": {\n \"environment\": \"production\",\n \"team\": \"backend\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://loadbalancer.{region}.basaltic.sh/v1/load-balancers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"web-lb\",\n \"type\": \"application\",\n \"vpc\": \"c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9\",\n \"subnets\": [\n \"d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0\"\n ],\n \"flavor\": \"e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1\",\n \"security_groups\": [\n \"d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f\"\n ],\n \"desired_count\": 2,\n \"min_count\": 1,\n \"max_count\": 5,\n \"replica_count\": 2,\n \"floating_ips\": [\n \"f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2\"\n ],\n \"tags\": {\n \"environment\": \"production\",\n \"team\": \"backend\"\n }\n}"
response = http.request(request)
puts response.read_body{
"load_balancer": {
"desired_count": 2,
"min_count": 1,
"max_count": 5,
"id": "4e1f8c2a-9b3d-4f6e-8a1c-2d5e7f9a0b3c",
"crn": "crn:loadbalancer:sa-saopaulo-1:my-account:load-balancer/web-lb",
"name": "web-lb",
"type": "application",
"status": "active",
"faults": [],
"subnets": [
{
"id": "550e8400-e29b-41d4-a716-446655440006",
"crn": "crn:network:sa-saopaulo-1:my-account:vpc/prod/subnet/private",
"name": "private"
}
],
"replica_count": 2,
"floating_ips": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"crn": "<string>",
"visibility": "public",
"address": "<string>"
}
],
"tags": {
"environment": "production",
"team": "backend"
},
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z",
"flavor": {
"id": "550e8400-e29b-41d4-a716-446655440014",
"crn": "crn:compute:sa-saopaulo-1:platform:flavor/lb-small",
"name": "lb-small"
},
"rollout_surge": true,
"autoscaling": {
"enabled": true,
"metrics": [
{
"source": "telemetry",
"target_type": "average_value",
"target_value": 100,
"name": "queue_depth",
"labels": {
"queue": "orders"
},
"sample_aggregation": "last",
"series_aggregation": "sum",
"expected_series": 1,
"window_seconds": 120,
"max_age_seconds": 90
}
],
"warmup_seconds": 180,
"cooldown_seconds": 60,
"scale_down_stabilization_seconds": 300,
"max_scale_out_step": 4,
"max_scale_in_step": 1,
"drain_seconds": 120
},
"autoscaling_status": {
"status": "pending",
"reason": "waiting for sustained lower demand",
"history": [
{
"at": "2023-11-07T05:31:56Z",
"from": 1,
"to": 1,
"reason": "<string>"
}
],
"evaluated_at": "2023-11-07T05:31:56Z",
"last_scaled_at": "2023-11-07T05:31:56Z"
},
"dns_name": "web-lb.my-account.lb.sa-saopaulo-1.basaltic.sh"
}
}{
"error": {
"code": "INVALID_INPUT",
"message": "Invalid request parameters",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "ACCESS_DENIED",
"message": "You don't have permission to perform this action",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "CONFLICT",
"message": "Resource with this name already exists",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "IDEMPOTENCY_KEY_REUSED",
"message": "This Idempotency-Key was already used with a different request payload",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An internal error occurred",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}Create a load balancer
curl --request POST \
--url https://loadbalancer.{region}.basaltic.sh/v1/load-balancers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "web-lb",
"type": "application",
"vpc": "c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9",
"subnets": [
"d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0"
],
"flavor": "e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1",
"security_groups": [
"d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f"
],
"desired_count": 2,
"min_count": 1,
"max_count": 5,
"replica_count": 2,
"floating_ips": [
"f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2"
],
"tags": {
"environment": "production",
"team": "backend"
}
}
'import requests
url = "https://loadbalancer.{region}.basaltic.sh/v1/load-balancers"
payload = {
"name": "web-lb",
"type": "application",
"vpc": "c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9",
"subnets": ["d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0"],
"flavor": "e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1",
"security_groups": ["d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f"],
"desired_count": 2,
"min_count": 1,
"max_count": 5,
"replica_count": 2,
"floating_ips": ["f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2"],
"tags": {
"environment": "production",
"team": "backend"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'web-lb',
type: 'application',
vpc: 'c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9',
subnets: ['d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0'],
flavor: 'e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1',
security_groups: ['d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f'],
desired_count: 2,
min_count: 1,
max_count: 5,
replica_count: 2,
floating_ips: ['f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2'],
tags: {environment: 'production', team: 'backend'}
})
};
fetch('https://loadbalancer.{region}.basaltic.sh/v1/load-balancers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://loadbalancer.{region}.basaltic.sh/v1/load-balancers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'web-lb',
'type' => 'application',
'vpc' => 'c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9',
'subnets' => [
'd4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0'
],
'flavor' => 'e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1',
'security_groups' => [
'd1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f'
],
'desired_count' => 2,
'min_count' => 1,
'max_count' => 5,
'replica_count' => 2,
'floating_ips' => [
'f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2'
],
'tags' => [
'environment' => 'production',
'team' => 'backend'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://loadbalancer.{region}.basaltic.sh/v1/load-balancers"
payload := strings.NewReader("{\n \"name\": \"web-lb\",\n \"type\": \"application\",\n \"vpc\": \"c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9\",\n \"subnets\": [\n \"d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0\"\n ],\n \"flavor\": \"e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1\",\n \"security_groups\": [\n \"d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f\"\n ],\n \"desired_count\": 2,\n \"min_count\": 1,\n \"max_count\": 5,\n \"replica_count\": 2,\n \"floating_ips\": [\n \"f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2\"\n ],\n \"tags\": {\n \"environment\": \"production\",\n \"team\": \"backend\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://loadbalancer.{region}.basaltic.sh/v1/load-balancers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"web-lb\",\n \"type\": \"application\",\n \"vpc\": \"c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9\",\n \"subnets\": [\n \"d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0\"\n ],\n \"flavor\": \"e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1\",\n \"security_groups\": [\n \"d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f\"\n ],\n \"desired_count\": 2,\n \"min_count\": 1,\n \"max_count\": 5,\n \"replica_count\": 2,\n \"floating_ips\": [\n \"f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2\"\n ],\n \"tags\": {\n \"environment\": \"production\",\n \"team\": \"backend\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://loadbalancer.{region}.basaltic.sh/v1/load-balancers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"web-lb\",\n \"type\": \"application\",\n \"vpc\": \"c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9\",\n \"subnets\": [\n \"d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0\"\n ],\n \"flavor\": \"e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1\",\n \"security_groups\": [\n \"d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f\"\n ],\n \"desired_count\": 2,\n \"min_count\": 1,\n \"max_count\": 5,\n \"replica_count\": 2,\n \"floating_ips\": [\n \"f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2\"\n ],\n \"tags\": {\n \"environment\": \"production\",\n \"team\": \"backend\"\n }\n}"
response = http.request(request)
puts response.read_body{
"load_balancer": {
"desired_count": 2,
"min_count": 1,
"max_count": 5,
"id": "4e1f8c2a-9b3d-4f6e-8a1c-2d5e7f9a0b3c",
"crn": "crn:loadbalancer:sa-saopaulo-1:my-account:load-balancer/web-lb",
"name": "web-lb",
"type": "application",
"status": "active",
"faults": [],
"subnets": [
{
"id": "550e8400-e29b-41d4-a716-446655440006",
"crn": "crn:network:sa-saopaulo-1:my-account:vpc/prod/subnet/private",
"name": "private"
}
],
"replica_count": 2,
"floating_ips": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"crn": "<string>",
"visibility": "public",
"address": "<string>"
}
],
"tags": {
"environment": "production",
"team": "backend"
},
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z",
"flavor": {
"id": "550e8400-e29b-41d4-a716-446655440014",
"crn": "crn:compute:sa-saopaulo-1:platform:flavor/lb-small",
"name": "lb-small"
},
"rollout_surge": true,
"autoscaling": {
"enabled": true,
"metrics": [
{
"source": "telemetry",
"target_type": "average_value",
"target_value": 100,
"name": "queue_depth",
"labels": {
"queue": "orders"
},
"sample_aggregation": "last",
"series_aggregation": "sum",
"expected_series": 1,
"window_seconds": 120,
"max_age_seconds": 90
}
],
"warmup_seconds": 180,
"cooldown_seconds": 60,
"scale_down_stabilization_seconds": 300,
"max_scale_out_step": 4,
"max_scale_in_step": 1,
"drain_seconds": 120
},
"autoscaling_status": {
"status": "pending",
"reason": "waiting for sustained lower demand",
"history": [
{
"at": "2023-11-07T05:31:56Z",
"from": 1,
"to": 1,
"reason": "<string>"
}
],
"evaluated_at": "2023-11-07T05:31:56Z",
"last_scaled_at": "2023-11-07T05:31:56Z"
},
"dns_name": "web-lb.my-account.lb.sa-saopaulo-1.basaltic.sh"
}
}{
"error": {
"code": "INVALID_INPUT",
"message": "Invalid request parameters",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "ACCESS_DENIED",
"message": "You don't have permission to perform this action",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "CONFLICT",
"message": "Resource with this name already exists",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "IDEMPOTENCY_KEY_REUSED",
"message": "This Idempotency-Key was already used with a different request payload",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An internal error occurred",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}loadbalancer:CreateLoadBalancer. See LOADBALANCER permissions for the full list, what each one covers, and an example policy.Authorizations
An OAuth 2.0 bearer token, sent as Authorization: Bearer <token>.
This is the recommended way to authenticate.
Get one by exchanging a service account's access key pair at
POST /v1/oauth/token with grant_type=client_credentials. It is the
standard client-credentials grant, so any OAuth-aware library will
obtain and refresh it for you.
curl -s -u "$KEY_ID:$SECRET" -d grant_type=client_credentials \
https://iam.basaltic.sh/v1/oauth/token
Tokens last an hour by default. The same access key pair is separately your AWS SigV4 credential for the S3-compatible object endpoint, which speaks nothing else.
Headers
Optional client-generated key that makes a create replay-safe. Retrying a request with the same key returns the original outcome verbatim instead of creating a duplicate resource. Reusing a key with a different request body is rejected (422); a request whose key is still being processed returns 409. Records are honored for 24 hours. Use a UUID or similarly unique token.
255Body
Relationships accept a UUID, CRN or exact immutable name, classified by syntax. VPC, subnets and security groups must belong to the caller account in this region. Subnet names are scoped by vpc. Flavor is a regional catalog reference. Floating IP references accept UUID or CRN only. All references resolve before writes. Addresses are fixed at creation; updates cannot replace them.
1..127 chars of [A-Za-z0-9._-] Resource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).
"web-lb"
application, network "application"
VPC the LB will live in. Every selected subnet must belong to this VPC.
"c3d4e5f6-a7b8-4901-c2d3-e4f5a6b7c8d9"
One or more subnet selectors in the same VPC, account and region. Each instance has one interface; new instances are placed in the least-populated eligible subnet. The first subnet supplies automatic private floating IP allocations. Placement is fixed at creation.
1["d4e5f6a7-b8c9-4012-d3e4-f5a6b7c8d9e0"]
Compute flavor for each LB instance.
"e5f6a7b8-c9d0-4123-e4f5-a6b7c8d9e0f1"
Security groups attached to every replica NIC (AWS ALB shape). A VPC NIC with no security group denies all data traffic, so the listener port(s) must be opened by a security group listed here. Re-applied to replacement replicas. The LB's own control-plane path (agent config + heartbeat via the metadata endpoint) is always-allowed and needs none.
["d1b6f3a8-4c2e-4a9d-8f7b-1e5c3a2d9b4f"]
Steady target within min_count and max_count.
1 <= x <= 102
Lower capacity bound.
1 <= x <= 101
Upper capacity bound including rollout surge.
1 <= x <= 105
Target tracking shared by instance pools and load balancers. Updates replace the policy. Set enabled=false to retain settings and use manual sizing. Each metric recommends a desired count; the largest recommendation wins. Missing, stale or incomplete observations prevent scale-in but do not block scale-out recommended by another valid metric. Decisions obey the resource's min_count/max_count, warmup, cooldown, stabilization, step limits and quotas. State survives controller restarts. Active policies own desired_count; manual changes are accepted and automatic evaluation resumes after cooldown. Custom telemetry requires telemetry:ReadMetrics in the same account.
Show child attributes
Show child attributes
Deprecated input alias of desired_count; send only one. Desired defaults to 1. Omitted bounds default to desired.
1 <= x <= 102
Existing free floating IPs from this account and region, at most one per family and visibility (private/public, IPv4/IPv6). Private addresses must belong to any selected subnet. Missing private families are allocated automatically from the first selected subnet for each family enabled there. Public addresses are optional and require a matching-family default route to an internet gateway in every selected subnet; NAT and egress-only gateways do not qualify. Public IPv6 requires every selected subnet to support IPv6. Pool-owned or attached addresses are unavailable. On deletion, supplied addresses are detached and retained; automatic private allocations are released.
4["f6a7b8c9-d0e1-4234-f5a6-b7c8d9e0f1a2"]
Show child attributes
Show child attributes
{
"environment": "production",
"team": "backend"
}
Response
Created
Show child attributes
Show child attributes

