Working with Amazon S3
To provide cluster resources permission to access to Amazon S3 buckets, specify the bucket ARNs in the s3_read_resource and s3_read_write_resource parameters in the AWS ParallelCluster configuration. For more information about controlling access with AWS ParallelCluster, see AWS Identity and Access Management roles in AWS ParallelCluster.
# Specify Amazon S3 resource which AWS ParallelCluster nodes will be granted read-only access # (no default) s3_read_resource = arn:aws:s3:::
my_corporate_bucket
* # Specify Amazon S3 resource which AWS ParallelCluster nodes will be granted read-write access # (no default) s3_read_write_resource = arn:aws:s3:::my_corporate_bucket
/*
Both parameters accept either *
or a valid Amazon S3 ARN. For information about specifying Amazon S3 ARNs, see
Amazon S3 ARN format in the
AWS General Reference.
Examples
The following example gives you read access to any object in the Amazon S3 bucket my_corporate_bucket.
s3_read_resource = arn:aws:s3:::
my_corporate_bucket
/*
This following example gives you read access to the bucket, but does not let you read items from the bucket.
s3_read_resource = arn:aws:s3:::
my_corporate_bucket
This last example gives you read access to the bucket and to the items stored in the bucket.
s3_read_resource = arn:aws:s3:::
my_corporate_bucket
*