PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
elbv2
**To register targets with a target group by instance ID** This example registers the specified instances with the specified target group. Command:: aws elbv2 register-targets --target-group-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067 --targets Id=i-80c8dd94 Id=i-ceddcd4d **To register targets with a target group by IP address** This example registers the specified IP addresses with the specified target group. The target group must have a target type of ``ip``. Command:: aws elbv2 register-targets --target-group-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-tcp-ip-targets/8518e899d173178f --targets Id=10.0.1.15 Id=10.0.1.23 **To register targets with a target group using port overrides** This example registers the specified instance with the specified target group using multiple ports. This enables you to register ECS containers on the same instance as targets in the target group. Command:: aws elbv2 register-targets --target-group-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-internal-targets/3bb63f11dfb0faf9 --targets Id=i-80c8dd94,Port=80 Id=i-80c8dd94,Port=766
[-] modify-listener.rst
[edit]
[-] describe-listener-certificates.rst
[edit]
[-] create-target-group.rst
[edit]
[-] add-tags.rst
[edit]
[-] describe-target-group-attributes.rst
[edit]
[-] modify-load-balancer-attributes.rst
[edit]
[+]
..
[-] describe-rules.rst
[edit]
[-] delete-target-group.rst
[edit]
[-] describe-load-balancer-attributes.rst
[edit]
[-] delete-listener.rst
[edit]
[-] set-subnets.rst
[edit]
[-] set-security-groups.rst
[edit]
[-] add-listener-certificates.rst
[edit]
[-] modify-rule.rst
[edit]
[-] describe-target-groups.rst
[edit]
[-] modify-target-group-attributes.rst
[edit]
[-] describe-account-limits.rst
[edit]
[-] delete-rule.rst
[edit]
[-] delete-load-balancer.rst
[edit]
[-] register-targets.rst
[edit]
[-] describe-tags.rst
[edit]
[-] modify-target-group.rst
[edit]
[-] remove-tags.rst
[edit]
[-] describe-ssl-policies.rst
[edit]
[-] remove-listener-certificates.rst
[edit]
[-] create-rule.rst
[edit]
[-] deregister-targets.rst
[edit]
[-] set-ip-address-type.rst
[edit]
[-] create-listener.rst
[edit]
[-] describe-target-health.rst
[edit]
[-] describe-listeners.rst
[edit]
[-] set-rule-priorities.rst
[edit]
[-] describe-load-balancers.rst
[edit]
[-] create-load-balancer.rst
[edit]