Difference between revisions of "Aws ecs ( command)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== Commands == | == Commands == | ||
+ | * <code>[[aws ecs list-clusters]]</code> | ||
* <code>[[aws ecs update-service]]</code> | * <code>[[aws ecs update-service]]</code> | ||
* <code>[[aws ecs put-account-setting]] --name "containerInsights" --value "enabled"</code> | * <code>[[aws ecs put-account-setting]] --name "containerInsights" --value "enabled"</code> |
Revision as of 20:52, 11 August 2021
Commands
aws ecs list-clusters
aws ecs update-service
aws ecs put-account-setting --name "containerInsights" --value "enabled"
aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=enabled
Operations
- To enable service to all new ECS clusters:
aws ecs put-account-setting --name "containerInsights" --value "enabled"
- Enable on specific cluster:
aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=enabled
See also
- AWS CLI,
aws
[configure
|iam
|ec2
|ecs
|eks
|s3
|rds
|sts
|cloudwatch
|cloudformation
|cloudfront
|eventbridge
|lambda
],aws configure list
,.aws/credentials
,.aws/config
,~/.aws/cli/alias
,--output [ table | json | text | XXX ]
, Aws cli environmental variables:AWS_PROFILE
,AWS_DEFAULT_REGION, AWS_REGION
,AWS_CLI_AUTO_PROMPT
,AWS_SESSION_TOKEN
,aws list all
,auto-prompt
,--version
,whoamiaws, --filters, --help
- Amazon ECS, Service, Tasks (Task overview), capacity providers, Cluster Auto Scaling (CAS),
aws ecs, ecs-cli, ~/.ecs/config
, AWS Copilot, AWS Fargate, AWS CloudWatch Container Insights,/etc/ecs/ecs.config
, Security group (SG), container agent, task definition, Amazon ECS events, best practices, Amazon ECS Exec Checker, Amazon ECS Agent, Service Connect,AWSServiceRoleForECS
, Terraform ECS, AWS ECS Rolling deployments
Advertising: