Bobcares Logo
Search Phone User Profile Emergency Contact
Bobcares Logo
Search Phone User Profile Emergency Contact
Case Studies
About
Blog
Emergency Contact Client Portal
SOLUTIONS
Product Engineering
MVP Build
MVP to Scale
Product Maintenance
Digital Transformation
Process Digitization & Automation
Systems Integration & Workflow Orchestration
Data Enablement & Decision Support
Application & Platform Modernization
Transformation Execution
AI Services
AI Readiness & Use-Case Discovery
AI Integration & Application Enablement
Intelligent Automation & AI Workflows
Infrastructure Management & Optimization
Always-On Infrastructure Management
Proactive Monitoring & Incident Prevention
Cloud Cost Control & Optimization (FinOps)
Outsourced IT & End-User Support
Managed Infrastructure Execution Support
DevOps & Automation Services
CI/CD & Release Automation
Infrastructure as Code & Platform Standardization
Reliability Engineering & Observability
DevSecOps Enablement
Cybersecurity
Security Assessment & Risk Posture
Threat Monitoring & Incident Response
Infrastructure & Cloud Security Hardening
Vulnerability Assessment & Penetration Testing (VAPT)
Backup, Disaster Recovery & BCP

Configure log driver for ECS tasks on AWS Fargate

by Jiji Jose | Aug 19, 2021 | Amazon Web Services (AWS), Latest | 0 comments

Please Note: This article is part of our historical archive. Because it was published a while ago, some of the information, links, or context may now be outdated.

Looking for how to configure log driver for ECS tasks on AWS Fargate? We can help you with this!

As a part of our AWS Support Services, we often receive similar requests from our AWS customers.

Today, let’s see the steps followed by our Support Techs to help our customers to configure log drivers for ECS tasks on AWS Fargate.

 

Configure log driver for ECS tasks on AWS Fargate

 
The logs generated by the Fargate tasks are not automatically shown on the AWS Console. To view logs of ECS containers and Fargate tasks, we will need to configure a log driver. When creating a task definition for AWS Fargate, there is an option for allowing Amazon ECS to auto-configure your Amazon CloudWatch logs.

Now let’s see the steps to use the log group auto-configuration option to configure the log driver.

  1. Log in to the AWS management console and then open the Amazon ECS console.

2. Then select the Task Definitions, and then select Create new Task Definition.

3. Select FARGATE from the Select launch type compatibility section and then select Next Step.

4. Enter a name for the task definition for Task Definition Name from the Configure task and container definitions section.

5. Select Add container in the Container Definitions.

6. Based on our container requirements we can fill the needed fields.

7. Select any of the following options for Log configuration in the STORAGE AND LOGGING section:

Select the Auto-configure CloudWatch Logs check box if we want to accept the default values of awslogs-group, awslogs-region, and awslogs-stream-prefix. Then, skip to 9th step.

Or untick Auto-configure CloudWatch Logs check box if we want a custom log group.

8. If we want a custom log group and stream then we need to complete the following steps :
 

Steps to configure custom log group and stream

 
1. Select awslogs for Log driver. We need to set the awslogs-create-group parameter and use the required logs:CreateLogGroup action for the task execution if the log group doesn’t exist.

2. awslogs-group key: log group to which awslogs driver sends its log streams. Here leave the auto-populated value in place, or if the text box is empty enter a value for the group. (Required: Yes)

3. awslogs-region key: the region to which your awslogs driver sends its logs. Here leave the auto-populated value in place, or if the text box is empty, enter a value for your AWS Region. (Required: Yes)

4. awslogs-stream-prefix key: allows us to associate a log stream with the specified prefix, the container name, and the ID of the ECS task. Here leave the auto-populated value in place, or if the text box is empty enter a value for your stream. (Required: Yes)

9. Select Add.

10. Fill the remaining fields on the task definition page.

11. Select Create.

[Need help with more AWS queries? We’d be happy to assist]
 

Conclusion

 
To conclude, today we discussed the steps followed by our Support Engineers to help our customers to configure log driver for ECS tasks on AWS Fargate.

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Delayed Product Launch? Your Development Strategy May Be the Problem
  • Why Custom Software Projects Go Over Budget and How to Prevent It
  • Why Your Development Budget Keeps Growing While Milestones Keep Slipping
  • Legacy System Modernization: Why Waiting Costs More Than Modernizing
  • Legacy System Is Stable, But It Is Slowing Business Growth

