

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Resources
<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-examples](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-s3-bucket.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)
+ [企業 DevOps：為什麼您應該執行您建置的內容](https://aws.amazon.com//blogs/enterprise-strategy/enterprise-devops-why-you-should-run-what-you-build/) 
+ [將日誌資料匯出至 Amazon S3](https://docs.aws.amazon.com//AmazonCloudWatch/latest/logs/S3Export.html)
+ [Amazon OpenSearch Service 中的精細存取控制](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>
+ [Amazon 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) 
+ [設定 procstat 的 CloudWatch 代理程式](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) 
+ [使用收集的 擷取自訂指標](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) 

## Amazon EC2 和內部部署伺服器的 CloudWatch 代理程式安裝方法
<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) 
+ [ 使用 Spot 執行個體](https://docs.aws.amazon.com//AWSEC2/latest/UserGuide/using-spot-instances.html) 

## 在 Amazon ECS 上記錄和監控
<a name="chapter-6"></a>
+ [amazon-cloudwatch-logs-for-fluent-bit](https://github.com/aws/amazon-cloudwatch-logs-for-fluent-bit) 
+ [Amazon 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)
+ [Amazon ECS 容器代理程式](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-versions.html)
+ [Amazon 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) 
+ [擷取 Amazon 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)
+ [Amazon EKS 服務水準協議](https://aws.amazon.com//eks/sla/) 
+ [Container Insights 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 上適用於 Amazon 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 Pod](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) 
+ [metrics-server](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 Logs](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/Container-Insights-EKS-logs.html) 
+ [將 FluentD 設定為 DaemonSet，以將日誌傳送至 CloudWatch Logs](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 Server 指標](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus-Setup-configure.html#ContainerInsights-Prometheus-Setup-new-exporters) 
+ [垂直 Pod Autoscaler](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/) 
+ [Elastic 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 Logs 資料串流至 Amazon OpenSearch Service](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 Service Management Cloud 的服務管理連接器](https://docs.aws.amazon.com/smc/latest/ag/integrations-jsmcloud.html)
+ [AWS 適用於 Jira Service Management Data Center 的 Service Management Connector](https://docs.aws.amazon.com/smc/latest/ag/integrations-jiraservicedesk.html)
+ [AWS Service Management Connector for 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) 
+ [在 Amazon 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 CloudWatch 指標數學可簡化 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 Container Insights](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) 
+ [Amazon EventBridge AWS 服務 中來自 的事件](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) 
+ [使用 CloudWatch Logs 監控 CloudTrail 日誌檔案 CloudWatch ](https://docs.aws.amazon.com//awscloudtrail/latest/userguide/monitor-cloudtrail-log-files-with-cloudwatch-logs.html) 
+ [將資料庫日誌發佈至 CloudWatch Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.Procedural.UploadtoCloudWatch.html) 
+ [將流程日誌發佈至 CloudWatch Logs](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)
+ [Amazon 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/) 