Step 4: Choose Your Security Preferences - AWS Snowcone User Guide

Step 4: Choose Your Security Preferences

Setting security adds the permissions and encryption settings for your AWS Snow Family Devices job to help protect your data while in transit.

To set security for your job

  1. In the Encryption section, choose the KMS key that you want to use.

    • If you want to use the default AWS Key Management Service (AWS KMS) key, choose aws/importexport (default). This is the default key that protects your import and export jobs when no other key is defined.

    • If you want to provide your own AWS KMS key, choose Enter a key ARN, provide the Amazon Resource Name (ARN) in the key ARN box, and choose Use this KMS key. The key ARN will be added to the list.

  2. In the Service access section, do one of the following:

    • Choose Create service role to grant AWS Snow Family permissions to use Amazon S3 and Amazon Simple Notification Service (Amazon SNS) on your behalf. The role grants AWS Security Token Service (AWS STS) AssumeRole trust to the Snow service

    • Choose Add an existing role to use, to specify the IAM role that you want, or you can use the default role.

      For Policy name, choose the import policy that you want to use.

      Example policies for Snowcone devices

      Import-only role policy example

      The following is an example of an S3 import-only role policy.

      { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetBucketPolicy", "s3:GetBucketLocation", "s3:ListBucketMultipartUploads", "s3:ListBucket", "s3:HeadBucket", "s3:PutObject", "s3:AbortMultipartUpload", "s3:ListMultipartUploadParts", "s3:PutObjectAcl", "s3:GetObject" ], "Resource": [ "arn:aws:s3:::YourS3BucketARN", "arn:aws:s3:::YourS3BucketARN/*" ] } ] }
      { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "" }, "Action": "sts:AssumeRole" } ] }

      Using server-side encryption to encrypt the Amazon S3 bucket

      If you use server-side encryption with AWS KMS–managed keys (SSE-KMS) to encrypt the Amazon S3 buckets associated with your import job, you also must add the following statement to your IAM role.

      { "Effect": "Allow", "Action": [ "kms:GenerateDataKey","kms:Decrypt" ], "Resource": "arn:aws:kms:us-west-2:123456789012:key/abc123a1-abcd-1234-efgh-111111111111" }

      You can modify the trust relationship and restrict access to this role based on the customer account number and source arn. See Restricting Access to the Snow Role Policy on how to modify the trust relationship to restrict access.

  3. Choose Next. If the selected IAM role has defined a restricted access, the Create Job procedure will fail if the access criteria is not met.

  4. Choose Allow.

  5. Choose Next.