[{"data":1,"prerenderedAt":358},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-cloudops-engineer-associate\u002Flessons\u002Famazon-ecs-cloudwatch-telemetry-collection-soa-c03":185},[4,22,36,48,60,72,84,97,109,120,130,141,154,163,175],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},22,"aws-certified-solutions-architect-professional-sap-c03","Prepare for the AWS Certified Solutions Architect - Professional (SAP-C03) exam with realistic practice questions on architecture, security, cost, resilience and automation, with detailed explanations.",767,true,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Solutions Architect - Professional","SAP-C02","aws-certified-solutions-architect-professional","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-professionalsap-c02\u002Fcovers\u002Faws-SAP-C02.png","advanced",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"SAP-C03",null,"2026-11-17",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},5,"aws-certified-cloud-practitioner-clf-c02","Master your AWS Certified Cloud Practitioner exam with our Practice Exam Simulator. Prepare effectively and assess your readiness with realistic practice exams designed to mirror the most popular official AWS exam.",937,"2026-10-30T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":24,"code":30,"dateBetaStart":20,"dateReleased":35,"pageSlug":31},"2023-09-19",{"id":37,"slug":38,"description":39,"questionCount":40,"isActive":9,"datePublicModified":27,"difficulty":41,"examVersion":46},8,"aws-certified-devops-engineer-professional-dop-c02","Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.",1040,{"providerId":12,"title":42,"subtitle":43,"slug":44,"coverImageUrl":45,"level":17},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":38,"code":43,"dateBetaStart":20,"dateReleased":47,"pageSlug":44},"2023-03-07",{"id":49,"slug":50,"description":51,"questionCount":52,"isActive":9,"datePublicModified":27,"difficulty":53,"examVersion":57},11,"aws-certified-ai-practitioner-aif-c01","Prepare for the AWS Certified AI Practitioner exam with our practice exam simulator. Realistic questions on AI, machine learning and generative AI fundamentals, with detailed explanations, help you find your knowledge gaps and assess your readiness.",928,{"providerId":12,"title":54,"subtitle":55,"slug":56,"coverImageUrl":45,"level":33},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":50,"code":55,"dateBetaStart":58,"dateReleased":59,"pageSlug":56},"2024-08-13","2024-10-22",{"id":12,"slug":61,"description":62,"questionCount":63,"isActive":9,"datePublicModified":27,"difficulty":64,"examVersion":70},"aws-certified-solutions-architect-associate-saa-c03","Unlock your potential with the AWS Certified Solutions Architect - Associate Practice Exam Simulator. This comprehensive tool is designed to prepare you thoroughly and assess your readiness for the most sought-after AWS associate certification.",1203,{"providerId":12,"title":65,"subtitle":66,"slug":67,"coverImageUrl":68,"level":69},"AWS Certified Solutions Architect - Associate","SAA-C03","aws-certified-solutions-architect-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-associatesaa-c03\u002Fcovers\u002Faws-SAA-C03.png","associate",{"slug":61,"code":66,"dateBetaStart":20,"dateReleased":71,"pageSlug":67},"2022-08-30",{"id":73,"slug":74,"description":75,"questionCount":76,"isActive":9,"datePublicModified":27,"difficulty":77,"examVersion":81},9,"aws-certified-data-engineer-associate-dea-c01","Prepare for your AWS Certified Data Engineer - Associate exam with our practice exam simulator. Featuring real exam scenarios, detailed explanations, and instant feedback to boost your confidence and success rate.",891,{"providerId":12,"title":78,"subtitle":79,"slug":80,"coverImageUrl":45,"level":69},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":74,"code":79,"dateBetaStart":82,"dateReleased":83,"pageSlug":80},"2023-11-27","2024-03-12",{"id":85,"slug":86,"description":87,"questionCount":88,"isActive":9,"datePublicModified":89,"difficulty":90,"examVersion":94},17,"aws-certified-generative-ai-developer-professional-aip-c01","Get ready for the AWS Certified Generative AI Developer - Professional exam with our practice exam simulator. Realistic scenario-based questions with detailed explanations help you assess your readiness to build generative AI solutions on AWS.",982,"2026-10-29T00:00:00.000Z",{"providerId":12,"title":91,"subtitle":92,"slug":93,"coverImageUrl":45,"level":17},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":86,"code":92,"dateBetaStart":95,"dateReleased":96,"pageSlug":93},"2025-11-28","2026-03-17",{"id":98,"slug":99,"description":100,"questionCount":101,"isActive":9,"datePublicModified":89,"difficulty":102,"examVersion":107},13,"aws-certified-security-specialty-scs-c03","Advance your career in cloud security with the AWS Certified Security - Specialty (SCS-C03) Exam Simulator. Realistic, scenario-based practice exams mirror the official exam, with detailed explanations to close your knowledge gaps.",864,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":99,"code":104,"dateBetaStart":20,"dateReleased":108,"pageSlug":105},"2025-12-01",{"id":110,"slug":111,"description":112,"questionCount":113,"isActive":9,"datePublicModified":89,"difficulty":114,"examVersion":118},19,"aws-certified-machine-learning-engineer-associate-mla-c02","Prepare for the AWS Certified Machine Learning Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you find your knowledge gaps and assess your readiness to build and run ML workloads on AWS.",861,{"providerId":12,"title":115,"subtitle":116,"slug":117,"coverImageUrl":45,"level":69},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":111,"code":116,"dateBetaStart":119,"dateReleased":20,"pageSlug":117},"2026-09-29",{"id":121,"slug":122,"description":123,"questionCount":124,"isActive":9,"datePublicModified":89,"difficulty":125,"examVersion":129},15,"aws-certified-ai-business-strategist-aib-c01","Prepare for the AWS Certified AI Business Strategist exam with our practice exam simulator. Realistic, scenario-based questions with detailed explanations help you assess your readiness to lead AI adoption on AWS and close your knowledge gaps.",848,{"providerId":12,"title":126,"subtitle":127,"slug":128,"coverImageUrl":45,"level":33},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":122,"code":127,"dateBetaStart":119,"dateReleased":20,"pageSlug":128},{"id":131,"slug":132,"description":133,"questionCount":134,"isActive":9,"datePublicModified":89,"difficulty":135,"examVersion":139},21,"aws-certified-cloudops-engineer-associate-soa-c03","Prepare for the AWS Certified CloudOps Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you assess your readiness to deploy, operate and troubleshoot workloads on AWS.",862,{"providerId":12,"title":136,"subtitle":137,"slug":138,"coverImageUrl":45,"level":69},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":132,"code":137,"dateBetaStart":20,"dateReleased":140,"pageSlug":138},"2025-09-30",{"id":142,"slug":143,"description":144,"questionCount":145,"isActive":9,"datePublicModified":146,"difficulty":147,"examVersion":151},10,"aws-certified-advanced-networking-specialty-ans-c01","The AWS Certified Advanced Networking - Specialty practice exam simulates the real test, offering scenario-based questions that assess your ability to design, implement, and troubleshoot complex AWS networking solutions. ",681,"2024-11-13T00:00:00.000Z",{"providerId":12,"title":148,"subtitle":149,"slug":150,"coverImageUrl":45,"level":17},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":143,"code":149,"dateBetaStart":152,"dateReleased":153,"pageSlug":150},"2022-01-01","2022-07-12",{"id":155,"slug":156,"description":157,"questionCount":158,"isActive":9,"datePublicModified":159,"difficulty":160,"examVersion":161},6,"aws-certified-solutions-architect-professional-sap-c02","Elevate your career with the AWS Certified Solutions Architect - Professional Exam Simulator. Get ready to ace the most popular Professional AWS exam with our realistic practice exams. Assess your readiness, boost your confidence, and ensure your success.",789,"2024-06-06T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},{"slug":156,"code":14,"dateBetaStart":20,"dateReleased":162,"pageSlug":20},"2022-11-15",{"id":164,"slug":165,"description":166,"questionCount":167,"isActive":9,"datePublicModified":159,"difficulty":168,"examVersion":173},4,"aws-certified-developer-associate-dva-c02","Unlock your potential as a software developer with the AWS Certified Developer - Associate Exam Simulator! Prepare thoroughly with realistic practice exams designed to mirror the official exam.",399,{"providerId":12,"title":169,"subtitle":170,"slug":171,"coverImageUrl":172,"level":69},"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png",{"slug":165,"code":170,"dateBetaStart":20,"dateReleased":174,"pageSlug":171},"2023-02-28",{"id":176,"slug":177,"description":178,"questionCount":179,"isActive":9,"datePublicModified":159,"difficulty":180,"examVersion":181},7,"aws-certified-security-specialty-scs-c02","Advance your career in cloud cybersecurity with the AWS Certified Security - Specialty Exam Simulator! Tailored for professionals, this tool offers realistic practice exams to mirror the official exam.",5431,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},{"slug":177,"code":182,"dateBetaStart":20,"dateReleased":183,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":186,"title":187,"focus":188,"level":69,"components":189,"diagrams":212,"steps":236,"dateModified":353,"course":354,"nextLesson":355},"amazon-ecs-cloudwatch-telemetry-collection-soa-c03","Amazon ECS: CloudWatch telemetry collection","How to deploy and configure the CloudWatch agent as an ECS daemon service on EC2 container instances to collect metrics and logs for Container Insights.",[190,196,200,204,208],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-cloudwatch","service","Amazon CloudWatch","\u002Fimages\u002Fprovider-services\u002Famazon-cloudwatch\u002Fcovers\u002FArch_Amazon-CloudWatch_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":199,"provider":195},"amazon-ec2","Amazon EC2","\u002Fimages\u002Fprovider-services\u002Famazon-ec2\u002Fcovers\u002FArch_Amazon-EC2_64.png",{"key":201,"kind":192,"name":202,"icon":203,"provider":195},"amazon-s3","Amazon S3","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FArch_Amazon-Simple-Storage-Service_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"aws-cloudtrail","AWS CloudTrail","\u002Fimages\u002Fprovider-services\u002Faws-cloudtrail\u002Fcovers\u002FArch_AWS-CloudTrail_64.png",{"key":209,"kind":192,"name":210,"icon":211,"provider":195},"aws-x-ray","AWS X-Ray","\u002Fimages\u002Fprovider-services\u002Faws-x-ray\u002Fcovers\u002FArch_AWS-X-Ray_64.png",[213],{"key":214,"cards":215,"groups":228,"lines":229},"ecs-telemetry",[216,219,222,225],{"key":217,"component":197,"label":218},"host","ECS EC2 container instance",{"key":220,"component":191,"label":221},"agent","CloudWatch agent — ECS daemon task",{"key":223,"component":191,"label":224},"performance","CloudWatch Logs — Container Insights performance log group",{"key":226,"component":191,"label":227},"metrics","Container Insights metrics",[],[230,232,234],{"from":217,"to":220,"label":231},"Host telemetry",{"from":220,"to":223,"label":233},"EMF performance events",{"from":223,"to":226,"label":235},"Extracted metrics",[237,263,278,281,294,315,332,335,340],{"kind":238,"title":239,"body":240,"diagram":214,"walkthrough":241},"explanation","One collector on each container instance","\u003Cp>For an ECS cluster running on EC2, deploy the \u003Cstrong>CloudWatch agent\u003C\u002Fstrong> as an ECS service with the \u003Cstrong>DAEMON scheduling strategy\u003C\u002Fstrong>. ECS places one service task on each eligible container instance, including newly added instances. Eligibility depends on placement constraints and available resources; you do not maintain a desired task count.\u003C\u002Fp>\u003Cp>This collector gathers \u003Cstrong>EC2 instance-level telemetry\u003C\u002Fstrong> for Container Insights. It complements ECS-managed telemetry; it does not replace enabling Container Insights on the cluster. This host-daemon deployment is for EC2 container instances, not Fargate.\u003C\u002Fp>\u003Cp>The diagram follows the performance-data path. Container Insights uses \u003Cstrong>Embedded Metric Format (EMF)\u003C\u002Fstrong> performance events in CloudWatch Logs to produce metrics. Application output is a separate logging concern that you configure explicitly.\u003C\u002Fp>",[242,245,250,255,260],{"text":243,"cards":244},"The EC2 container instance supplies host resource information. This is the machine that the daemon must be able to inspect.",[217],{"text":246,"cards":247,"lines":248},"The CloudWatch agent runs as an ECS daemon task on that instance. Its configured host access lets it collect the instance telemetry.",[220],[249],{"from":217,"to":220},{"text":251,"cards":252,"lines":253},"The agent publishes EMF performance events to the CloudWatch Logs group \u002Faws\u002Fecs\u002Fcontainerinsights\u002F\u003Ccluster-name>\u002Fperformance.",[223],[254],{"from":220,"to":223},{"text":256,"cards":257,"lines":258},"CloudWatch extracts the metrics described by those performance events. Container Insights presents the resulting resource measurements.",[226],[259],{"from":223,"to":226},{"text":261,"cards":262},"The complete path is instance telemetry, local collection, performance-log ingestion, and metric extraction.",[],{"kind":264,"title":265,"exercise":266},"exercise","Follow one resource measurement",{"type":267,"diagram":214,"scenario":268,"path":269},"trace","An EC2 container instance has a new resource measurement ready for collection.",[270,272,274,276],{"card":217,"note":271},"The resource measurement originates on the EC2 container instance.",{"card":220,"note":273},"The local daemon collects the telemetry.",{"card":223,"note":275},"CloudWatch Logs receives the EMF performance event.",{"card":226,"note":277},"CloudWatch extracts the metric from the event.",{"kind":238,"title":279,"body":280},"Prepare the task definition and daemon service","\u003Cp>Start with the AWS-published \u003Cstrong>CloudWatch agent ECS EC2 task definition\u003C\u002Fstrong> for your instance operating system. For Linux, preserve its required host mounts and runtime settings: a container isolated from the host cannot collect the intended host data. Set the agent image, resource reservations, Region, and \u003Cstrong>taskRoleArn\u003C\u002Fstrong>. The task role supplies the running agent's AWS permissions; a task execution role handles startup work such as image pulls and configured log delivery.\u003C\u002Fp>\u003Cp>Supply the agent configuration through \u003Cstrong>CW_CONFIG_CONTENT\u003C\u002Fstrong> when using the published container pattern. The configuration \u003Ccode>{\"logs\":{\"metrics_collected\":{\"ecs\":{}}}}\u003C\u002Fcode> enables the ECS collection input. Its location under \u003Ccode>logs\u003C\u002Fcode> is deliberate: this input publishes performance events used to derive metrics. It does not mean that all application log files are collected.\u003C\u002Fp>\u003Cp>Register the task definition, then create an EC2 service in the target cluster with \u003Ccode>schedulingStrategy=DAEMON\u003C\u002Fcode>. For example, use \u003Ccode>aws ecs create-service --cluster my-cluster --service-name cwagent --task-definition cwagent --scheduling-strategy DAEMON --launch-type EC2\u003C\u002Fcode>. Do not supply a desired count. Enable Container Insights in the cluster settings as well; the daemon service and that cluster setting perform different jobs.\u003C\u002Fp>",{"kind":264,"title":282,"exercise":283},"Complete the deployment settings",{"type":284,"question":285,"text":286,"answers":287,"distractors":290},"placeholder","Fill in the scheduling strategy and task-definition field for the running collector.","Set the service scheduling strategy to {}. Give the running agent its AWS permissions through the task definition's {} field.",[288,289],"DAEMON","taskRoleArn",[291,292,293],"REPLICA","executionRoleArn","desiredCount",{"kind":238,"title":295,"body":296,"table":297},"Authorize delivery and choose which logs to collect","\u003Cp>Give the agent's \u003Cstrong>task role\u003C\u002Fstrong> permission to publish the required CloudWatch telemetry. \u003Cstrong>CloudWatchAgentServerPolicy\u003C\u002Fstrong> is an AWS-managed starting point; use the permissions required by the published ECS configuration and narrow them where appropriate. Keep these permissions separate from the task execution role. Also provide network access to the required AWS endpoints: correct IAM permissions do not create connectivity.\u003C\u002Fp>\u003Cp>The ECS collection input sends \u003Cstrong>performance logs\u003C\u002Fstrong> to the Container Insights performance log group. That CloudWatch Logs destination matters because CloudWatch extracts metrics from the EMF events there. An S3 bucket can store objects, but replacing this destination with S3 does not provide this CloudWatch Logs metric-extraction path.\u003C\u002Fp>\u003Cp>\u003Cstrong>Application logs\u003C\u002Fstrong> require their own configuration. Use the application's \u003Ccode>awslogs\u003C\u002Fcode> log driver for standard output and standard error, or configure agent file collection under \u003Ccode>logs.logs_collected.files.collect_list\u003C\u002Fcode>. For file collection, mount the host directory into the agent container and use the path visible inside that container. Neither daemon placement nor \u003Ccode>metrics_collected.ecs\u003C\u002Fcode> automatically discovers every application log.\u003C\u002Fp>",{"columns":298,"rows":302},[299,300,301],"Log path","Configured in","What it delivers",[303,307,311],[304,305,306],"ECS performance events","Agent ECS input","Metric-bearing telemetry",[308,309,310],"Application stdout\u002Fstderr","Application awslogs driver","Application output",[312,313,314],"Application files","Agent file collection","Selected mounted files",{"kind":264,"title":316,"exercise":317},"Restore the performance-event destination",{"type":318,"diagram":214,"requirement":319,"change":320,"tray":321,"hint":330,"explanation":331},"flaw","The agent's EMF performance events must enter CloudWatch Logs so CloudWatch can extract Container Insights metrics. Restore the service used for the performance log group.",{"card":223,"component":201},[322,324,326,328],{"component":191,"reason":323},"CloudWatch Logs receives the EMF performance events from which CloudWatch extracts metrics.",{"component":201,"reason":325},"S3 stores objects; it is not the CloudWatch Logs ingestion destination required by this path.",{"component":205,"reason":327},"CloudTrail records AWS activity; it is not the performance log group receiving the agent's EMF events.",{"component":209,"reason":329},"X-Ray handles tracing data, not this CloudWatch Logs performance-event ingestion.","The metric-extraction path depends on performance events arriving in a CloudWatch Logs log group.","The destination is CloudWatch Logs, represented by the CloudWatch card. S3 object storage does not replace this EMF ingestion and metric-extraction path.",{"kind":238,"title":333,"body":334},"Roll out changes and verify the complete path","\u003Cp>When changing the image, mounts, role, or embedded configuration, register a \u003Cstrong>new task definition revision\u003C\u002Fstrong> and update the daemon service to use it. Confirm that each eligible instance receives the new revision. Check service events and stopped-task reasons if a collector is missing; placement constraints, insufficient resources, or startup failures can prevent a daemon task from running.\u003C\u002Fp>\u003Cp>Validate \u003Cstrong>collection before dashboards\u003C\u002Fstrong>. Inspect the agent's own logs for configuration, permission, or connection errors, then look for fresh events in \u003Ccode>\u002Faws\u002Fecs\u002Fcontainerinsights\u002F&lt;cluster-name&gt;\u002Fperformance\u003C\u002Fcode>. Check the intended Region and cluster, and then inspect Container Insights metrics. A running task alone proves neither successful host access nor successful publication.\u003C\u002Fp>\u003Cp>Troubleshoot in the diagram's order: verify the \u003Cstrong>host mounts and ECS input\u003C\u002Fstrong>, then the agent task role and endpoint connectivity, then performance-event arrival and metric extraction. Verify application logs separately in their configured log groups; their presence does not prove that the performance collector is working.\u003C\u002Fp>",{"kind":264,"title":336,"exercise":337},"Rebuild the collection path",{"type":338,"diagram":214,"question":339},"build","Rebuild the instance-level Container Insights performance-data path, from the EC2 telemetry source through collection and ingestion to the resulting metrics.",{"kind":238,"title":341,"body":342,"takeaways":343},"What to remember","\u003Cp>Deploy an authorized, host-aware \u003Cstrong>CloudWatch agent daemon\u003C\u002Fstrong> on each eligible ECS EC2 instance, and verify its performance events before relying on Container Insights metrics.\u003C\u002Fp>",[344,347,350],{"title":345,"text":346},"Per-instance deployment","Use an EC2 DAEMON service without a desired count. Preserve the published task definition's host-access settings and enable Container Insights on the cluster.",{"title":348,"text":349},"Explicit configuration and permissions","Configure the ECS input and give the agent publishing permissions through its task role. Application stdout and log files need their own logging configuration.",{"title":351,"text":352},"Verify the whole path","Check daemon coverage, agent errors, fresh performance events, and then metrics. A running task or a working application log stream does not prove that performance collection works.","2026-10-29T23:46:20.996Z",{"pageSlug":138,"code":137,"certification":136,"certificationSlug":138},{"slug":356,"title":357},"amazon-eks-cluster-telemetry-collectors-soa-c03","Amazon EKS: cluster telemetry collectors",1796130185014]