Skip to content

Commit

Permalink
Add worked example
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Dec 18, 2024
1 parent 5b8ebb6 commit defed43
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/en/user-guide/aws/elb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,18 @@ To make a request against an ELB with id `<elb-id>`, use the URL:
http(s)://localhost.localstack.cloud:4566/_aws/elb/<elb-id>/<elb-path>
```

Here's an example of how you would access the load balancer with a name of `example-lb` with the subdomain-based URL format:

```bash
http(s)://example-lb.elb.localhost.localstack.cloud:4566/test/path
```

With the alternative URL structure:

```bash
http(s)://localhost.localstack.cloud:4566/_aws/elb/example-lb/test/path
```

## Examples

The following code snippets and sample applications provide practical examples of how to use ELB in LocalStack for various use cases:
Expand Down

0 comments on commit defed43

Please sign in to comment.