How do I retrieve the total worker count that's configured for auto scaling in Amazon MWAA?

1 minute read
0

I want to retrieve the total worker count that's configured for auto scaling in Amazon Managed Workflows for Apache Airflow (Amazon MWAA).

Short description

To retrieve your total number of additional worker instances in Amazon MWAA, check the cluster metrics for AdditionalWorker in the Amazon CloudWatch console. Amazon MWAA uses Amazon Elastic Container Service (Amazon ECS) on AWS Fargate containers to scale the worker fleet on demand.

Resolution

To retrieve the total worker count in Amazon MWAA, complete the following steps:

  1. Open the CloudWatch console, and then choose your Amazon MWAA namespace.
  2. On the All metrics tab, choose the Cluster dimension.
  3. Under the Cluster dimension, for AdditionalWorker, choose either the CPUUtilization or MemoryUtilization metric.
    Note: Amazon MWAA provides CPU and memory utilization metrics for Amazon ECS containers and saves the metrics for 15 months.
  4. From the Graphed metrics tab, set Period to 1 minute, and set Statistic to Sample Count.

Related information

Configuring Amazon MWAA worker automatic scaling

AWS OFFICIAL
AWS OFFICIALUpdated 9 days ago