Categories

  • Advanced Vulnerability
  • AI Services
  • AI Support
  • AIOps
  • Amazon Web Services (AWS)
  • Apache
  • API Integration
  • Application Development
  • Azure
  • Cloud Cost Optimization
  • Cloud Management
  • Cloud-Native Application
  • Cloudflare
  • cPanel
  • cPanel migration
  • Cyberpanel
  • DDoS
  • Development Service
  • DevOps
  • DevOps Consulting
  • DevSecOps
  • Digital Transformation
  • DigitalOcean
  • DirectAdmin
  • Docker
  • Drupal
  • Ecommerce
  • Filezilla
  • FTP
  • Google cloud platform
  • HAProxy
  • Headless CMS Integration
  • Hosting Support
  • IIS
  • Infrastructure Management & Optimization
  • Kubernetes
  • KVM
  • Laravel
  • Latest
  • Legacy Application Modernization
  • Linode
  • Litespeed
  • LXC/LXD
  • Magento
  • Microservices Architecture
  • Mobile App Development
  • MongoDB
  • Moodle
  • MySQL
  • NFS
  • Nginx
  • OnApp
  • Outsourced Support
  • OVH
  • ovirt
  • Performance Optimization & Monitoring
  • pfsense
  • Plesk
  • PostgreSQL
  • PowerDNS
  • Product Engineering
  • Proxmox
  • RedHat
  • Redis
  • Sendmail
  • Server Administration
  • Server Management
  • Software Development
  • Software Testing
  • SQLServer
  • Technical Support
  • UI/UX
  • Virtualizor
  • VMware
  • VPN
  • Vulnerability Scanning
  • Vultr
  • Web Development
  • Windows
  • WordPress
  • WordPress Hosting
  • WordPressHA

Subscribe to our newsletter

Footer newsletter

Email sales@bobcares.com | Phone 1-800-383-5193

Product Engineering

  • MVP Build
  • MVP to Scale
  • Product Maintenance

Digital Transformation

  • Process Digitization & Automation
  • Systems Integration & Workflow Orchestration
  • Data Enablement & Decision Support
  • Application & Platform Modernization
  • Transformation Execution & Delivery Enablement

AI Services

  • AI Readiness & Use-Case Discovery
  • AI Integration & Application Enablement
  • Intelligent Automation & AI Workflows

Infrastructure Management

  • Always-On Infrastructure Management
  • Proactive Monitoring & Incident Prevention
  • Cloud Cost Control & Optimization (FinOps)
  • Outsourced IT & End-User Support
  • Managed Infrastructure Execution Support

DevOps & Automation Services

  • CI/CD & Release Automation
  • Infrastructure as Code & Platform Standardization
  • Reliability Engineering & Observability
  • DevSecOps Enablement
Product Engineering +
Web Development MVP to Scale Builds Microservices Architecture Agile & Dev Team Augmentation Mobile Apps Ecommerce UI/UX Design QA & Test Automation
Digital Transformation +
Legacy Modernization Workflow Automation Data-Driven Dashboards CRM / ERP Integration Business Process Re-engineering
AI Services +
AI & Machine Learning AIOps Intelligent Automation Business Intelligence & Analytics AI Installation & Compute
Infrastructure Management +
Cloud Setup Cloud Migration Managed Cloud Services Server & Hosting Cost Optimization Performance Optimization Outsourced Support
DevOps & Automation Services +
CI/CD Setup Kubernetes & Docker Infrastructure as Code Cloud-Native Migration DevSecOps
Cybersecurity & Compliance Services +
Security Hardening VAPT Incident Response Backup & DR

© 2026 Bobcares. All Rights Reserved.

  • Careers
  • |
  • Cookie Policy
  • |
  • GDPR
  • |
  • Privacy Policy
  • |
  • Terms of Service
  • LinkedIn
  • YouTube
  • Instagram
  • Facebook

Preview of the new Bobcares experience
NEW UPDATE
See What’s New
at Bobcares

Discover a faster, clearer view of our services and expertise.


Explore the New Experience
Arrow Right