

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 资源
<a name="additional-resources"></a>

## 简介
<a name="chapter-1"></a>
+ [AWS Well-Architected](https://aws.amazon.com/architecture/well-architected/)

## 目标业务成果
<a name="chapter-2"></a>
+ [logging-monitoring-apg-guide-示例](https://github.com/aws-samples/logging-monitoring-apg-guide-examples)
+ [云计算的六大优势](https://docs.aws.amazon.com//whitepapers/latest/aws-overview/six-advantages-of-cloud-computing.html)

## 规划您的 CloudWatch 部署
<a name="chapter-3"></a>
+ [AWS Organizations 术语和概念](https://docs.aws.amazon.com//organizations/latest/userguide/orgs_getting-started_concepts.html)
+ [AWS Systems Manager 快速设置](https://docs.aws.amazon.com//systems-manager/latest/userguide/systems-manager-quick-setup.html)
+ [使用 CloudWatch代理从 Amazon EC2 实例和本地服务器收集指标和日志](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html)
+ [cloudwatch-config-s3bucket.yaml](https://github.com/aws-samples/logging-monitoring-apg-guide-examples/blob/main/cloudwatch-config-s3-bucket.yaml) 
+ [使用向导创建 CloudWatch 代理配置文件](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/create-cloudwatch-agent-configuration-file-wizard.html)
+ [Enterprise DevOps：为什么要运行自己构建的东西](https://aws.amazon.com//blogs/enterprise-strategy/enterprise-devops-why-you-should-run-what-you-build/) 
+ [Exporting log data to Amazon S3](https://docs.aws.amazon.com//AmazonCloudWatch/latest/logs/S3Export.html)
+ [Amazon 服务中的精细访问控制 OpenSearch ](https://docs.aws.amazon.com//opensearch-service/latest/developerguide/fgac.html)
+ [Lambda 配额](https://docs.aws.amazon.com//lambda/latest/dg/gettingstarted-limits.html)
+ [手动创建或编辑 CloudWatch 代理配置文件](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html#CloudWatch-Agent-Configuration-File-Agentsection)
+ [通过订阅实时处理日志数据](https://docs.aws.amazon.com//AmazonCloudWatch/latest/logs/Subscriptions.html)
+ [可供构建的工具 AWS](https://aws.amazon.com/developer/tools/) 

## 为 EC2 实例和本地服务器配置 CloudWatch 代理
<a name="chapter-4"></a>
+ [亚马逊 EC2 指标维度](https://docs.aws.amazon.com//AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html#ec2-cloudwatch-dimensions) 
+ [可突发性能实例](https://docs.aws.amazon.com//AWSEC2/latest/UserGuide/burstable-performance-instances.html) 
+ [CloudWatch 代理预定义指标集](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/create-cloudwatch-agent-configuration-file-wizard.html#cloudwatch-agent-preset-metrics) 
+ [使用 procstat 插件收集流程指标](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-procstat-process-metrics.html) 
+ [为 procsta CloudWatch t 配置代理](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-procstat-process-metrics.html#CloudWatch-Agent-procstat-configuration) 
+ [管理对您的 EC2 实例的详细监控](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-detailed-monitoring.html) 
+ [摄取高基数日志并生成带有嵌入式指标格式的指标 CloudWatch ](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format.html) 
+ [使用日志组和日志流](https://docs.aws.amazon.com//AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) 
+ [列出您的实例的可用 CloudWatch 指标](https://docs.aws.amazon.com//AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html) 
+ [PutLogEvents](https://docs.aws.amazon.com//AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html) 
+ [使用 collectd 检索自定义指标](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-custom-metrics-collectd.html) 
+ [使用 StatsD 检索自定义指标](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-custom-metrics-statsd.html) 

## CloudWatch 适用于 Amazon EC2 和本地服务器的代理安装方法
<a name="chapter-5"></a>
+ [在混合和多云环境中创建 Systems Manager 所需的 IAM 服务角色](https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-multicloud-service-role.html) 
+ [为混合环境创建托管实例激活](https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-activation-managed-nodes.html) 
+ [创建用于 CloudWatch 代理的 IAM 角色和用户](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/create-iam-roles-for-cloudwatch-agent.html) 
+ [使用命令行下载并配置 CloudWatch 代理](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/download-cloudwatch-agent-commandline.html)
+ [如何将使用 Systems Manager 代理和统一 CloudWatch 代理的本地服务器配置为仅使用临时证书？](https://repost.aws/knowledge-center/cloudwatch-on-premises-temp-credentials) 
+ [堆栈集操作的先决条件](https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html) 
+ [使用竞价型实例](https://docs.aws.amazon.com//AWSEC2/latest/UserGuide/using-spot-instances.html) 

## 在 Amazon ECS 上进行日志记录和监控
<a name="chapter-6"></a>
+ [amazon-cloudwatch-logs-for-fluentbit](https://github.com/aws/amazon-cloudwatch-logs-for-fluent-bit) 
+ [亚马逊 ECS CloudWatch 指标](https://docs.aws.amazon.com//AmazonECS/latest/developerguide/cloudwatch-metrics.html)
+ [Amazon ECS Container Insights 指标](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/Container-Insights-metrics-ECS.html)
+ [亚马逊 ECS 容器代理](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-versions.html)
+ [亚马逊 ECS 启动类型](https://docs.aws.amazon.com//AmazonECS/latest/developerguide/launch_types.html) 
+ [部署 CloudWatch 代理以收集 Amazon ECS 上的 EC2 实例级别指标](https://github.com/aws-samples/logging-monitoring-apg-guide-examples/blob/main/examples/ecs/cwagent-ecs-instance-metric-cfn.yaml) 
+ [ecs\_cluster\_with\_cloudwatch\_linux.yaml](https://github.com/aws-samples/logging-monitoring-apg-guide-examples/blob/main/examples/ecs/ecs_cluster_with_cloudwatch_linux.yaml)
+ [ecs\_cw\_emf\_example](https://github.com/aws-samples/logging-monitoring-apg-guide-examples/tree/main/examples/ecs/ecs_cw_emf_example) 
+ [ecs\_firelense\_emf\_example](https://github.com/aws-samples/logging-monitoring-apg-guide-examples/tree/main/examples/ecs/ecs_firelense_emf_example) 
+ [ecs-task-nginx-firelense.json](https://github.com/aws-samples/logging-monitoring-apg-guide-examples/blob/main/examples/ecs/ecs-task-nginx-firelense.json) 
+ [检索亚马逊 ECS 优化的 AMI 元数据](https://docs.aws.amazon.com//AmazonECS/latest/developerguide/retrieve-ecs-optimized_AMI.html) 
+ [使用 awslogs 日志驱动程序](https://docs.aws.amazon.com//AmazonECS/latest/developerguide/using_awslogs.html)
+ [使用客户端库生成嵌入式指标格式日志](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format_Libraries.html) 

## Amazon EKS 中的日志记录和监控
<a name="chapter-7"></a>
+ [Amazon EKS 控制面板日志记录](https://docs.aws.amazon.com//eks/latest/userguide/control-plane-logs.html) 
+ [amazon\_eks\_managed\_node\_group\_launch\_config.yaml](https://github.com/aws-samples/logging-monitoring-apg-guide-examples/blob/main/examples/eks/amazon_eks_managed_node_group_launch_config.yaml) 
+ [Amazon EKS 节点](https://docs.aws.amazon.com//eks/latest/userguide/eks-compute.html) 
+ [amazon-eks-nodegroup.yaml](https://github.com/aws-samples/logging-monitoring-apg-guide-examples/blob/main/examples/eks/amazon-eks-nodegroup.yaml)
+ [亚马逊 EKS 服务等级协议](https://aws.amazon.com//eks/sla/) 
+ [容器洞察 Prometheus 指标监控](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus.html) 
+ [使用 Prometheus 控制平面指标](https://docs.aws.amazon.com//eks/latest/userguide/prometheus.html) 
+ [Fargate 日志记录](https://docs.aws.amazon.com//eks/latest/userguide/fargate-logging.html) 
+ [Fargate 上适用于亚马逊 EKS 的 Fluent Bit](https://aws.amazon.com//blogs/containers/fluent-bit-for-amazon-eks-on-aws-fargate-is-here/) 
+ [在 Fargate 上使用 Amazon EKS 时如何捕获应用程序日志](https://aws.amazon.com//blogs/containers/how-to-capture-application-logs-when-using-amazon-eks-on-aws-fargate/) 
+ [安装 CloudWatch 代理以收集 Prometheus 指标](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus-Setup.html#ContainerInsights-Prometheus-Setup-install-agent) 
+ [安装 Kubernetes 指标服务器](https://docs.aws.amazon.com//eks/latest/userguide/metrics-server.html) 
+ [kubernetes /仪表板](https://github.com/kubernetes/dashboard) 
+ [Kubernetes Horizontal Pod Autoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) 
+ [Kubernetes 控制平面组件](https://kubernetes.io/docs/concepts/overview/components/#control-plane-components) 
+ [Kubernetes 吊舱](https://kubernetes.io/docs/concepts/workloads/pods/) 
+ [启动模板支持](https://docs.aws.amazon.com//eks/latest/userguide/launch-templates.html) 
+ [托管节点组](https://docs.aws.amazon.com//eks/latest/userguide/managed-node-groups.html) 
+ [托管节点更新行为](https://docs.aws.amazon.com//eks/latest/userguide/managed-node-update-behavior.html) 
+ [指标服务器](https://github.com/kubernetes-sigs/metrics-server) 
+ [使用 Prometheus 和 Grafana 在 Fargate 上监控 Amazon EKS](https://aws.amazon.com//blogs/containers/monitoring-amazon-eks-on-aws-fargate-using-prometheus-and-grafana/) 
+ [prometheus\_jmx](https://github.com/aws-samples/logging-monitoring-apg-guide-examples/tree/main/examples/eks/prometheus_jmx) 
+ [prometheus /jmx\_exporter](https://github.com/prometheus/jmx_exporter) 
+ [抓取其他 Prometheus 来源并导入这些指标](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus-Setup-configure.html) 
+ [自行管理的节点](https://docs.aws.amazon.com//eks/latest/userguide/worker.html) 
+ [将日志发送到 CloudWatch 日志](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/Container-Insights-EKS-logs.html) 
+ [将 FluentD 设置为 DaemonSet a 以将日志发送到日志 CloudWatch ](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/Container-Insights-setup-logs.html) 
+ [在 Amazon EKS 和 Kubernetes 上设置 Java/JMX 示例工作负载](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus-Sample-Workloads-javajmx.html) 
+ [添加新 Prometheus 抓取目标的教程：Prometheus API 服务器指标](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus-Setup-configure.html#ContainerInsights-Prometheus-Setup-new-exporters) 
+ [垂直吊舱自动扩缩器](https://docs.aws.amazon.com//eks/latest/userguide/vertical-pod-autoscaler.html) 

## 的日志和指标 AWS Lambda
<a name="chapter-7"></a>
+ [Lambda 调用错误](https://docs.aws.amazon.com/lambda/latest/api/API_Invoke.html) 
+ [日志记录 — 适用于 Python 的日志工具](https://docs.python.org/3/library/logging.html) 
+ [使用客户端库生成嵌入式指标格式日志](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format_Libraries.html)
+ [使用 Lambda 函数指标](https://docs.aws.amazon.com//lambda/latest/dg/monitoring-metrics.html) 

## 搜索和分析日志 CloudWatch
<a name="chapter-8"></a>
+ [Beats 家族](https://www.elastic.co/beats/) 
+ [弹性 Logstash](https://www.elastic.co/logstash)
+ [弹性堆栈](https://www.elastic.co/elastic-stack?ultron=B-Stack-Trials-AMER-US-W-Exact&gambit=Elasticsearch-ELK&blade=adwords-s&hulk=cpc&Device=c&thor=elk%20elasticsearch%20logstash%20kibana&gclid=EAIaIQobChMI3raE5vWK8AIVTT6tBh2idgBbEAAYASAAEgKsoPD_BwE) 
+ [将 CloudWatch 日志数据流式传输到 Amazon OpenSearch 服务](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_OpenSearch_Stream.html)

## 带有的警报选项 CloudWatch
<a name="chapter-9"></a>
+ [amazon-cloudwatch-auto-alarms](https://github.com/aws-samples/amazon-cloudwatch-auto-alarms) 
+ [AWS 适用于 Jira 服务管理云的服务管理连接器](https://docs.aws.amazon.com/smc/latest/ag/integrations-jsmcloud.html)
+ [AWS 适用于 Jira 服务管理数据中心的服务管理连接器](https://docs.aws.amazon.com/smc/latest/ag/integrations-jiraservicedesk.html)
+ [AWS 的服务管理连接器 ServiceNow](https://docs.aws.amazon.com/smc/latest/ag/sn-what-is.html) 

## 监控应用程序和服务可用性
<a name="chapter-10"></a>
+ [配置 DNS 故障转移](https://docs.aws.amazon.com//Route53/latest/DeveloperGuide/dns-failover-configuring.html) 

## 使用跟踪应用程序 AWS X-Ray
<a name="chapter-11"></a>
+ [Amazon ECS 任务联网](https://docs.aws.amazon.com//AmazonECS/latest/developerguide/task-networking.html) 
+ [在 X-Ray 控制台中配置采样规则](https://docs.aws.amazon.com//xray/latest/devguide/xray-console-sampling.html?icmpid=docs_xray_console) 
+ [运行 Windows PowerShell 命令或脚本](https://docs.aws.amazon.com//systems-manager/latest/userguide/walkthrough-powershell.html#walkthrough-powershell-run-script) 
+ [在亚马逊 EC2 上运行 X-Ray 守护程序](https://docs.aws.amazon.com//xray/latest/devguide/xray-daemon-ec2.html) 
+ [向 X-Ray 发送跟踪数据](https://docs.aws.amazon.com//xray/latest/devguide/xray-api-sendingdata.html)
+ [X-Ray 中的服务图](https://docs.aws.amazon.com//xray/latest/devguide/xray-concepts.html#xray-concepts-servicegraph)

## 仪表板和可视化效果 CloudWatch
<a name="chapter-12"></a>
+ [Amazon M CloudWatch etric Math 简化了对您的 Amazon EFS 文件系统的近乎实时的监控](https://aws.amazon.com//blogs/mt/amazon-cloudwatch-metric-math-simplifies-near-real-time-monitoring-of-your-amazon-efs-file-systems-and-more/)
+ [设置 CloudWatch容器见解](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/deploy-container-insights.html) 
+ [使用公制数学](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/using-metric-math.html)

## CloudWatch 与 AWS 服务集成
<a name="chapter-13"></a>
+ [AWS CloudTrail 支持的服务和集成](https://docs.aws.amazon.com//awscloudtrail/latest/userguide/cloudtrail-aws-service-specific-topics.html) 
+ [来自 AWS 服务 Amazon 的活动 EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html)
+ [通过以下方式交付的 AWS 服务事件 AWS CloudTrail](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event-cloudtrail.html) 
+ [ CloudTrail 使用日志监控 CloudWatch 日志文件](https://docs.aws.amazon.com//awscloudtrail/latest/userguide/monitor-cloudtrail-log-files-with-cloudwatch-logs.html) 
+ [将数据库日志发布到 CloudWatch 日志](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.Procedural.UploadtoCloudWatch.html) 
+ [将流日志发布到 CloudWatch 日志](https://docs.aws.amazon.com//vpc/latest/userguide/flow-logs-cwl.html) 

## 用于生成控制面板和可视化的 Amazon Managed Grafana
<a name="chapter-14"></a>
+ [管理账户的最佳实践 AWS Organizations](https://docs.aws.amazon.com//organizations/latest/userguide/orgs_best-practices_mgmt-acct.html)
+ [亚马逊 Managed Grafana 的内置数据源](https://docs.aws.amazon.com//grafana/latest/userguide/AMG-data-sources-builtin.html) 
+ [中的跨账户和跨区域控制面板 CloudWatch](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/create_xaxr_dashboard.html)
+ [Grafana 插件](https://grafana.com/grafana/plugins/) 