Editing Aws ecs ( command)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
== Commands == | == Commands == | ||
* <code>[[aws ecs list-clusters]]</code> | * <code>[[aws ecs list-clusters]]</code> | ||
+ | * <code>[[aws ecs create-service]]</code> | ||
* <code>[[aws ecs describe-cluster]]</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> | ||
* <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 == |
− | |||
− | |||
− | |||
− | |||
− | + | create-capacity-provider | |
− | |||
[[aws ecs create-cluster]] | [[aws ecs create-cluster]] | ||
[[aws ecs create-service]] | [[aws ecs create-service]] | ||
− | + | create-task-set | |
+ | |||
delete-account-setting | delete-account-setting | ||
delete-attributes | delete-attributes | ||
− | + | delete-capacity-provider | |
delete-cluster | delete-cluster | ||
delete-service | delete-service | ||
Line 43: | Line 28: | ||
deregister-container-instance | deregister-container-instance | ||
deregister-task-definition | deregister-task-definition | ||
− | + | describe-capacity-providers | |
describe-clusters | describe-clusters | ||
describe-container-instances | describe-container-instances | ||
[[aws ecs describe-services]] | [[aws ecs describe-services]] | ||
− | [[ | + | [[describe-task-definition]] |
describe-task-sets | describe-task-sets | ||
describe-tasks | describe-tasks | ||
discover-poll-endpoint | discover-poll-endpoint | ||
− | + | execute-command | |
− | + | list-account-settings | |
list-attributes | list-attributes | ||
− | + | list-clusters | |
− | + | list-container-instances | |
[[aws ecs list-services]] | [[aws ecs list-services]] | ||
list-tags-for-resource | list-tags-for-resource | ||
Line 61: | Line 46: | ||
[[aws ecs list-task-definitions]] | [[aws ecs list-task-definitions]] | ||
[[aws ecs list-tasks]] | [[aws ecs list-tasks]] | ||
− | + | put-account-setting | |
put-account-setting-default | put-account-setting-default | ||
put-attributes | put-attributes | ||
− | + | put-cluster-capacity-providers | |
register-container-instance | register-container-instance | ||
− | + | register-task-definition | |
run-task | run-task | ||
− | + | <pre> | |
− | + | 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 == | ||
* To enable service to all new [[ECS]] clusters: <code>[[aws ecs put-account-setting]] --name "[[containerInsights]]" --value "enabled"</code> | * To enable service to all new [[ECS]] clusters: <code>[[aws ecs put-account-setting]] --name "[[containerInsights]]" --value "enabled"</code> | ||
* Enable on specific cluster: <code>[[aws ecs update-cluster-settings]] --cluster myCICluster --settings name=containerInsights,value=enabled</code> | * Enable on specific cluster: <code>[[aws ecs update-cluster-settings]] --cluster myCICluster --settings name=containerInsights,value=enabled</code> | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
− | |||
* {{aws ecs}} | * {{aws ecs}} | ||
* {{AWS ECS}} | * {{AWS ECS}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Advertising: