Skip to content

Commit

Permalink
update elb docs (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
sannya-singal authored Oct 6, 2023
1 parent 56ef835 commit 577aac3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/en/user-guide/aws/elastic-load-balancing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ $ awslocal elbv2 register-targets --targets Id=127.0.0.1,Port=5678,AvailabilityZ
--target-group-arn $targetGroup
{{< /command >}}

{{< alert title="Note">}}
Note that in some cases the `targets` parameter `Id` can be the `Gateway` address of the docker container. You can find the gateway address by running `docker inspect <container_id>`.
{{< /alert >}}

### Create a listener and a rule

We create a for the load balancer using the [`CreateListener`](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateListener.html) API. The following command creates a listener for the load balancer created in the previous step:
Expand Down

0 comments on commit 577aac3

Please sign in to comment.