Please enable JavaScript.
Coggle requires JavaScript to display documents.
S3 BUCKET & CLOUDFRONT - Coggle Diagram
S3 BUCKET & CLOUDFRONT
PRICING
REF
https://www.youtube.com/watch?v=_DRklnnJbig
DOCS
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-started-nodejs.html
STORAGE CLASS
STANDARD (default)
Frequently accessed data (more than once a month) with milliseconds access
STORAGE $0.023 GB
S3 infrastructure is also extremely affordable, as users only pay for what they use. S3 Standard comes at an equivalent of $0.023 / GB, while the Standard IA comes to $0.0125 / GB.
GET, SELECT, DELETE and all other requests (per 1,000 requests)
$0.0004
The total cost for 100,000 requests is $0.04.
PUT, COPY, POST, LIST requests (per 1,000 requests)
$0.005
100,000 requests will cost $0.50
FREE TIER
As part of the AWS Free Tier, you can get started with Amazon S3 for free. Upon sign-up, new AWS customers receive 5GB of Amazon S3 storage in the S3 Standard storage class; 20,000 GET Requests; 2,000 PUT, COPY, POST, or LIST Requests; and 100 GB of Data Transfer Out each month.
MIN BILLIBLE FILE SIZE 128KB
NO MINIMUM
S3 Standard-IA (Infrequent Access)
Ideal if you expect to access your images less than once a month
minimum storage time for Amazon S3 Standard-IA is 30 days
S3 EXPRESS ONE ZONE
most latency-sensitive applications.
S3 Intelligent-Tiering
GLACIER DEEP ARCHIVE
Suppose you just place your objects to Glacier Deep Archive for only 10 days then you decided to move your data to another storage class. In this case, you will still have to pay the remaining 170 days! That's a considerable amount of cost to cover!
S3 Glacier Instant Retrieval
MINIMUM STORAGE TIME 90 DAYS
PUBLIC ACCESS
Simple Storage Service
To reduce costs of querying the object storage massively, consider putting a CDN service in front of it such as Cloudfront / Cloud CDN or Cloudflare.
Yep, absolutely put Cloudfront in front of your S3. AWS incentivises you to do it by actually making that combination cheaper than S3 alone, both with free tier bandwidth and with cheaper bandwidth over that tier. Cheaper, faster, much more power and features such as your own domain rather than S3's bucket and free SSL.
ALTERNATIVE
BACKBLAZE V2
100% performance at ⅕ AWS S3 cost and 3x free egress
MIGRATION CLOUDLINKER
https://medium.com/@cyberwojak/comparing-amazon-s3-and-backblaze-b2-cloud-storage-insights-034f50361c3f
CLOUDFRONT
FREE TIER
10,000,000 HTTP or HTTPS requests
2,000,000 CloudFront Function invocations
1 TB of data transfer out
REF
https://www.youtube.com/watch?v=EIYrhbBk7do
AFTER
10 TB/month
$0.085 per GB
HTTPS requests
$0.0100 per 10,000
SETUP
https://youtu.be/kbI7kRWAU-w?t=677s
IF DELETE IN S3, STILL EXISTS IN CLOUDFRONT LINK
AVAILABLE FOR 24 HOURS
PERF LINK SPEED TEST
https://tools.keycdn.com/performance
LINK PROTECTION AWS WAF
Web ACL $5.00 per month (prorated hourly)
Rule $1.00 per month (prorated hourly)
https://aws.amazon.com/waf/pricing/?icmpid=docs_cf_help_panel
WARNING: WHEN ACTIVATED, THE BILLING WAS $.50 IN TWO DAYS
DEFENSES
Protect against the most common vulnerabilities found in web applications.
Protect against malicious actors discovering application vulnerabilities.
Block IP addresses from potential threats based on Amazon internal threat intelligence
AMAZON S3 LENS
https://www.youtube.com/watch?v=mJuOtZs3orM
STORAGE ANALYSIS