> **Page index:** https://km.oslo.systems/llms.txt lists every page on this site, with a link to its Markdown version.

# `load-balancing-alb`

Application Load Balancer that routes traffic to your applications.

## Variables

| Name | Description | Type | Default | Required |
| --- | --- | --- | --- | --- |
| `Name` | Load balancer name, used to name the ALB and related resources. | `string` | `main` | no |
| `Internal` | Make the ALB internal, so it is only reachable from inside the VPC. If false, the ALB is internet-facing. | `bool` | `true` | no |
| `Dns` | DNS and TLS for the ALB. `Enable` points `<Environment>.oslo.systems` (created by the `dns` template) at the ALB. `EnableHttps` serves HTTPS on that domain and redirects all HTTP requests to HTTPS; when disabled, the ALB serves plain HTTP instead. `EnableIPv6` makes the ALB reachable over IPv6. | `map` | `{"Enable": true, "EnableHttps": true, "EnableIPv6": false}` | no |

## `load-balancing-alb-data`

This template also installs the `load-balancing-alb-data` template into its own stack directory, next to this one.

S3 bucket for the access logs of the `load-balancing-alb` template. That template installs it.

### Variables (`load-balancing-alb-data`)

| Name | Description | Type | Default | Required |
| --- | --- | --- | --- | --- |
| `AutoForwardLogs` | Automatically forward any CloudWatch log groups or S3 logs created by this template to Datadog if the current account is integrated with Datadog (via the `datadog-common` template). | `map` | `{"Enable": true}` | no |
| `S3EnforceSecureTransport` | Require HTTPS for all requests to S3 buckets created by this template. | `bool` | `true` | no |
