Difference between revisions of "Aws ecs ( command)"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
* <code>[[aws ecs update-cluster-settings]] --cluster myCICluster --settings name=containerInsights,value=enabled</code> | * <code>[[aws ecs update-cluster-settings]] --cluster myCICluster --settings name=containerInsights,value=enabled</code> | ||
* <code>[[aws ecs register-task-definition]]</code> | * <code>[[aws ecs register-task-definition]]</code> | ||
+ | |||
+ | == All commands == | ||
+ | <pre> | ||
+ | create-capacity-provider | ||
+ | create-cluster | ||
+ | create-service | ||
+ | create-task-set | ||
+ | delete-account-setting | ||
+ | delete-attributes | ||
+ | delete-capacity-provider | ||
+ | delete-cluster | ||
+ | delete-service | ||
+ | delete-task-set | ||
+ | deploy | ||
+ | deregister-container-instance | ||
+ | deregister-task-definition | ||
+ | describe-capacity-providers | ||
+ | describe-clusters | ||
+ | describe-container-instances | ||
+ | describe-services | ||
+ | describe-task-definition | ||
+ | describe-task-sets | ||
+ | describe-tasks | ||
+ | discover-poll-endpoint | ||
+ | execute-command | ||
+ | list-account-settings | ||
+ | list-attributes | ||
+ | list-clusters | ||
+ | list-container-instances | ||
+ | list-services | ||
+ | list-tags-for-resource | ||
+ | list-task-definition-families | ||
+ | list-task-definitions | ||
+ | list-tasks | ||
+ | put-account-setting | ||
+ | put-account-setting-default | ||
+ | put-attributes | ||
+ | put-cluster-capacity-providers | ||
+ | register-container-instance | ||
+ | register-task-definition | ||
+ | run-task | ||
+ | start-task | ||
+ | stop-task | ||
+ | submit-attachment-state-changes | ||
+ | submit-container-state-change | ||
+ | submit-task-state-change | ||
+ | tag-resource | ||
+ | untag-resource | ||
+ | update-capacity-provider | ||
+ | update-cluster | ||
+ | update-cluster-settings | ||
+ | update-container-agent | ||
+ | update-container-instances-state | ||
+ | update-service | ||
+ | update-service-primary-task-set | ||
+ | update-task-set | ||
+ | wait | ||
+ | </pre> | ||
== Operations == | == Operations == |
Revision as of 10:37, 26 November 2021
Contents
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
All commands
create-capacity-provider create-cluster create-service create-task-set delete-account-setting delete-attributes delete-capacity-provider delete-cluster delete-service delete-task-set deploy deregister-container-instance deregister-task-definition describe-capacity-providers describe-clusters describe-container-instances describe-services describe-task-definition describe-task-sets describe-tasks discover-poll-endpoint execute-command list-account-settings list-attributes list-clusters list-container-instances list-services list-tags-for-resource list-task-definition-families list-task-definitions list-tasks put-account-setting put-account-setting-default put-attributes put-cluster-capacity-providers register-container-instance register-task-definition run-task start-task stop-task submit-attachment-state-changes submit-container-state-change submit-task-state-change tag-resource untag-resource update-capacity-provider update-cluster update-cluster-settings update-container-agent update-container-instances-state update-service update-service-primary-task-set update-task-set wait
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: