简体   繁体   English

"AWS Cloudwatch 监控"

[英]AWS Cloudwatch Monitoring

Just wondering if the AWS cloudwatch runs on the same VPC where i have all my applications are running?只是想知道 AWS cloudwatch 是否在我运行所有应用程序的同一 VPC 上运行?

Is there any chance that AWS cloudwatch might go down and we may loose the monitoring capability? AWS cloudwatch 是否有可能出现故障,我们可能会失去监控能力?

Do we need to have a monitoring mechanism to check the Cloudwatch health?我们是否需要一个监控机制来检查 Cloudwatch 的健康状况?

Thanks谢谢

AWS Cloudwatch isn't run on your instances. AWS Cloudwatch 不在您的实例上运行。 Its infrastructure is fully managed by Amazon and independent from your VPC.它的基础设施完全由亚马逊管理,独立于您的 VPC。 You can see it as a SaaS (Software as a Service).您可以将其视为 SaaS(软件即服务)。

So you don't have to worry about that.所以你不必担心。 For more informations, please see: https://aws.amazon.com/cloudwatch/有关更多信息,请参阅: https : //aws.amazon.com/cloudwatch/

Cloudwatch collects data from the host OS, where your VMs are actually running. Cloudwatch从您的虚拟机实际运行的主机操作系统收集数据。

If the physical server had a significant issue both cloudwatch and your VM would go down but in that case the VM would get started automatically on another physical server.如果物理服务器出现重大问题,cloudwatch 和您的 VM 都会出现故障,但在这种情况下,VM 会在另一台物理服务器上自动启动。 In such a case, recovery would be usually quite quickly.在这种情况下,恢复通常会很快。

You don't need to check Cloudwatch at all because AWS handles that but you could add alerts for things such as CPU usage on your VMs.您根本不需要检查Cloudwatch ,因为 AWS 会处理它,但您可以为 VM 上的 CPU 使用率等事件添加警报。

Because Cloudwatch doesn't run on your machines it can't know some things such as memory usage, disk space usage or others so if you need more advanced monitoring capabilities you might consider running something like collectd inside your virtual machine.因为Cloudwatch不在你的机器上运行,它无法知道一些事情,比如内存使用、磁盘空间使用或其他,所以如果你需要更高级的监控功能,你可以考虑在你的虚拟机中运行诸如collectd东西。

Just wondering if the AWS cloudwatch runs on the same VPC where i have all my applications are running?只是想知道 AWS cloudwatch 是否在我运行所有应用程序的同一 VPC 上运行?

If you chose to install CloudWatch Agent on your EC2 then only it runs in your EC2 and thus in the VPC your EC2 is provisioned.如果您选择在您的 EC2 上安装 CloudWatch 代理,那么只有它在您的 EC2 中运行,因此在 VPC 中您的 EC2 被预置。

CloudWatch service that publishes/maintain logs, metrics, alarms etc is managed by AWS and runs outside your VPC.发布/维护日志、指标、警报等的 CloudWatch 服务由 AWS 管理并在您的 VPC 之外运行。

CloudWatch has a SLA of 99.9% https://aws.amazon.com/cloudwatch/sla/ CloudWatch 的 SLA 为 99.9% https://aws.amazon.com/cloudwatch/sla/

Is there any chance that AWS cloudwatch might go down and we may loose the monitoring capability? AWS cloudwatch 是否有可能出现故障,我们可能会失去监控能力?

CloudWatch like any other service can have outages and it did have some in the past but I have never seen any data getting lost, only temporarily not being available or slow to retrieve during the outage. CloudWatch 像任何其他服务一样可能会出现中断,过去确实有过中断,但我从未见过任何数据丢失,只是在中断期间暂时不可用或检索缓慢。

Do we need to have a monitoring mechanism to check the Cloudwatch health?我们是否需要一个监控机制来检查 Cloudwatch 的健康状况?

SLA is already 99.9% for CloudWatch Service so chances of catching a blip is very rare on your own monitoring mechanism. CloudWatch 服务的 SLA 已经达到 99.9%,因此在您自己的监控机制上,捕捉到信号的机会非常少。

If you are using CloudWatch Agent then consider checking health of agent to make sure it is in running state (you can use AWS System Manager Run command).如果您使用 CloudWatch 代理,请考虑检查代理的运行状况以确保其处于运行状态(您可以使用 AWS System Manager Run 命令)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM