aws elb modify-load-balancer-attributes
command to enable access logs for your ELB.--load-balancer-name
parameter to specify the name of your ELB.--load-balancer-attributes
parameter to set the access logs configuration.--access-log
parameter with the desired settings, such as the S3 bucket name and prefix for the logs.aws elb modify-load-balancer-attributes
command to enable cross-zone load balancing for your ELB.--load-balancer-name
parameter to specify the name of your ELB.--load-balancer-attributes
parameter to set the cross-zone load balancing configuration.--cross-zone-load-balancing
parameter with the value true
to enable cross-zone load balancing.aws elb modify-load-balancer-attributes
command to enable connection draining for your ELB.--load-balancer-name
parameter to specify the name of your ELB.--load-balancer-attributes
parameter to set the connection draining configuration.--connection-draining
parameter with the value true
to enable connection draining.--connection-draining-timeout
parameter to set the timeout value for connection draining.elb_name
, bucket_name
, security_group_id
) with the actual values specific to your environment.