Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Disable connection logs for your Application Load Balancer
You can disable connection logs for your load balancer at any time. After you
disable connection logs, your connection logs remain in your S3 bucket until you delete
them. For more information, see Creating, configuring, and working with buckets in the
Amazon S3 User Guide.
- Console
-
To disable connection logs
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose Load Balancers.
-
Select the name of your load balancer to open its details page.
-
On the Attributes tab, choose
Edit.
-
For Monitoring, turn off Connection
logs.
-
Choose Save changes.
- Amazon CLI
-
To disable connection logs
Use the modify-load-balancer-attributes command.
aws elbv2 modify-load-balancer-attributes \
--load-balancer-arn load-balancer-arn
\
--attributes Key=connection_logs.s3.enabled,Value=false