hey how much does it cost you for running an ec2 with a moderate number of requests. I have a ec2 with sql server running in docker in a t3 medium instance for a .Net application. I have no request coming as of now but the cost is like 3-4 $ each day. That would be painful for a small businesses. Is there a way to optimize. I did few rate limiting through nginx but cost changes were minimal. And also other aws managed service would be more expensive than manually handling.
A public IP now costs $3.65/mo. This isn't included in the EC2 price; it's not even shown in the AWS pricing calculator when estimating EC2 costs. It's hidden under VPC pricing.
That's a fairly substantial increase for small instance sizes. A t4g.small with the savings plan at around $9/mo will actually cost $13/mo — almost a 50% increase.
And there's no real way around it for most situations, especially small projects where that cost makes a difference.
Let's say you decide to use CloudFront and put your EC2 instance on a private subnet, no internet gateway or public IP. You can use EC2 Instance Connect Endpoint to SSH into your box, but good luck installing packages or pulling Docker images. You can't even connect to ECR without using AWS PrivateLink, which costs a bit over $7/mo.
And don't even think about a NAT Gateway; you'd think NAT would be cheaper than a dedicated IP, but AWS charges you $32.85/mo for what a crappy home router does.
The smallest DO droplet costs as much as an IP, and that's with 10 GB of storage (and an IP).
Is there something I'm missing here? Or is this just a new hidden fee and we have to accept it? It's already bad enough that you can't create an EC2 instance anymore without an EBS volume (another fee), but at least that's reasonably cheap. I know AWS has always been fees left and right, but it's starting to get egregious. You can't even have simple hotlink protection if you choose CloudFront without paying $6/mo, something that's free everywhere else.
Edit: Wow, this is really controversial, it seems.
Edit 2: I need to clarify a bit, because I think a lot of people reading this won't realize what's it's like for a new AWS user, or for someone like myself who's setting up AWS for the first time in 7-8 years.
When I first posted this, I didn't even realize IPv6 public IP was possible. It's not made clear in the console, either when launching an EC2 instance or when creating a VPC. IPv4 is the default for both, too. I think anyone would be forgiven for not knowing there's another way and just eating the automatic $4/mo cost.
And that's really the crux of the problem. It's not an opt-in extra charge like most AWS services. It's opt-out, and you have to know that you can even opt-out at all. And, like I said, for small, single-node applications, that $4/mo fee is a fairly significant % increase.
But the fact that some of you are supporting such hidden fees is, frankly, shameful. I think I'm done with reddit for a while. Y'all suck. Those who suggested v6 and shared your experience, thank you.
I’m trying to retrieve the pricing for all AWS EC2 instance types programmatically. I’m looking for the most efficient and up to date method. Should I use:
AWS Pricing API
AWS CLI/SDK calls
or is there any other approach to do?
I want to get both, on demand and spot pricing for all regions.
Is EC2 priced per second or per hour? If I run it 20mins will I pay only for 20mins or for one entire hour?
I think I’m being charged like $2 a week on a free tier ec2 instance.
How do I lower that cost? Seems kind of strange that that’s happening. New to this whole thing of hosting. It’s just a Wordpress blog with no traffic. Am I misunderstanding the cost of hosting?
First off, my apologies if this is not the right sub, I've been searching for appropraite subs to ask my question, but only found this.
I'm a forestry researcher, I'm trying to use an opensource software for 3D photogrammetry, but my computer keeps crashing whenever I use it. My last option is to host it on a cloud machine, but I want to estimate how much it will cost me to operate. How does EC2 billing work? Do I get charged the per hour billing every hour that I have it set up or every hour that I'm actually using it?
The software is opendronemap and I'm following this tutorial to set it up. I basically have drone imagery that I need to process to produce orthomosaics and 3D point clouds. The popular software for these are extremely expensive so I'm resorting to this. The specs I need is simply a 16GB ram, 100GB storage cloud computer. My entire work will probably take up to 2-3 days to process. I'd appreciate your advice.
I am planning to use a shared t3 small instance from AWS. I will be needing the instance for 7 days per month. When I check the estimated cost using the AWS estimated billing calculator, it shows approx bill as $260 which is very high as that is around 20k INR per month.
So I wanted to ask people who use AWS frequently if the estimated cost provided is usually correct or way off? Please help me out.
Edit - on scrolling further in the 'configure Amazon EC2' under the calculator page, I came across the 'payment options' in which the 'compute savings plan' was selected by default with a reservation term of 3 years. This led to higher cost estimation. On choosing the 'On-Demand' option, the estimated cost came down to $17 per month.
Apologies from my end. Thank you so much for the help.
You can fill out forms to calculate AWS costs directly on the AWS calculator, like here: https://calculator.aws/#/createCalculator/Lambda . However, what I'm imagining is, those form inputs are backed by actual data, like the EC2 pricing tables here https://aws.amazon.com/ec2/pricing/on-demand/ showing stuff like t4g.nano: $0.0042/hr, etc..
Is there any possible way to download all this pricing data, perhaps as XML or JSON, through one of their APIs or some other means? If it's not available officially through an API of some sort, any ideas how to obtain it unofficially, or if it's even feasible?
I am imagining of making a personal calculator like https://www.pricekite.io, which uses that data to build a custom calculator. So wondering if it can be done, in any way, shape, or form.
Good afternoon,
I'm helping out a friend. He has a moving company and I am about to create 5 websites for 5 different areas in the city for him.
The websites would be SPA, built in react, but otherwise static. The main feature he needs is for visitors to fill out a quote that will be emailed to him.
My current idea is to serve websites straight through S3, and build a single simple node server with middleware and API handler for each site. Is this architecture worth it? The traffic would be minimal, probably 1-50 hits a day at most. How much am I expecting him to be billed for running this thing 24/7? Is there other solution that would fit this need better, that I am not aware of?
I know Netlify has free hosting for such complexity and they have form handler for static websites but it is limited to 100 emails for a free tier.
Thank you!
TL:DR // How much would it cost to run T2-micro 24/7 with Node server that will handle no more than 100 API calls a day?
You have taken a look at AWS's monthly calculator, right?
I'd also reconsider using t3 instances instead of t2 - slightly cheaper, and they offer bursting without having to do any stuff to enable it.
Then again, it may actually be more cost effective to have a serverless design here with those tiny volumes - serve static assets on page via CloudFront, and have a Lambda function attached via API gateway that makes a call to Amazon SES to send outgoing.
The cost would basically be the sum of:
-
EC2 Instance costs (per hour)
-
EBS block store costs (per GB-month)
-
S3 storage costs (per GB)
-
Data transfer costs (per GB + per operation)
A t2.micro instance costs about $0.0116 per hour in US-East—multiply by 750 to get a rough monthly estimate, so about $8.70 per month.
... but there's a free tier!
There is a 12-month free tier that covers the cost of running a t2.micro instance for a year, so if it's a new AWS account you shouldn't need to pay for the EC2 instance the first year.
EBS also has a free tier (covering the first 30 GB, 2 million I/Os and 1 GB of snapshot storage), so it shouldn't cost anything at least in the first year assuming you don't exceed these thresholds.
S3 again also has a 12-month free tier, in this case covering 5 GB of standard storage, 20,000 GET requests and 2,000 Put Requests.. so it's possible you may not have to worry about S3 costs either if the traffic level is really as low as you claim.
And last but not least there is a 12-month free tier for data transfer as well that covers up to 15 GB of data transfer out (across all AWS services).
So it should be possible to run this application free of charge for the first year if your usage is low enough, but once the free tier expires there will be some costs like ~$10/month or around there if you stay at about the same usage level.
Lambda
An alternative to consider is using Lambda which will execute your code on-demand without having to keep a server instance running all the time. Lambda will quickly spin up one or multiple instances to handle whatever demand you have and you only get charged when Lambda needs to be invoked to execute your code.
Lambda is also part of AWS' permanent free tier, so you can continue using Lambda for free (up to 1 Million invocations per month) with no expiration date. By switching from an always-on instance to a serverless Lambda setup, you can potentially reduce the total monthly cost (after the 12-month free tier expires) to just pennies.
Lightsail
Lightsail is an alternative to AWS' EC2 service which packages server instances together with storage, data transfer, DNS management, etc. so you just pay one low monthly price and that should cover everything you need to host basic websites. Lightsail plans start at $3.50 per month which includes a single core 0.5 GB RAM server instance with 20 GB storage and 1 TB of monthly data transfer. Lightsail is free for the first month.
Is it possible or is there a link to a csv with the current AWS prices? I am only really looking at EC2 instances but, been able to choose others resources would be a plus.
I did see the spreadsheet from mission cloud, but to get it you need to sing to their spam list.
Also, does anyone know if its possible to export the pricing list from CloudCraft and include the instance specs?
Can someone tell me why aws instances are so expensive?
I need a virtual machine to install Prometheus. On small providers like Netcup, STRATO, …. A 4gb RAM cost 4€/months.
The same in AWS is 3x more expensively even with reserved instances.
My goal was to keep everything in the same provider.
Why is AWS so expensive?
Thanks in advance
I wanted to build an ML model using LSTMs. I don't expect it to be very large or anything. Something a single GPU would have been able to handle. I had access to a 4090, but lost access to the server after moving to a different university. There are other GitHub repos related to what I'm doing that I'd like to run as well. Is using AWS EC2 any different than having your personal server that you ssh to? What happens if I stop working and connect to it the next day? Am I charged for the whole duration or just the times I am working? Does my environment and files still stay or do I have to set it up again? I've never used any cloud services before and wanted to be completely sure about what I am getting into.
I have finished completely deploying my side project yesterday that was intended mainly for personal use but I was planning on potentially trying to market it in the future, so far the only activity on the website I have gotten is me occasionally loading the website for a few minutes and I have been working on it from time to time throughout the last month while the instances were up. I am using the lowest billing plan possible, I know that AWS apparently got rid of the free tier instances, but I was charged 20$ today for the current month with practically zero actual activity on the website? I have been wondering if there are any other options you could recommend to switch hosting platforms. Also do you think such a high cost could be due to scrape bots visiting my website for search optimization or something else? On cloudflare it shows that I have around 50 users loading my website daily but I have never advertised it in any way so I am assuming they are just bots. Could EC2 be charging extra because the bots are accessing my website? Is there some way to prevent it from happening?
I got an email with this: Product AWS Free Tier Usage as of 08/23/2024 Usage Limit AWS Free Tier Usage Limit AmazonEC2 658.754723 Hrs 750 Hrs 750.0 Hrs for free for 12 months as part of AWS Free Usage Tier (Global-BoxUsage:freetrial)
What do they means that my free tier is almost over?
I pay around 600/mo for my instances
I am a hobbyist web developer and I'm using AWS to host my personal projects. I am currently a free tier customer running a LAMP stack on an EC2 server (t2.micro) with one connected elastic IP address that I use to point my DNS to the server.
As far as I understand, with the free tier I am eligible to have my EC2 instance permanently running for the first year of being a customer, with no additional charges for the elastic IP address.
When this ends, how much can I expect to pay for this service?
My projects are very small and I am the only real user. In an average month, I may access it a few thousand times (mostly API requests and the like).
From reading their pricing information, it seems that to have my EC2 permanently running for a month, I will be billed approximately $8.whatever, does this sound accurate?
I've read some Reddit posts and some people are saying that they pay in the range of $10/month, while others are paying hundreds of thousands.
I am a complete noob when it comes to AWS so I apologize if my questions are stupid, I just really don't want to wake up to a $10,000 bill one morning because I didn't understand the pricing details.
I appreciate any and all advice!
I currently have an ec2 instance with windows server 2016. I use it as a web server for two different websites that I have created. One is a resume site and the other is a project I am working on. Neither of these sites get very much traffic, however I am being charged about $16.50 a month. I figured that was pretty standard but after speaking with a coworker I was told that I am way overpaying.
So how exactly is the cost calculated? I can't find any documentation explaining if they bill by the size of my instance, the amount of traffic on the site, etc. If someone could lead me in the right direction to learn more about how my bill is calculated and how I could reduce costs I would greatly appreciate it.
Furthermore, I should mention that I have looked at the billing section of AWS but only found a break down of where I am being charged. (All on ec2, surprise surprise)
Hello i am new to aws i have never used it before and i want to create a windows instance i selected t3.large and everything else was the free tier eligible , how much would it cost to run the instance for a month ? ( the monthly cost ) Thanks in advance EDIT : SOLVED Thanks to the aws support and the guy in the comments i will leave this post so if people have the same question can find the answer
Hi folks,
I've observed an unexpected, unwelcome jump in pricing on May 1st exactly.
In Cost Explorer, I immediately saw this was related to EC2, narrowed that to "ec2-instances" rather than "ec2-other," and then narrowed it down to "BoxUsage:t2.small" by using "Group By: Usage Type."
Reviewing AWS pricing, I can't find anything that should fall under "BoxUsage: t2.small" except for the number of t2.small instances in operation. Data transfer costs are a separate usage type. EBS volumes are a separate usage type. EBS, etc. falls under "ec2-other".
Of course, I could have added more T2 instances close to that date. So I checked my CloudTrail event log for definitive evidence. But it shows zero new instances of any kind between April 29th and May 11th. That seems pretty definite.
Was there a T2 price increase on May 1st? Any way to tell? I can't find straightforward historical data. The main increase I'm aware of recently is the $2 billing per IP4 address, but that came in on February 1st.
Does "BoxUsage: t2.small" have any variable component other than the number of T2 instance-hours?
Thanks!
Hey folks!
I launched my SaaS project(and it has zero users) with a monthly cost:
AWS
Relational Database ServiceUSD - 17.91
Elastic Compute CloudUSD - 10.71
Virtual Private CloudUSD - 6.82
Route 53USD - 0.51
Simple Storage Service - 0.03
Total: 35.98$
Mailgul(email notification):
35$ - 50k monthly emails 10 domains
So it comes down to ~$70/mon
Two thoughts:
I used AWS because I new how to set it up quickly.
Mailgun was recommend to me by a friend. I though my project will get users, but unfortunately it is not getting any. I'm switching to a cheaper plan that is 15$ per month now.
Can you please recommend what is cheaper alternatives out there. I now data bases could get expensive, but in my case I didn’t even hit 100 users and I'm already paying so much.
Thank you.
Sorry if I used the wrong flair. I'm new to AWS EC2, but looking to get an instance to do memory intensive work.
Some background: Want to work with a dataset, but it doesn't fit into memory on my personal computer.
I'm worried about the charges I'll accumulate because I'm working with something unfamilar and I expect a lot of buggy code. I expect to spend more time debugging than actually running my code.
Is there a workaround for this, did I misunderstand how the pricing works, or do I have to suck it up and deal with it?