![](/img/trans.png)
[英]With Boto3, how can I get volumes that are smaller than Y in a list of EC2 Instances?
[英]How can I use Python (boto3) to determine which EC2 instances have CloudWatch agents?
我正在編寫 Python 腳本以確定哪些 EC2 實例安裝了 CloudWatch 代理,哪些沒有。 我從CloudWatch Agent Troubleshooting獲得了一些信息,但不知道如何以編程方式實現它。 我使用 SSM、EC2 還是其他東西?
我認為 boto3 function send_command是我正在尋找的。 謝謝大家。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.