Amazon ECS Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:
An Amazon ECS cluster is a regional, logical grouping of [[#Task|tasks]] or [[#Service|services]]. If the tasks or services in question use the EC2 [[#Launch_Type|launch type]], the cluster is also a grouping of container instances. A default cluster is always available, but multiple clusters can be created in an account to keep your resources separate. A cluster cannot span more than one region.
An Amazon ECS cluster is a regional, logical grouping of [[#Task|tasks]] or [[#Service|services]]. If the tasks or services in question use the EC2 [[#Launch_Type|launch type]], the cluster is also a grouping of container instances. A default cluster is always available, but multiple clusters can be created in an account to keep your resources separate. A cluster cannot span more than one region.


==Cluster Operations=
==Cluster Operations==


* [[Amazon_ECS_Operations#Create_a_Cluster|Create a Cluster]]
* [[Amazon_ECS_Operations#Create_a_Cluster|Create a Cluster]]

Revision as of 00:09, 6 February 2019

Internal

Overview

Amazon Elastic Container Service (ECS) allows deploying Docker containers on a scalable cluster. Docker images to be deployed typically come from Amazon ECR.

Task

Task Definition

The task definition is the configuration of the application. It specifies the Docker image, how many containers to use for this task and the resource allocation for each container.

Cluster

Amazon ECS Clusters

An Amazon ECS cluster is a regional, logical grouping of tasks or services. If the tasks or services in question use the EC2 launch type, the cluster is also a grouping of container instances. A default cluster is always available, but multiple clusters can be created in an account to keep your resources separate. A cluster cannot span more than one region.

Cluster Operations

Launch Type

Amazon ECS Launch Types

EC2 Launch Type

The EC2 launch type allows running a containerized applications on a cluster of Amazon EC2 instances.

Fargate Launch Type

The Fargate launch type allows running a containerized application without the need to provision and manage the backend infrastructure. It only requires registering a task definition. When that is available, Fargate launches the container.