S3 Lab-
For this lab we will demonstrate the ease of hosting static content in S3.
This should not take very long and is very easy, just follow the steps below or watch the video located here http://www.modelmetrics.com/wp-content/uploads/2011/02/DePaul-S3-Lab.swf
1. Open a web browser and go to http://www.freewebsitetemplates.com/ here we will select a free website to get started with, for this demo I will choose the travel template. Select the template site you want to use and download it to you computer.
2. Unzip the download.
3. Log into aws.amazon.com and navigate to the S3 page.
4. In the S3 tab create a bucket. I will use demos3 as the bucket name.
5. Select the bucket you just created
6. Now right click in the Objects and Folders section and choose upload, in the upload manager window highlight the 3 files index.html, style.css and travel.psd then hit open.
7. Now in the Upload Files window at the bottom right click start upload. You should see a progress bar in the transfer’s section and the files should show up in the Objects and Folders screen.
8. Now click the create a folder button, when the new folder pops up name it exactly as the name of the folder that was in the zip file you downloaded, I will use images.
9. Now double click on the images folder to open it.
10. In the images folder click the Upload button.
11. In the upload window click inside the images folder and select all the files in it, then hit the start upload button.
12. You should see files appear in the images bucket.
13. Now navigate back to the bucket you created, mine was demos3
14. Now hight light the index.html object and right click to get to the properties.
15. In the properties you should see 3 tabs- Details, Permissions and Metadata. Lets look at Metadata for the index.html file.
16. The S3 console is pretty good at recognizing the files and we want to make sure it is Key: Content-Type Value:text/html
17. Now click back on details and copy the link and paste it into a web browser, what do you see? It should look like this AccessDeniedAccess Denied80EDC005228C118A4ptOunASFW/ER0Q6QxM52ohdqdmtHuLFrbMlX+skwNS8IcEvGl+BcLxHjdPkdUN6
18. Now lets select all four objects in the bucket and right click and select make public.
19. Now try the link again, what do you see? A website with images? If no, we need to go into the images folder and make all images public.
20. Now remember to delete all the stuff you added or you will be charged.

