Module 3 Challenge Lab - Creating A Static Website For The Café
Module 3 Challenge Lab - Creating A Static Website For The Café
the Café
Scenario
Frank and Martha are a husband-and-wife team who own and operate a small café business that sells desserts and coffee. Their
daughter, Sofía, and their other employee, Nikhil—who is a secondary school student—also work at the café. The café has a single
location in a large city.
The café currently doesn’t have a marketing strategy. They mostly gain new customers when someone walks by, notices the café,
and decides to try it. The café has a reputation for high-quality desserts and coffees, but their reputation is limited to people who
have visited, or who have heard about them from their customers.
Sofía suggests to Frank and Martha that they should expand community awareness of what the café has to offer. The café doesn’t
have a web presence yet, and it doesn’t currently use any cloud computing services. However, that situation is about to change.
Note: In this challenge lab, you will encounter a few tasks where step-by-step instructions are not provided. You must figure out
how to complete the tasks on your own.
Duration
This lab will require approximately 60 minutes to complete.
Task 1: Extracting the files that you need for this lab
In this task, you will extract the files that you need to create the static website.
5. Download the .zip file you need for this lab by opening this Amazon S3 link.
6. On your computer, extract the files. Notice that you have an index.html file, and two folders that contain Cascading Style
Sheets (CSS) and image files.
Version: 2012-10-17
Statement:
- Action:
- s3:ListBucket
- s3:ReplicateObject
- s3:ReplicateDelete
- s3:ReplicateTags
- s3:Get*
Resource:
- '*'
Effect: Allow
This access policy allows the role to perform the replication tasks on all S3 buckets. In a real production environment, you should
restrict the policy to apply only to your source and destination S3 buckets. For more information about creating an IAM role, refer
to Setting Up Permissions for Replication.
26. Return to the browser tab with the multiple-choice questions for this lab, and answer the following question:
Question 3: Do you see the objects from your source bucket in the destination bucket?
27. Make a minor change to the index.html file and upload the new version to your source bucket.
28. Verify that the source bucket now has three versions of the index.html file.
29. Confirm that the new object was replicated to your destination bucket. You might need to reload the browser tab.
30. Go to your source bucket and delete the latest version.
31. Return to the browser tab with the multiple-choice questions for this lab, and answer the following question:
Question 4: Was the version that you just deleted from your source bucket also deleted from your destination bucket?
Lab complete
Congratulations! You have completed the lab.
35. To confirm that you want to end the lab, at the top of this page, choose End Lab , and then choose Yes .
A panel should appear with this message: DELETE has been initiated... You may close this message box now.
36. To close the panel, choose the X in the top-right corner.
©2020 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in
part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.