Managing Amazon ECS Instances - Amazon Toolkit with Amazon Q
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Managing Amazon ECS Instances

Amazon Explorer provides detailed views of Amazon Elastic Container Service (Amazon ECS) clusters and container repositories. You can create, delete and manage cluster and container details from within the Visual Studio development environment.

Modifying service properties

You can view service details, service events and service properties from the cluster view.

  1. In Amazon Explorer, open the context (right-click) menu for the cluster to manage, and then choose View.

  2. In the ECS Cluster view, click Services on the left, and then click the Details tab in the details view. You can click Events to see event messages and Deployments to deployment status.

  3. Click Edit. You can change the desired task count and the minimum and maximum healthy percent.

  4. Click Save to accept changes or Cancel to revert to existing values.

Stopping a task

You can see the current status of tasks and stop one or more tasks in the cluster view.

To stop a task

  1. In Amazon Explorer, open the context (right-click) menu for the cluster with tasks you wish to stop, and then choose View.

  2. In the ECS Cluster view, click Tasks on the left.

  3. Make sure Desired Task Status is set to Running. Choose the individual tasks to stop and then click Stop or click Stop All to select and stop all running tasks.

  4. In the Stop Tasks dialog box, choose Yes.

Deleting a service

You can delete services from a cluster from the cluster view.

To delete a cluster service

  1. In Amazon Explorer, open the context (right-click) menu for the cluster with a service you want to delete, and then choose View.

  2. In the ECS Cluster view, click Services on the left, and then click Delete.

  3. In the Delete Cluster dialog box, if there is a load balancer and target group in your cluster, you can choose to delete them with the cluster. They will not be used when the service is deleted.

  4. In the Delete Cluster dialog box, choose OK. When the cluster is deleted, it will be removed from the Amazon Explorer.

Deleting a cluster

You can delete an Amazon Elastic Container Service cluster from Amazon Explorer.

To delete a cluster

  1. In Amazon Explorer, open the context (right-click) menu for the cluster you want to delete under the Clusters node of Amazon ECS, and then choose Delete.

  2. In the Delete Cluster dialog box, choose OK. When the cluster is deleted, it will be removed from the Amazon Explorer.

Creating a repository

You can create an Amazon Elastic Container Registry repository from Amazon Explorer.

To create a repository

  1. In Amazon Explorer, open the context (right-click) menu of the Repositories node under Amazon ECS, and then choose Create Repository.

  2. In the Create Repository dialog box, provide a repository name and then choose OK.

Deleting a repository

You can delete an Amazon Elastic Container Registry repository from Amazon Explorer.

To delete a repository

  1. In Amazon Explorer, open the context (right-click) menu of the Repositories node under Amazon ECS, and then choose Delete Repository.

  2. In the Delete Repository dialog box, you can choose to delete the repository even if it contains images. Otherwise, it will only be deleted if it is empty. Click Yes.