Monitor

Monitor the ECS cluster by name.

To see the last autoscaling 10 logs from the cluster public33k, run

deepsea-ai monitor --cluster public33k --autoscaling --records 10 
{'ActivityId': 'db36106a-4d95-3147-a0c7-e801d6be27d2', 'AutoScalingGroupName': 'public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y', 'Description': 'Launching a new EC2 instance.  Status Reason: You have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit. Launching EC2 instance failed.', 'Cause': 'At 2022-10-27T17:52:56Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.', 'StartTime': datetime.datetime(2022, 10, 27, 17, 52, 58, 188000, tzinfo=tzutc()), 'EndTime': datetime.datetime(2022, 10, 27, 17, 52, 58, tzinfo=tzutc()), 'StatusCode': 'Failed', 'StatusMessage': 'You have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit. Launching EC2 instance failed.', 'Progress': 100, 'Details': '{"Subnet ID":"subnet-0dc0abbb519745949","Availability Zone":"us-west-2c"}', 'AutoScalingGroupARN': 'arn:aws:autoscaling:us-west-2:168552337187:autoScalingGroup:47840b6e-0fa6-4744-a197-3305eea9a964:autoScalingGroupName/public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y'}
{'ActivityId': '8186106a-462c-12bb-d674-42fe3973a3ad', 'AutoScalingGroupName': 'public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y', 'Description': 'Launching a new EC2 instance.  Status Reason: You have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit. Launching EC2 instance failed.', 'Cause': 'At 2022-10-27T17:50:55Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.', 'StartTime': datetime.datetime(2022, 10, 27, 17, 50, 56, 772000, tzinfo=tzutc()), 'EndTime': datetime.datetime(2022, 10, 27, 17, 50, 56, tzinfo=tzutc()), 'StatusCode': 'Failed', 'StatusMessage': 'You have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit. Launching EC2 instance failed.', 'Progress': 100, 'Details': '{"Subnet ID":"subnet-0dc0abbb519745949","Availability Zone":"us-west-2c"}', 'AutoScalingGroupARN': 'arn:aws:autoscaling:us-west-2:168552337187:autoScalingGroup:47840b6e-0fa6-4744-a197-3305eea9a964:autoScalingGroupName/public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y'}
{'ActivityId': '9416106a-423a-c6f2-2257-8bb962d207d9', 'AutoScalingGroupName': 'public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y', 'Description': 'Launching a new EC2 instance.  Status Reason: Your requested instance type (g4dn.xlarge) is not supported in your requested Availability Zone (us-west-2d). Please retry your request by not specifying an Availability Zone or choosing us-west-2a, us-west-2b, us-west-2c. Launching EC2 instance failed.', 'Cause': 'At 2022-10-27T17:49:49Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.', 'StartTime': datetime.datetime(2022, 10, 27, 17, 49, 52, 177000, tzinfo=tzutc()), 'EndTime': datetime.datetime(2022, 10, 27, 17, 49, 52, tzinfo=tzutc()), 'StatusCode': 'Failed', 'StatusMessage': 'Your requested instance type (g4dn.xlarge) is not supported in your requested Availability Zone (us-west-2d). Please retry your request by not specifying an Availability Zone or choosing us-west-2a, us-west-2b, us-west-2c. Launching EC2 instance failed.', 'Progress': 100, 'Details': '{"Subnet ID":"subnet-01ee2e8bf948d559d","Availability Zone":"us-west-2d"}', 'AutoScalingGroupARN': 'arn:aws:autoscaling:us-west-2:168552337187:autoScalingGroup:47840b6e-0fa6-4744-a197-3305eea9a964:autoScalingGroupName/public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y'}
{'ActivityId': '6266106a-4195-19a1-10b9-46f3dd38776b', 'AutoScalingGroupName': 'public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y', 'Description': 'Launching a new EC2 instance.  Status Reason: You have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit. Launching EC2 instance failed.', 'Cause': 'At 2022-10-27T17:49:40Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.', 'StartTime': datetime.datetime(2022, 10, 27, 17, 49, 41, 574000, tzinfo=tzutc()), 'EndTime': datetime.datetime(2022, 10, 27, 17, 49, 41, tzinfo=tzutc()), 'StatusCode': 'Failed', 'StatusMessage': 'You have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit. Launching EC2 instance failed.', 'Progress': 100, 'Details': '{"Subnet ID":"subnet-0dc0abbb519745949","Availability Zone":"us-west-2c"}', 'AutoScalingGroupARN': 'arn:aws:autoscaling:us-west-2:168552337187:autoScalingGroup:47840b6e-0fa6-4744-a197-3305eea9a964:autoScalingGroupName/public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y'}
{'ActivityId': '1ae6106a-3e28-36ec-d0f5-05e77abbdecf', 'AutoScalingGroupName': 'public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y', 'Description': 'Launching a new EC2 instance.  Status Reason: You have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit. Launching EC2 instance failed.', 'Cause': 'At 2022-10-27T17:48:44Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.', 'StartTime': datetime.datetime(2022, 10, 27, 17, 48, 45, 453000, tzinfo=tzutc()), 'EndTime': datetime.datetime(2022, 10, 27, 17, 48, 45, tzinfo=tzutc()), 'StatusCode': 'Failed', 'StatusMessage': 'You have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit. Launching EC2 instance failed.', 'Progress': 100, 'Details': '{"Subnet ID":"subnet-0e5158f96d30278ad","Availability Zone":"us-west-2b"}', 'AutoScalingGroupARN': 'arn:aws:autoscaling:us-west-2:168552337187:autoScalingGroup:47840b6e-0fa6-4744-a197-3305eea9a964:autoScalingGroupName/public33k-asgpublic33kASGFB621C49-1C5JQPDDU51Y'}