Difference between revisions of "Aws ecs ( command)"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* <code>[[aws ecs list-clusters]]</code> | * <code>[[aws ecs list-clusters]]</code> | ||
* <code>[[aws ecs create-service]]</code> | * <code>[[aws ecs create-service]]</code> | ||
+ | * <code>[[aws ecs describe-cluster]]</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 08:50, 26 November 2021
Commands
aws ecs list-clusters
aws ecs create-service
aws ecs describe-cluster
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: