Using Amazon ECS CLI

Amazon ECS Command Line Interface (CLI) is a command-line tool used to create, update, and monitor ECS clusters and tasks. Amazon ECS CLI supports the Fargate launch type. To create a container application with ECS CLI, Docker Compose (v1 or v2) is required. In this chapter, we shall use ECS CLI to launch an ECS cluster of the Fargate launch type in Windows PowerShell.

In this chapter, we will learn about the following:

  • Setting up the environment
  • Installing ECS CLI
  • Installing AWS Tools for Windows PowerShell
  • Configuring ECS CLI
  • Setting up prerequisites for Fargate
  • Registering the task execution policy
  • Creating an ECS cluster
  • Creating a security group
  • Granting security group ingress
  • Creating a compose file
  • Configuring ECS specific parameters
  • Deploying the compose file to the cluster
  • Listing the running containers on the cluster
  • Listing the container logs
  • Scaling the tasks on the cluster
  • Accessing the WordPress service
  • Deleting the service and the cluster
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.74.160