AWS s3api 'get-object' costs - amazon-web-services

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.

Related

Why i still get charged amazon S3

Hello guys i have a weird problem with my amazon account..I enable the S3 free tier service and i upload some files to the bucket.After 1 month i remove all the files and i delete the bucket..I thought that i have finish with this but then yestarday i recieved a weird email that says amazon will charge me if i dont disable my Free Tier Services.In my account setting i can see
but its weird because i dont have any buckets
As you've now deleted the S3 bucket you should not be charged anything, it's possible that the notification was delayed. If you have multiple accounts ensure that you're in the correct account.
The 2 requests in your screenshot are presumably from two ListBuckets requests when you attempted to view your S3 buckets in your AWS account.
Just in case you're using organisations with shared billing be aware that the free tier would be used by a single account.
At the end of the month you should receive your billing for the month, if S3 is added there you can use Cost Explorer to dive into your service usage that might help to identify any resource(s) you were not aware of. Using this would cost $0.01 per query to the service.

Amazon S3 Requests Usage seems high

I have been using the AmazonS3 service to store some files.
I have uploaded 4 videos and they are public. I'm using a third party video player for those videos (JW Player). As a new user on the AWS Free Tier, my free PUT, POST and LIST requests are almost used up from 2000 allowed requests, and for four videos that seems ridiculous.
Am I missing something or shouldn't one upload be one PUT request, I don't understand how I've hit that limit already.
The AWS Free Tier for Amazon S3 includes:
5GB of standard storage (normally $0.023 per GB)
20,000 GET requests (normally $0.0004 per 1,000 requests)
2,000 PUT requests (normally $0.005 per 1,000 requests)
In total, it is worth up to 13.3 cents every month!
So, don't be too worried about your current level of usage, but do keep an eye on charges so you don't get too many surprises. You can always Create a Billing Alarm to Monitor Your Estimated AWS Charges.
The AWS Free Tier is provided to explore AWS services. It is not intended for production usage.
It would be very hard to find out the reason for this without debugging a bit. So I would suggest you try the following debugging :
See if you have cloudtrail enabled. If yes, then you can track the API calls to S3 to see if anything is wrong there.
If you have cloudtrail enabled then it itself put data into the S3 bucket that might also take up some of the requests.
See if you have logging enabled at the bucket level, that might give you more insight on what all requests are reaching your bucket.
Your vides are public and that is the biggest concern here as you don't know who all can access it.
Setup cloudwatch alarms to avoid any surprises and try to look at logs to find out the issue.

Aws pricing doubts (s3, glacier and dynamodb)

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.

What AWS CloudWatch Logs are using for storage?

I started working with amazon CloudWatch Logs. The question is, are AWS using Glacier or S3 to store the logs? They are using Kinesis to process the logs using filters. Can anyone please tell the answer?
AWS is likely to use S3, not Glacier.
Glacier would make problems if you would want access older logs as to get data stored in Amazon Glaciers can take few hours and this is definitely not the reaction time one expects from CloudWatch log analysing solution.
Also the price set for storing 1 GB of ingested logs seems to be derived from 1 GB stored on AWS S3.
S3 price for one GB stored a month is 0.03 USD, and price for storing 1 GB of logs per month is also 0.03 USD.
On CloudWatch pricing page is a note:
*** Data archived by CloudWatch Logs includes 26 bytes of metadata per log event and is compressed using gzip level 6 compression. Archived
data charges are based on the sum of the metadata and compressed log
data size.
According to Henry Hahn (AWS) presentation on CloudWatch it is "3 cents per GB and we compress it," ... " so you get 3 cents per 10 GB".
This makes me believe, they store it on AWS S3.
They are probably using DynamoDB. S3 (and Glacier) would not be good for files that are appended to on a very frequent basis.

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.