SIMPLE STORAGE SERVICE (S3)

[ASSOCIATE] S3 Security (Resource Policies & ACLs) (18:19)

[ASSOCIATE] S3 Static Hosting (10:36)

[ALL] [Demo] Creating a static website with S3 (17:55)

[ASSOCIATE] Object Versioning & MFA Delete (7:56)

[ALL] [DEMO] - S3 Versioning (15:45)

[ASSOCIATE] S3 Performance Optimization (11:42)

[ASSOCIATE] [DEMO] - S3 Performance (5:06)

[ASSOCIATE] Key Management Service (KMS) (18:38)

[ALL] [DEMO] KMS - Encrypting the battle-plans with KMS (12:43)

[ALL] S3 Object Encryption CSE/SSE (23:31)

[ALL] [DEMO] Object Encryption and Role Separation (14:50)

S3 Bucket Keys (5:59)

[ASSOCIATE] S3 Object Storage Classes - PART1 (9:23)

[ASSOCIATE] S3 Object Storage Classes - PART2 (11:41)

[ASSOCIATE] S3 Lifecycle Configuration (8:13)

[202304UPDATE] [ALL] S3 Replication (13:59)

[ALL] [DEMO] Cross-Region Replication of an S3 Static Website (19:52)

[ASSOCIATE] S3 PreSigned URLs (11:11)

[ALL] [DEMO] Creating and using PresignedURLs (18:23)

[ASSOCIATE] S3 Select and Glacier Select (5:32)

[ASSOCIATE] Cross-origin Resource Sharing (CORS) (9:26)

Alt text CORS: Same Origin vs Cross Origin

What is CORS?

Cross-Origin Resource Sharing (CORS):

  • an HTTP-header based mechanism that
    • allows a server to indicate any origins (domain, scheme, or port) other than its own
    • from which a browser should permit loading resources.

CORS also relies on a mechanism by which

  • browsers make a “preflight” request to the server hosting the cross-origin resource,

    • in order to check that the server will permit the actual request.

      Access-Control-Request-Method: POST
      Access-Control-Request-Headers: X-PINGOTHER, Content-Type
      
    • the server response

      Access-Control-Allow-Origin: https://foo.example
      Access-Control-Allow-Methods: POST, GET, OPTIONS
      Access-Control-Allow-Headers: X-PINGOTHER, Content-Type
      Access-Control-Max-Age: 86400
      

Alt text CORS Configuration on the Cross-Origin

Alt text CORS: Simple Request & Preflight Request

[ASSOCIATE] S3 Events (4:32)

[ASSOCIATE] S3 Access Logs (3:05)

S3 Requester Pays (4:36)

Alt text S3 Requester Pays: Requester pays for the requests and data transfer out from the bucket

[ASSOCIATE] S3 Object Lock (9:52)

Section Quiz - S3