Configure remote logging for Cloudera Workflow Orchestrator running on an AWS S3
bucket that is outside AWS using an IAM user.
You must obtain the following information:
- Log bucket name
- Access key ID
- Secret access key
- Role ARN
-
Configure the Cloudera Workflow Orchestrator connection using the bucket,
and access key information and provide the following role ARN in the
Logging IAM Role ARN field:
-
Create an IAM Role in AWS with read, write, and list permissions for the
bucket.
-
Create an IAM User in AWS that can assume the role.
-
Update the user policy and role policy in the AWS.
Examples
- User policy example
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"sts:AssumeRole"
],
"Resource": "<Role ARN>"
}
]
}
- Role policy example
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Statement1",
"Effect": "Allow",
"Action": [
"s3:*Object",
"s3:AbortMultipartUpload",
"s3:GetBucketAcl",
"s3:PutObjectAcl",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::<Bucket name>/*",
"arn:aws:s3:::<Bucket name>"
]
}
]
}