- 最新
- 最多得票
- 最多評論
Hello,
Unfortunately, AWS Container Insights is specifically designed to work with containerized environments managed by AWS ECS or EKS. It's not directly applicable to Docker containers running on standalone EC2 instances.
Alternatives for Monitoring Docker on EC2
1.CloudWatch Agent:
- Install the CloudWatch Agent on your EC2 instances.
- Configure it to collect custom metrics from your Docker containers using the Metric API.
- This approach requires manual configuration and scripting.
2.Third-Party Monitoring Tools:
- Many third-party tools like Datadog, New Relic, Prometheus, and others offer comprehensive container monitoring capabilities.
- These tools often provide agents that can be installed on EC2 instances to collect container metrics.
3.Docker Stats and Logging:
- Use Docker's built-in docker stats command to monitor container resource utilization in real-time.
- Configure Docker to log container output to files or a centralized logging service for analysis.
No, AWS Container Insights is specifically designed for container environments managed by AWS ECS or EKS
Thanks for getting back to me
I will say the opposite...
Yes, it is possible to collect container metrics from a Docker deployment on AWS EC2 instances (not using AWS ECS or EKS) with AWS Container Insights. You can achieve this by deploying the CloudWatch agent and configuring it to collect Docker container metrics.
Thanks for getting back. I suppose that's a good way to get around having to redeploy my design on ECS. Would you happen to have any resources I could follow to better help me with this?
相關內容
- 已提問 1 年前
- AWS 官方已更新 4 個月前
- AWS 官方已更新 1 年前
Thanks for getting back to me. I agree; insights would've been purposefully designed to help view metrics in ECS/ EKS deployed environments. We already use Cloud Watch to monitor the EC2 nodes, and it would be helpful to have some functionality to monitor the container running on top of them, too. Datadog sounds promising although Solarwinds Cloud Observability looks promising too.