Difference between revisions of "Aws ecs ( command)"

From wikieduonline
Jump to navigation Jump to search
 
(37 intermediate revisions by 4 users not shown)
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 update-service]] [[--desired-count]] 0</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>
 +
 +
[[AWS ECS service|Services]]
 +
* <code>[[aws ecs list-services]]</code>
 +
* <code>[[aws ecs create-service]]</code>
 +
* <code>[[aws ecs update-service]]</code>
 +
* <code>[[aws ecs describe-services]]</code>
 +
 +
[[Tasks]]
 
* <code>[[aws ecs register-task-definition]]</code>
 
* <code>[[aws ecs register-task-definition]]</code>
 +
* <code>[[aws ecs describe-task-definition]]</code>
 +
* <code>[[aws ecs list-task-definitions]]</code>
 +
* <code>[[aws ecs run-task]]</code>
 +
 +
== Create ==
 +
* <code>[[aws ecs create-cluster]]</code>
 +
* <code>[[aws ecs create-service]]</code>
 +
* <code>[[aws ecs create-task-set]]</code>
 +
* <code>[[aws ecs create-capacity-provider]]</code>
  
 
== All commands ==
 
== All commands ==
 
+
  [[aws ecs create-capacity-provider]]
  create-capacity-provider
 
 
  [[aws ecs create-cluster]]
 
  [[aws ecs create-cluster]]
 
  [[aws ecs create-service]]
 
  [[aws ecs create-service]]
  create-task-set
+
  [[aws ecs create-task-set]]
<pre>
+
delete-account-setting
delete-account-setting
+
delete-attributes
delete-attributes
+
[[delete-capacity-provider]]
delete-capacity-provider
+
delete-cluster
delete-cluster
+
delete-service
delete-service
+
delete-task-set
delete-task-set
+
deploy
deploy
+
deregister-container-instance
deregister-container-instance
+
deregister-task-definition
deregister-task-definition
+
[[describe-capacity-providers]]
describe-capacity-providers
+
describe-clusters
describe-clusters
+
describe-container-instances
describe-container-instances
+
[[aws ecs describe-services]]
describe-services
+
[[aws ecs describe-task-definition]]
describe-task-definition
+
describe-task-sets
describe-task-sets
+
describe-tasks
describe-tasks
+
discover-poll-endpoint
discover-poll-endpoint
+
[[aws ecs execute-command]]
execute-command
+
[[list-account-settings]]
list-account-settings
+
list-attributes
list-attributes
+
[[list-clusters]]
list-clusters
+
[[list-container-instances]]
list-container-instances
+
[[aws ecs list-services]]
list-services
+
list-tags-for-resource
list-tags-for-resource
+
list-task-definition-families
list-task-definition-families
+
[[aws ecs list-task-definitions]]
list-task-definitions
+
[[aws ecs list-tasks]]
list-tasks
+
[[put-account-setting]]
put-account-setting
+
put-account-setting-default
put-account-setting-default
+
put-attributes
put-attributes
+
[[put-cluster-capacity-providers]]
put-cluster-capacity-providers
+
  register-container-instance
register-container-instance
+
[[register-task-definition]]
register-task-definition
+
run-task
run-task
+
start-task
start-task
+
[[stop-task]]
stop-task
+
submit-attachment-state-changes
submit-attachment-state-changes
+
submit-container-state-change
submit-container-state-change
+
submit-task-state-change
submit-task-state-change
+
tag-resource
tag-resource
+
untag-resource
untag-resource
+
[[update-capacity-provider]]
update-capacity-provider
+
update-cluster
update-cluster
+
update-cluster-settings
update-cluster-settings
+
update-container-agent
update-container-agent
+
update-container-instances-state
update-container-instances-state
+
update-service
update-service
+
update-service-primary-task-set
update-service-primary-task-set
+
update-task-set
update-task-set
+
wait
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>
 +
 +
== Related ==
 +
* <code>[[AWS::ECS]]</code>
 +
* <code>[[oci ce]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{aws ecs capacity-provider}}
 +
* {{aws ecs create}}
 
* {{aws ecs}}
 
* {{aws ecs}}
 
* {{AWS ECS}}
 
* {{AWS ECS}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 17:10, 30 July 2023

Commands[edit]

Services

Tasks

Create[edit]

All commands[edit]

aws ecs create-capacity-provider
aws ecs create-cluster
aws ecs create-service
aws ecs 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
aws ecs describe-services
aws ecs describe-task-definition
describe-task-sets
describe-tasks
discover-poll-endpoint
aws ecs execute-command
list-account-settings
list-attributes
list-clusters
list-container-instances
aws ecs list-services
list-tags-for-resource
list-task-definition-families
aws ecs list-task-definitions
aws ecs 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[edit]

Related[edit]

See also[edit]

Advertising: