Skip to content

Instantly share code, notes, and snippets.

@dheerajinampudi
Last active May 1, 2021 02:22
Show Gist options
  • Save dheerajinampudi/1a632cc6d8afb1b68009e0e59676ffcb to your computer and use it in GitHub Desktop.
Save dheerajinampudi/1a632cc6d8afb1b68009e0e59676ffcb to your computer and use it in GitHub Desktop.
difference between s3 website endpoint and REST API endpoint
Website Endpoint Rest API
Bucket is publicly available Only Accessible via cloudfront endpoint
Must be a public bucket Need not be a public bucket
Less secured due to s3 global read access More secured because of OAI configuration
Users can access your files through CloudFront and S3 bucket directly users can only access your files through CloudFront not directly from the S3 bucket
Makes Auditing difficult as buckets need public access option to be ON at all times Meet compliance by disabling public access to all buckets by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment