I think you need to use for example:
aws ecs list-container-instances --cluster default --region us-east-1
This depends of your region of course.
Related Posts:
- How can I use wildcards to `cp` a group of files with the AWS CLI
- What is difference between Lightsail and EC2?
- How can I resolve the error “The security token included in the request is invalid” when running aws iam upload-server-certificate?
- What is the difference between Amazon ECS and Amazon EC2?
- Difference between Amazon EC2 and AWS Elastic Beanstalk
- AWS CLI S3 A client error (403) occurred when calling the HeadObject operation: Forbidden
- “There was a problem with the requested skill’s response” on Alexa Simulator
- Difference between AWS DynamoDB vs. AWS DocumentDB(Newly launched service)? [closed]
- AWS – Create a record set for an s3 static website
- Nginx error: client intended to send too large body
- SQS vs RabbitMQ
- Amazon Workspaces VM prevented from logging in to WordPress on DreamHost
- How can I get the size of an Amazon S3 bucket?
- How can I upgrade to Java 1.8 on an Amazon Linux Server?
- What Linux distribution is the Amazon Linux AMI based on?
- AWS Lambda:The provided execution role does not have permissions to call DescribeNetworkInterfaces on EC2
- AWS – Disconnected : No supported authentication methods available (server sent :publickey)
- What is the difference between Amazon SNS and Amazon SQS?
- AWS: What does 0.0.0.0/0 and ::/0 mean?
- DynamoDB : The provided key element does not match the schema
- boto3 client NoRegionError: You must specify a region error only sometimes
- What is the difference between Elastic Beanstalk and CloudFormation for a .NET project?
- DynamoDB – Key element does not match the schema
- How to improve paralelized computing in AWS EC2?
- AWS lambda function error – Unable to import module ‘index’: Error
- Access denied; you need (at least one of) the SUPER privilege(s) for this operation
- Access denied; you need (at least one of) the SUPER privilege(s) for this operation
- “invalid ELF header” when using the nodejs “ref” module on AWS Lambda
- Laravel 5 Class ‘Collective\Html\HtmlServiceProvider’ not found on AWS
- Google app engine or amazon web services
- S3 Bucket action doesn’t apply to any resources
- 403 ERROR The request could not be satisfied
- Is there an Amazon.com API to retrieve product reviews?
- EC2 ssh Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
- AWS s3 api error: specified bucket does not exist
- Your WSGIPath refers to a file that does not exist
- SCP Permission denied (publickey). on EC2 only when using -r flag on directories
- Permission denied (publickey). SSH from local Ubuntu to Amazon EC2 server
- Amazon Cloudfront with S3. Access Denied
- Delete Amazon EC2 terminated instance
- Amazon EC2 terminology – AMI vs. EBS vs. Snapshot vs. Volume
- How to change an EC2 instance’s security group
- Why does my OpenSSH key fingerprint not match the AWS EC2 console keypair fingerprint?
- How to add a security group to a running EC2 Instance?
- Why don’t EC2 ubuntu images have swap?
- Why is TCP accept() performance so bad under Xen?
- How to get a .pem file from ssh key pair?
- Amazon Linux vs. Ubuntu for Amazon EC2 [closed]
- AWS RDS connection limits
- Assign Public IP (not Elastic IP) after instance launched