0

Which AWS service is best for static content - HTML, JavaScript, Images, JSON, PDF, Excel, Text files and Application Logs.

S3 or EFS or EBS

Price is not an issue, but looking for most reliable, secure and high throughput (Mine is US only webapp).

iPhoneDev
  • 2,985
  • 3
  • 30
  • 42
  • Note that CloudFront does not *store* your files. They have to be stored elsewhere -- CloudFront will fetch, cache, and serve them from their authoritative origin, but CloudFront itself is designed as a non-durable, ephemeral cache (and it doesn't charge you for what it transiently stores while performing that role). CloudFront is used *with* one of the other options (very commonly, S3). – Michael - sqlbot Dec 27 '16 at 13:08

2 Answers2

1

[Trying not to be opinionated here]

Generally speaking, S3 is the default choice for these criteria.

S3 is:

  • way cheaper than EFS
  • more durable than EBS (using standard class)
  • (somewhat) maintenance-free, doesn't require deploying instances etc.
  • has built-in security features that would be enough for most applications
  • works well with CloudFront for distribution and acceleration
Sergey Kovalev
  • 7,747
  • 2
  • 21
  • 27
1

S3 is the right and the most obvious choice here. Mainly because of its price (up to 10 times cheaper compared with EFS and up to 4 times cheaper compared with EBS) but secondly because it's designed to serve static website (or static content).

Also Check this question

Community
  • 1
  • 1
Anton Zorin
  • 339
  • 2
  • 11