Working with Amazon S3 - Amazon ParallelCluster
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Working with Amazon S3

You can configure Amazon ParallelCluster's access to Amazon S3 through the HeadNode / Iam / S3Access and Scheduling / SlurmQueues / - Name / Iam / S3Access parameters in the Amazon ParallelCluster configuration.

Examples

The following example configures read-only access to all objects in firstbucket/read_only/ and read/write access to all objects in secondbucket/read_and_write/.

... HeadNode: ... Iam: S3Access: - BucketName: firstbucket KeyName: read_only/* EnableWriteAccess: false - BucketName: secondbucket KeyName: read_and_write/* EnableWriteAccess: true ...

The next example configures read-only access to all objects in folder read_only/ in any bucket (*) in the account.

... HeadNode: ... Iam: S3Access: - BucketName: * KeyName: read_only/* EnableWriteAccess: false ...

The final example configures read_only access to all buckets and objects in the account.

... HeadNode: ... Iam: S3Access: - BucketName: * ...