AWS re:Post Knowledge Center Feedback Survey
Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
我想在 AWS Fargate 上为我的 Amazon Elastic Container Service (Amazon ECS) 任务配置日志驱动程序。
当您为 AWS Fargate 创建任务定义时,您可以让 Amazon ECS 自动配置您的 Amazon CloudWatch 日志。此选项代表您创建日志组,并使用以 ecs 作为前缀的任务定义系列名称。
要将日志驱动程序配置为使用日志组自动配置选项,请完成以下步骤:
Fargate 启动类型
Amazon ECS 任务执行 IAM 角色