Table of Contents

Search

  1. Advanced clusters
  2. Setting up AWS
  3. Setting up Google Cloud
  4. Setting up Microsoft Azure
  5. Setting up a self-service cluster
  6. Setting up a local cluster
  7. Advanced configurations
  8. Troubleshooting
  9. 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!
Hi, I'm Bolo!
What would you like to know?
Please to access Bolo.