1 個回答
- 最新
- 最多得票
- 最多評論
0
Hello.
I think it's difficult because Lightsail metrics are independent from CloudWatch.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-resource-health-metrics
It may be possible to create a Lambda that retrieves metric data called "NetworkOut" every few minutes and stops when the total data exceeds the free data transfer amount.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lightsail/client/get_instance_metric_data.html
相關內容
- AWS 官方已更新 3 年前
- AWS 官方已更新 3 年前