Question
For this Lab, you should be logged into AWS using your IAM Admin User(User A) credentials. In this step, you will first be creating an
For this Lab, you should be logged into AWS using your IAM "Admin" User (User A) credentials. In this step, you will first be creating an S3 bucket and upload an object to the bucket.
- On the main AWS Management Console page, type in "S3" within the Services search bar at the top.
- For this lab, you will use the following PREFIX for your S3 bucket names.
- Prefix is the string of characters your S3 bucket name STARTS with.
- For example: If your school username is bsmith006, your bucket name should BEGIN with: sec325-bsmith006
- For Bucket 1, set the following below, then click on Create bucket button to complete.
- Bucket name:
-encrypt
- Bucket name:
Region: US East (N. Virginia) us-east-1
Block all public access: Leave Checked (default)
- Select the S3 bucket you just created from the bucket list to open it.
- Next, click on the Upload buttonto upload an object (file) from your local computer (can be any file).
- Click on the Add File button, select your file, and click on Open to upload it.
- At the bottom page, click on the Upload button to complete.
- In the upper right of your page, click on the Exit button to return to your bucket.
- Remain on this page and continue on to Section 2.
Section 2: Enable encryption on S3 bucket
For this step, we will be enabling encryption on your S3 bucket and uploading a second object to it.
- Within your bucket, select the Properties tab, then scroll down to the Default Encryption section.
- Click on the Edit button, select Enable, then Amazon S3 key (SSE-S3), and choose Save changes.
- Click on the Objects tab.
- Next, click on the Upload button
- Select a new object (or file) to your S3 bucket. The object should have a different name than the first object you uploaded.
- At the Review page, click on the Upload button to complete. Then, click on Exit button.
- Within your bucket list, you should now see two (2) separate objects.
- For each object, click on the object name link. Then scroll down to the Server-side encryption settings section.
- Take a screenshot of the information presented on the encryption status for BOTH objects. You will need these files to complete the lab assignment in Canvas.
- Navigate back to the main S3 page, and continue on to Section 3.
Section 3: Enable Cross-region replication (CRR)
Within this step, you will use your S3 bucket to enable cross-region replication.
- Create a second S3 bucket, set Bucket 2 with the following below, then click on Create bucket button to complete.
- Bucket name:
-crr
- Bucket name:
Region: EU (Ireland) eu-west-1
Block all public access: Leave Checked (default)
- On the main S3 page, select the first S3 bucket (Bucket 1) you created Section 1 and click on it to open.
- Next, select the Management tab, then locate the Replication rules section.
- To enable cross-region replication, click on the Create replication rule button.
- Within the Replication rule window, at the top you should see a notification about versioning not enabled on the bucket.
- Click on the Enable versioning button to enable s3 versioning on your bucket.
- Type in a Replication rule name, then scroll down to the Destination section.
- Select Choose a bucket in this account, then click on the Browse S3.
- Click on Bucket 2 that you created in Step 1, and select Choose Path button.
- Next, select Enable bucket versioning.
- Under IAM role, click on the drop down and select Create new role.
- Lastly, click on the Save button to complete.
- Take a screenshot of the information presented under Replication rules. You will need this file to complete the lab assignment in Canvas.
- Navigate back to the main S3 page.
- You should now see the destination bucket you just created within your bucket list.
Section 4: Object Replication
For this section, you will upload objects to your main S3 bucket and view the replicated objects in your destination bucket. For this task, you first want to open two (2) separate browser windows.
- From the main S3 page in your first browser window, select Bucket 1 and open it.
- Open a second browser window, select Bucket 2 and open it.
- On your local computer, create a new object (or file) and save it on your computer.
- Next, upload your file to Bucket 1. Follow steps 4 through 6 in Section 2.
- In Bucket 1, click on the new object to open it. Scroll down to the Object management overview section.
- Take a screenshot of the information presented under Replication status on the right. You will need this file to complete the lab assignment in Canvas.
- Within your second browser window, refresh the page and you should see the replicated object in Bucket 2.
- Click on the replicated object, and scroll down to the Object management overview section.
- Take another screenshot of the information presented under Replication status on the right. You will need this file to complete the lab assignment in Canvas.
- After enabling encryption on the S3 bucket, why did the first object that was uploaded remain unencrypted?
- What action could be performed to encrypt that first object?
- Discuss the differences you found between the object you uploaded in your source S3 bucket, and the replicated object in your destination bucket after enabling cross-region replication (CRR).
A Replication requires versioning to be enabled for the destination bucket. Enable object versioning on this bucket to continue creating the replication rule or select a different bucket. Enable bucket versioning
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started