Amazon Data Transfer OUT - amazon-web-services

I am a developer at a start up company.
I am now at a point to choose the cloud service.
My server's primary task is to send and recieve jpeg images(about 1mb). We are estimating 100,000 users, 50 requests for images for each user for each month. There fore about 5TB(100K * 50 * 1mb) data transfer OUT is made.
Total cost for data transfer is 1005$(5000GB * 0.201$ --> Japan region price for CloudFront and EC2) each month.
For a start up company, this is a very big investment for a start-up company.
Is there a way to reduce data transfer cost?

I see two options:
You could use CloudFlare instead of CloudFront. They provide CDN functionality for free.
If you don't use S3 to serve images, but do it from your servers, you could use different provider. For instance Linode has DC in Tokyo, where 4 GB ($80) gives you 8 TB transfer. Another one is vps.net - 1 GB instance ($40) gives you 6 TB of transfer. You can also play a bit with Cloudorado to find something for you.

Related

inflated pricing using ec2 on aws. data transfer

I have an EC2 service in AWS, in which the only thing I do is upload a .txt file 4 times a day, which all my clients, when using my software, use the last txt I uploaded, it can be updated by all as many times as they want in the day.
Lately with the EC2 service I am being surprised by the cost of ec2 $0.090 per GB - first 10 TB / month data transfer.....
I wanted to know if there is another option to continue using an AWS service where I can host these txt, my clients can consume it and not pay as much as I am doing (more than 200 dollars per month)
DISCLAIMER I AM FROM ARGENTINA
ok the first thing that you have to know is that all the data uploaded is free, BUT if you expose your instance through AWS Load Balancer you will be charged for connections and data processing, the data transfer fees in AWS is basically a head ache IMO.
My suggestion -> AWS S3
If your txt files can be publicly accessible or you can modify your app to create S3 pre-signed URLs to make the files privates but accessible from your customer side, put those files in AWS S3, basically you will pay exactly the same data transfer fee but you will save on Ec2 instance capacity and EBS is a little bit more expensive than S3, additionally you don't need to care about HA or backups.
I think you don't need Cloudfront at the very beginning

Need details on how aws data transfer costs are calculated using S3

We're making a social media app using amplify and are newbies to aws. The services we're using include s3, auth, hosting, analytics, api and lambda functions. We've already accrued significant data transfer usage and I'm guessing it's from repeatedly grabbing images from S3.
Does Storage.get() which generates a presigned URL count as "data transfer out"
Or does it only count when we actually view the file from the URL?
Is there a difference in data transfer between generating a URL and downloading the actual file with Storage.get?
Major costs associated with S3 :
Storage cost : charged per GB / month. ~ $0.03 / GB / month, charged hourly
API cost for operation of files : ~$0.005 / 10000 read requests, write requests are 10 times more expensive
Data transfer outside of AWS region : ~$0.02 / GB to different AWS region, ~$0.06 / GB to the internet.
Based on volume and region the actual prices differs a bit, but optimization techniques stay the same. I will use the above prices in following cost estimates
Note : Leverage AWS Pricing Calculator as much as you can to save cost. It lets you estimate the cost for your architecture solution.
Generating a URL does not cost anything because it's just a computational operation.
The price of S3 downloads can be computed using the AWS Pricing Calculator. Consider using a CDN such as CloudFront in front of S3. There are many benefits in using a CDN, one of which is pricing.

I am using digital ocean cloud storage, and I want to migrate to AWS S3

