With the same exact Data Pipeline configuration, only differing in the AMI to be used (Amazon Linux vs. Ubuntu), my Data Pipeline execution will succeed in both cases but it will only write logs to S3 when using Amazon Linux.
With Amazon Linux
With Ubuntu
In both cases I login with the same user (ec2-user
, not ubuntu
), for which I properly configured that username for the Ubuntu AMI:
#cloud-config
system_info:
default_user:
name: ec2-user
Moreover, I use the same exact resourceRole
and role
attributes when launching Amazon Linux or Ubuntu pipelines. So that's not the issue.
So apparently Amazon Linux has something needed for writing S3 logs, what could it be?