Aws pricing doubts (s3, glacier and dynamodb) - amazon-web-services

Im studing aws pricing and I have some doubts.
About Amazon S3, it says that we pay $0.03 per gb per month.
But for example If I use only 256kb of storage, 256kb = 0.000256gb, using AWS S3 calculator it says that the cost is $0.00. So for small amounts of storage is always free??
And I have my s3 bucket configured with glacier class, so when I store this 256kb of data in s3, after 1 day this data is stored in glacier. So in this case, using 256kb for a day in s3 and then store in glacier, I dont pay nothing for s3 and glacier?
And also about Amazon S3 it says that we pay for get requests and for data transfer out from Amazon S3 To internet, If I acess for example a file inside my bucket from for example this link: https://s3.amazonaws.com/uploads/uploadedfiles/test/file.txt, it is a get request or data transfer out from Amazon S3 to internet??
And just one more about dynamoDB, it says that first 25GB stored per month is free, it is always free? Or it is just free for free tier?

S3 is free for 12 months for up to 5GB per month.
DynamoDB is 25GB per month for up to 12 months on the free tier.
Glacier is not part of the free tier program.
If I access for example a file inside my bucket from for example this
link: https://s3.amazonaws.com/uploads/uploadedfiles/test/file.txt, it
is a get request or data transfer out from Amazon S3 to internet??
Blockquote
That is both a S3 GET request and a S3 data transfer out.
AWS has each item and how much the FREE tier provides broken out on this page
http://aws.amazon.com/free/faqs/
http://aws.amazon.com/free/
Using the calculator with 256kb will not give you realistic results. That's like using a mortgage calculator on a $0.01 loan.
Try using the AWS calculator http://calculator.s3.amazonaws.com/index.html with 3 GB at least. Still with the AWS free tier you can do a lot for your first year and pay zero dollars to Amazon.

Related

How can I pin-point the source of AWS S3 costs?

I'm currently surprised by a pretty high daily AWS S3 cost of over 31 USD per day (I expected 9 USD - 12 USD per month):
I'm using eu-central-1
All buckets combined are less than 400 GB
No replication
The best explanation I have is that the number of requests was way higher than expected. But I don't know how I can confirm this. How can I narrow down the source of AWS S3 cost?
Is it possible to see the costs by bucket?
Is it possible to see a breakdown by storage / requests / transfers / other features like replication?
First pay attention to the factors on which AWS S3 charges - i.e. based on storage, how many requests s3 is getting, data transfer and retrieval.
Some of the ways for cutting and keep track on the cost -
Delete the previous version of the buckets if you don't need that.
Move the data to different s3 storage based on frequency of data retrieval.
activate the cost allocation tags on your buckets so that you can review the cost on individual bucket.
create an S3 Storage Lens dashboard for all the buckets in your account.

Am I charged for creating and keeping AWS S3 buckets?

I created two buckets back in 2018 but never removed them. Rest assured that they are empty buckets with no files at all.
I didn't see any fee charged, so I presume Amazon/AWS didn't charge for simply creating S3 buckets?
S3 pricing is based on object storage, not buckets. You can read more about S3 pricing on the AWS S3 pricing page here.
Well, even though you're not charged for the bucket itself, you can still incur some charges related to them.
There are six Amazon S3 cost components to consider when storing and managing your data—storage pricing, request and data retrieval pricing, data transfer and transfer acceleration pricing, data management and analytics pricing, replication pricing, and the price to process your data with S3 Object Lambda. For my details about the pricing model, check it out here

Pricing Structure of Amazon S3 AWS

I'm a newb at this and just want a clear understanding of how price is calculated.
I want to uses s3 cloud storage so that people can upload video, let's say 5 gb per day, we download the video, make changes and upload again for the person to retrieve.
That is 4x upload/download. Would that be 20gb transfer total? AWS on the high cost allows 100gb transfer per month (https://www.hostingadvice.com/how-to/aws-s3-pricing/). If each day our transfer is 20gb that will add up pretty fast.
Is there a more cost effective way to do cloud storage?
Thanks!
Pricing for Amazon S3 can be found at: S3 Pricing by Region | Amazon Simple Storage Service
The data transfer costs incurred would be:
Upload from Internet to S3: Zero
Download from S3 to an Amazon EC2 instance in the same region (for processing): Zero
Upload from EC2 to S3 in same region: Zero
Download from Amazon S3 to Internet: 9c/GB (in USA, but varies elsewhere!)
For a 5GB file, total data transfer costs: 5 x 9c = 45c
There would also be storage costs (2.3c/GB per month) and request pricing (way under 1c).

AWS s3api 'get-object' costs

I need to download this 60 milions tweets dataset (https://github.com/compsocial/CREDBANK-data) for my thesis work.
So I signed up for an AWS account and configured it with the correct parameters in my Mac terminal, then I signed in also into the S3 page, BUT when I try the following command:
aws s3api get-object --request-payer requester --bucket credbank --key stream_tweets_byTimestamp.data stream_tweets_byTimestamp.data
I get this error message:
An error occurred (NotSignedUp) when calling the GetObject operation: Your account is not signed up for the S3 service. You must sign up before you can use S3.
So, from what I understand, the problem is that my prepaid card wasn't accepted as a valid payment method and therefore my account isn't fully activated yet.
So, my question is, if I only need to run the get-object command above to download the data, could I be charged for some money if I use a real credit card, even if with my new account I'm in the 12-months free tier period?
Please let me know if you need further details to understand my question!
Thank you very much!
No. Your card will not be charged a single penny unless one of these happens:
a) You use >5 GB of Standard Storage. This one is really important in your case so ensure the data size you will be downloading
b) You make >20,000 Get Requests
c) You make >2,000 Put Requests
I've signed up for AWS free tier and used their S3 and EC2 services for a year without bearing any cost.
If the file you want to download is smaller than 15GB, then the download will cost you nothing, even if you use a real credit card.
You'll only use 1 GET request (you have 20,000 free) and a portion of the 15 GB of free download transfer per month.
Source:
As part of the AWS Free Usage Tier, you can get started with Amazon S3
for free. Upon sign-up, new AWS customers receive 5 GB of Amazon S3
storage in the Standard Storage class, 20,000 Get Requests, 2,000 Put
Requests, and 15 GB of data transfer out each month for one year.

Number of Buckets in Amazon Free Tier

I am trying out Amazon S3 for my file uploads and would like to store different buckets for development, test and production environments. In amazon documentation it was mentioned the following statement
As part of the AWS Free Usage Tier,
you can get started with Amazon S3 for
free. Upon sign-up, new AWS customers
receive 5 GB of Amazon S3 storage,
20,000 Get Requests, 2,000 Put
Requests, 15GB of data transfer in,
and 15GB of data transfer out each
month for one year.
Is there any limitation about the number of buckets. I mean if I have three buckets and If I use within the overall storage limit, will I be charged.
Each account in AWS is limited to 100 buckets -- even if you are paying the normal usage rates.
Buckets are not billable items in S3.
If the limit of 100 is not enough you can create virtual folders in your buckets and structure your environment that way.