I am using digital ocean spaces as a cloud storage to store users data, and its costing me for both hosting the data and for datatransfer. So, I wanna migrate to Amazon Simple storage s3 (frequent access). I just went through the official docs of AWS S3 and found that, it will cost only for the data hosted in their storage, regardless of the retrieval numbers, I am new to AWS ecosystem and I am not sure about the pricing concept of AWS. Please let me know the pricing estimate for the following scenario:
=> any user can upload a data in my mobile applications
=> if i store around 100 gb of data with AWS s3,
=> if i retrieve that 100 gb around 50 to 100 times a day in my mobile app.
=> how much I need to pay per month,
=> current pricing to store 1 gb is around $0.02.($0.02/1gb)
Not sure what documentation you were reading, but the official S3 pricing page is pretty clear that you are charged for:
Data storage, which depends on region but is somewhere between 2 and 5 US cents per gigabyte, per month.
Number of requests, which again depends on region, but is on the order of a few US cents per 1,000 requests (retrieving a file is a GET request; uploading a file is a PUT request).
Data transfer, which again depends on region, but ranges from a low of $0.09/GB in the US regions, to a high (I think) of $0.154 in the Capetown region.
So, if you're retrieving 100 GB of data 100 times a day, you will be paying data transfer costs of anywhere from $900 to $1540 per day.
In my experience, Digital Ocean tends to be cheaper than AWS for most things (but you get fewer features). However, if you're really transferring 10 TB of data per day (I think that's unlikely, but it's what you asked), you should look for some hosting service that offers unlimited bandwidth.

What would be the cost of bandwidth on google cloud platforms if i make a video calling app?

Zoom provides video streaming services, and I made one of my own and considering deploying it on google compute, it says the bandwidth will cost $110 for 1TB if I use it in a month. The cost is pretty much high if we charge a fee like zoom.
If I want to deploy such service it would cost very high considering only bandwidth. What will be an estimate if i had 100 meetings rooms open and in each meeting room 50 participants are there , What would be the estimated cost if they are active for 8 hours per day?
What will be approximate bandwidth they would use considering variable quality of stream, may be 240p, 360p or 720p, considering on the user side they are able to receive the full quality of stream?
Is google calculates egress on the basis of computed data or the amount of data sent to the user regardless of computation of data or a direct download of file?
Person having a good knowledge of google compute please answer.
Thanks in advance.
Google simply calculates the egress or the data sent from the VM considering what goes out of the VM whether it is processed or not.
The price of egress is roughly $0.12/GB, for latest rates visit gcloud pricing calculator.
The egress totally depends upon the number of users downloading or accessing the data on the VM.
So suppose at 240p 40kbps of data is needed on the client side, so
considering 100 rooms with 50 persons each comes to be 5000 clients connected to the VM at an instance.
So, conducting a meeting which lasts 8 hours a day, the egress from the VM would be
5000*(40kbps)*(8*3600 seconds)
= 5*40*8*3600 MB
= 5760000 MB
= 5760 GB
And the cost of such egress would be
5760 GB * $0.12/GB
= $691.2
So, if you have such high bandwidth usage and you want a cheaper option try using digital ocean, their bandwidth is cheaper than gcloud and AWS
There are to many variables to be able to calculate a price, or even egress, however there is a tool available for platform pricing that you can use based on estimates. Cloud Platform Pricing Calculator Hopefully this will be able to give you the information you are seeking

AWS Bandwidth data transfer out beyond the global free tier dramatically increased

I'm new to AWS. I launched a EC2 instance and some S3 buckets in April.
The cost of AWS in April and May are normal, but the cost of AWS in June are doubly increased.
I went to the Bills Page to check and I found that the data transfer is abnormal.
Here are the pictures about the cost in May and June:
I didn't change anything except the ssh setting of EC2's (myip -> anywhere).
Can anyone tell me where should I check my setting first?
I assume you are referring to:
Data Transfer in May: 48 GB for $4.36
Data Transfer in June: 319 GB for $28.71
Data Transfer is charged for outbound traffic to the Internet. The AWS Free Usage Tier provides an initial 15GB at no charge. Thereafter, the charge depends upon your Region. It appears that you are in the USA, where the rate is $0.09/GB.
There has been no price increase on AWS. In fact, AWS just announced their 62nd price reduction. Rather, the cause of the increased charge is the fact that your account consumed more data transfer in June (319 GB) than in May (45 GB).
Data transfer would include users on the Internet accessing your web servers, any downloads from AWS (eg from Amazon S3) and everything else causing data to go from AWS to the Internet.
If you think this is too high, you should examine the services you are running and, in particular, make sure you are not serving large content from Amazon S3.