Tutorials for Amazon ECS
The following tutorials show you how to perform common tasks when using Amazon ECS.
You can use any of the following tutorials to deploy tasks on Amazon ECS using the AWS CLI
Tutorial overview | Learn more |
---|---|
Create a Linux task for the Fargate launch type. |
Creating an Amazon ECS Linux task for the Fargate launch type with the AWS CLI |
Create a Windows task for the Fargate launch type. |
Creating an Amazon ECS Windows task for the Fargate launch type with the AWS CLI |
Create a Linux task for the EC2 launch type. |
Creating an Amazon ECS task for the EC2 launch type with the AWS CLI |
You can use any of the following tutorials to learn more about monitoring and logging.
Tutorial overview | Learn more |
---|---|
Set up a simple Lambda function that listens for task events and writes them out to a CloudWatch Logs log stream. |
Configuring Amazon ECS to listen for CloudWatch Events events |
Configure an Amazon EventBridge event rule that only captures task events where the task has stopped running because one of its essential containers has terminated. |
Sending Amazon Simple Notification Service alerts for Amazon ECS task stopped events |
Concatenate log messages that originally belong to one context but were split across multiple records or log lines. |
Concatenating multiline or stack-trace Amazon ECS log messages |
Deploy Fluent Bit containers on their Windows instances running in Amazon ECS to stream logs generated by the Windows tasks to Amazon CloudWatch for centralized logging. |
Deploying Fluent Bit on Amazon ECS Windows containers |
You can use any of the following tutorials to learn more about how to use Active Directory authentication with group Managed Service Account on Amazon ECS.
Tutorial overview | Learn more |
---|---|
Use group Managed Service Account with Linux containers on EC2. |
Using gMSA for EC2 Linux containers on Amazon ECS |
Use group Managed Service Account with Windows containers on EC2. |
Learn how to use gMSAs for EC2 Windows containers for Amazon ECS |
Use group Managed Service Account with Linux containers on Fargate. |
Using gMSA for Linux containers on Fargate |
Create a task that runs a Windows container that has credentials to access Active Directory with domainless group Managed Service Account. |
Using Amazon ECS Windows containers with domainless gMSA using the AWS CLI |