Developer Associate · Lesson 1 of 3S3 and content delivery6 min

Should this file pass through the application server?

The essentials in 30 seconds

before you dive into the details
Picture this

Approve the address, send the parcel directly

Approve the delivery

Presigned URL -> scoped request authorization

The application chooses the object and permitted operation.

Use the direct route

Client -> S3 object upload

File bytes do not pass through the application server.

Where the analogy stops: A presigned URL uses signer permissions and expires no later than its credentials. It is not a single-use guarantee. CORS is a separate browser check.
01Picture the mechanism

The server approves a delivery address and operation. The client then sends the parcel directly to S3 instead of through the server.

02Choose by the signal

Separate upload authorization, browser access, transfer recovery and event routing.

03In the application

Use presigned PUT for authorized direct upload, multipart for part retries, and ObjectCreated notifications for processing. Filter output away from input triggers.

Exam trap

CORS does not grant S3 authorization. A processing function can loop if its own output matches the same notification.

Keywords
  • presigned PUT
  • CORS
  • multipart upload
  • ObjectCreated
  • input prefix
One sentence to remember

Separate upload authorization, browser access, transfer recovery and event routing.

1 media item5 rule steps5 scenarios6 flashcards

Focus mode