Amazon EMR Management Guide Specifying Amazon S3 Encryption Using EMRFS

Amazon emr management guide specifying amazon s3

This preview shows page 88 - 90 out of 395 pages.

Amazon EMR Management Guide Specifying Amazon S3 Encryption Using EMRFS Properties [ { "Classification":"emrfs-site", "Properties": { "fs.s3.enableServerSideEncryption": "true", "fs.s3.serverSideEncryption.kms.keyId":" a4567b8-9900-12ab-1234-123a45678901 " } } ] Configuration Properties for SSE-S3 and SSE-KMS These properties can be configured using the emrfs-site configuration classification. SSE-KMS is available only in Amazon EMR release version 4.5.0 and later. Property Default value Description fs.s3.enableServerSideEncryption false When set to true , objects stored in Amazon S3 are encrypted using server-side encryption. If no key is specified, SSE-S3 is used. fs.s3.serverSideEncryption.kms.keyId n/a Specifies an AWS KMS key ID or ARN. If a key is specified, SSE-KMS is used. Amazon S3 Client-Side Encryption With Amazon S3 client-side encryption, the Amazon S3 encryption and decryption takes place in the EMRFS client on your cluster. Objects are encrypted before being uploaded to Amazon S3 and decrypted after they are downloaded. The provider you specify supplies the encryption key that the client uses. The client can use keys provided by AWS KMS (CSE-KMS) or a custom Java class that provides the client- side master key (CSE-C). The encryption specifics are slightly different between CSE-KMS and CSE-C, depending on the specified provider and the metadata of the object being decrypted or encrypted. For more information about these differences, see Protecting Data Using Client-Side Encryption in the Amazon Simple Storage Service Developer Guide . Note Amazon S3 CSE only ensures that EMRFS data exchanged with Amazon S3 is encrypted; not all data on cluster instance volumes is encrypted. Furthermore, because Hue does not use EMRFS, objects that the Hue S3 File Browser writes to Amazon S3 are not encrypted. To specify CSE-KMS for EMRFS data in Amazon S3 using the AWS CLI Type the following command and replace MyKMSKeyID with the Key ID or ARN of the AWS KMS CMK to use: aws emr create-cluster --release-label emr-4.7.2 or earlier --emrfs Encryption=ClientSide,ProviderType=KMS,KMSKeyId=MyKMSKeyId Creating a Custom Key Provider When you create a custom key provider, the application is expected to implement the EncryptionMaterialsProvider interface , which is available in the AWS SDK for Java version 1.11.0 and 82
Image of page 88
Amazon EMR Management Guide Specifying Amazon S3 Encryption Using EMRFS Properties later. The implementation can use any strategy to provide encryption materials. You may, for example, choose to provide static encryption materials or integrate with a more complex key management system. The encryption algorithm used for custom encryption materials must be AES/GCM/NoPadding . The EncryptionMaterialsProvider class gets encryption materials by encryption context. Amazon EMR populates encryption context information at runtime to help the caller determine the correct encryption materials to return.
Image of page 89
Image of page 90

You've reached the end of your free preview.

Want to read all 395 pages?

  • Spring '12
  • LauraParker
  • Amazon Web Services, Amazon Elastic Compute Cloud

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes