Difference between revisions of "Aws ecs ( command)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | |||
* https://docs.aws.amazon.com/cli/latest/reference/ecs/index.html | * https://docs.aws.amazon.com/cli/latest/reference/ecs/index.html | ||
Revision as of 16:08, 21 September 2021
Commands
aws ecs list-clusters
aws ecs create-service
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
aws ecs register-task-definition
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 ECS:
aws ecs [ create-cluster | create-service | update-service | list-clusters | list-services | describe-cluster | describe-services | describe-tasks | put-account-setting | execute-command | run-task ]
- 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: