s3bucket name force If we are using versioned bucket that contains previously

S3bucket name force if we are using versioned bucket

This preview shows page 4 - 22 out of 22 pages.

s3://bucket-name --force If we are using versioned bucket that contains previously deleted-but retained objects, This command does not allow to remove the bucket without removing the content first 2. Document the creation of AWS S3 bucket to host a website
Image of page 4

Subscribe to view the full document.

that includes: 2.1 the source code of index.html file and error.html file. (6pts) The source code of Index.html file The source code of error.html code
Image of page 5
The location of index.html and error.html
Image of page 6

Subscribe to view the full document.

CLI: Objects in AWS bucket 2.2 what is the ARN of your S3 bucket? (2pts) The ARN of my S3 bucket is arn:aws:s3:::ananyahw4 ARN stands for Amazon Resource Names. This is used to uniquely identify amazon resources. 2.3 what is the webhost url? (2 pts ) Webhost URL:
Image of page 7
2.4 attach the content (json format) of the bucket policy you created at step 6.4 (8 pts ) code: { "Id": "Policy1574223304786", "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1574223301760",
Image of page 8

Subscribe to view the full document.

"Action": "s3:GetObject", "Effect": "Allow", "Resource": "arn:aws:s3:::ananyahw4/*", "Principal": "*" } ] } { "Id": "Policy1574223304786", "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1574223301760", "Action": "s3:GetObject", "Effect": "Allow", "Resource": "arn:aws:s3:::ananyahw4/*", "Principal": "*" } ] } 2.5 the snapshot of the browser with the webhost url (9pts) Webhost URL:
Image of page 9
3. Document the creation of helloworld lambda function and invoke it using aws CLI 3.1 Screenshot of the helloworld lambda function page with its ARN shown (10pts) Lambda Function showing ARN:
Image of page 10

Subscribe to view the full document.

LAMBDA FUNCTION CODE:
Image of page 11
Image of page 12

Subscribe to view the full document.

Image of page 13
Execution results:
Image of page 14

Subscribe to view the full document.

3.2 Screenshot of the running result of step 8.7 (5pts) 3.3 Attachment of the response.json file generated at step 8.7 (5pts)
Image of page 15
4. Document the creation of a listen_to_s3_new_object lambda function that will be triggered by s3 object creation 4.1 Screenshot of the listen_to_s3_new_object lambda function page with its ARN and s3 event trigger ARN shown (10pts)
Image of page 16

Subscribe to view the full document.

4.2 Screenshot running the aws CLI to create a s3 object followed with $ date to record the current time (5pts)
Image of page 17
4.3 Screenshot of the cloudwatch logs of listen_to_s3_new_object lambda function triggered by the s3 object creation (10pts)
Image of page 18

Subscribe to view the full document.

Image of page 19
Image of page 20

Subscribe to view the full document.

Image of page 21
Image of page 22
  • Spring '17

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