Table of Contents

Search

  1. Preface
  2. Advanced clusters
  3. Setting up AWS
  4. Setting up Google Cloud
  5. Setting up Microsoft Azure
  6. Setting up a self-service cluster
  7. Setting up a local cluster
  8. Advanced configurations
  9. Troubleshooting
  10. Appendix A: Command reference

Advanced Clusters

Advanced Clusters

Create a log access policy

Create a log access policy

To create an IAM policy for log access, complete the following tasks in AWS:
  1. Create the following IAM policy named
    log_access_agent_policy
    :
    { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetBucketLocation", "s3:GetEncryptionConfiguration", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::<cluster-logging-bucket-name1>" ] }, { "Effect": "Allow", "Action": [ "s3:PutObject", "s3:GetObjectAcl", "s3:GetObject", "s3:DeleteObject", "s3:PutObjectAcl" ], "Resource": [ "arn:aws:s3:::<cluster-logging-dir1>/*" ] } ] }
    Specify the log location in the Resource elements.
  2. Attach the IAM policy
    log_access_agent_policy
    to the IAM role
    agent_role
    .

0 COMMENTS

We’d like to hear from you!