> For the complete documentation index, see [llms.txt](https://paul-gleason.gitbook.io/champlain-college-classes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://paul-gleason.gitbook.io/champlain-college-classes/sys-360-cloud-admin/labs/lab-4-1-s3-server-side-encryption.md).

# Lab 4-1: S3 Server-side Encryption

## Create S3 Bucket:

<figure><img src="/files/HvccBTN3KERvl4Z1gswF" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/cJJJdLMjyS7HZpH7PNxa" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/d3OFfJHlJsR2rnslbrSM" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/PBtBnqeQPYSNb6943x5C" alt=""><figcaption></figcaption></figure>

### Upload file:

<figure><img src="/files/qLggjwstIC4aI98p3iDJ" alt=""><figcaption></figcaption></figure>

#### **Submit screenshot of your S3 bucket with a file stored in it.**

<figure><img src="/files/2T2Zt17imq9seBNadhZk" alt=""><figcaption></figcaption></figure>

## **Create a Customer Managed Key in KMS:**

<figure><img src="/files/76cFy9WSY7HWQouzoODg" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/yTnGeYWpyr7QszdE19o3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/LlwmexctGvxWCwPqK1z1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/vWoNeDoHJMwC38ZcDxzt" alt=""><figcaption></figcaption></figure>

On the "Key Administrative" page - you need to add the "vocareum" and "vocstartsoft" roles - which are on the second page of listed roles

<figure><img src="/files/poXB1GJuq6sUuBFWOaqW" alt=""><figcaption></figcaption></figure>

Again - select "vocareum" and "vocstartsoft" on page 2

<figure><img src="/files/2vSJoLzZnewgPdph4p3f" alt=""><figcaption></figcaption></figure>

#### **Submit screenshot of your KMS key listed in the console:**

<figure><img src="/files/yeVdtwYYtbKFJybFxchd" alt=""><figcaption></figcaption></figure>

## **Use native S3 SSE  (S3 Master Key) to protect a file in S3 Bucket**

Click Upload to add a file to your S3 Bucket

* Expand Properties
* Select "Specify and encryption key"

  * Override bucket settings
  * Select SSE-S3 (this uses AWS's managed key)

  <figure><img src="/files/TOa9aUtAYeJ9PmpV8epq" alt=""><figcaption></figcaption></figure>

  <figure><img src="/files/Jbi4EXSpnOvDx51TpNBJ" alt=""><figcaption></figcaption></figure>

  **Submit: Screenshot showing properties of a file in your S3 bucket that is encrypted with S3 Master Key:**

<figure><img src="/files/jQCSGLoG6H9xDAXK4ISF" alt=""><figcaption></figcaption></figure>

## **Use native AWS KMS SSE  (KMS Master Key) to protect a file in S3 Bucket**

Using the mostly the same process as above - upload another file to your S3 Bucket ,  **but this time  protect it using the AWS KMS Master Key** **you created in Step 2**

<figure><img src="/files/tTt2zc2ruHYhn1YwLbJB" alt=""><figcaption></figcaption></figure>

**Submit: Screenshot showing properties of a file in your S3 bucket that is encrypted with your AWS KMS key**

<figure><img src="/files/r4Jmw5iAkQuW8ltrCJMc" alt=""><figcaption></figcaption></figure>
