In this chapter, we discussed configuring an ECS container for logging. We demonstrated CloudWatch Logs using an ECS service for a MySQL database. The only supported log driver for the Fargate launch type is the awslogs driver. Three log driver options must be configured with the Fargate launch type: awslogs-region, awslogs-stream-prefix, and awslogs-group. In the next chapter, we shall discuss auto scaling with Fargate.
Summary
Get Amazon Fargate Quick Start Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.