What do you mean? Are you saying that GCP doesn’t charge for inter-region data transfer between their own data centers like AWS does?
Really, that’s probably the smallest part of our AWS costs by far. It’s basically inconsequential.. EC2 costs blows it away
Run video applications and egress is an order of magnitude higher than compute costs. ![]()
It’s brutal. Look into using a direct connect for egress. It can be a big improvement.
Egress pricing in AWS seems to be better than what I’d pay at a colo I’ve dealt with in the past. 20 meg burstable to 1 gig. $40/mbit so 800/month. 700 GB egress for that particular location comes to something like $.87/GB. Including ingress, the average in my 95th percentile was something like 17mbit
There are many VPS providers offering VPS with 1TB transfer out for $5/month. It’d be $90/month for AWS.
So no, AWS is much more expensive.
Don’t you pay per hour for a Load Balancer Vs per request for API Gateway? So for rarely hit APIs a gateway is better. Or am I mistaken?
I hope they add CLB support. It’s much cheaper than ALB.
AWS is great as long as you never need console access to your instances.
But the EC2 costs are competitive. When you consider spot pricing, they’re really competitive especially considering they’re pay-per-second rather than pay-per-hour or pay-per-month.
Bandwidth prices are far from competitive. You can get dedicated 100/100 for $5/month from a lot of places. I get dedicated 1000/1000 for €30/month from Hetzner, and those prices include hardware (in the €30/month instance, it’s 6TB of HDD space + 16GB of RAM + a dedicated i7-2600).
I do understand that Hetzner is a very different market from AWS. It has no managed services, you pay per month for servers and have to give a 30 day notice to quit, hardware issues can bring down your dedicated server and it won’t automatically fail over, there are no managed operations such as Batch/ECS.
My issue, however, is that the prices of AWS services/operations does not infer the actual costs of the services. If Amazon thinks that EC2 is too cheap, increase the price of that. If Amazon thinks Batch shouldn’t be free, charge for it. Why charge for bandwidth, arguably one of the cheapest things out there other than to lock your customers into your service?
The worst part is Amazon pretty much states that bandwidth is worthless by throwing 1TB of transfer in as a bonus for their Lightsail instances which run in the same datacenters and have the same peering as EC2. Great, thanks mate.
I could maybe understand CloudFront’s bandwidth pricing, because they have a lot of POPs, need a lot of caching, so on and so forth, but EC2->Web? Eh.
EDIT: Oh, I forgot the final icing on the cake. You can just run a Lightsail instance in front of your AWS resources to basically:
- Use more computational for AWS (they have to supply a server)
- Use more internal bandwidth for AWS (you have to move data from EC2/whatever->Lightsail)
- Increase your own latency (EC2/whatever->Lightsail->Internet)
- Save $85/TB ($5/TB instead of $90/TB)
I’m probably the 0.01%, but if AWS dropped egress bandwidth to sub-$5/TB I could genuinely see it being usable for a lot more use cases. As of current for both my personal and business deployments (for a very small company) I’m legitimately scared to use AWS for anything public facing in case my bill ends up being a lot more than expected due to other people’s usage of my services. Everything else is my usage, EC2 = my processing, Lambda = my processing, internal bandwidth = my bandwidth, egress bandwidth = other people’s bandwidth.
SSH into the instances is definitely available. Not sure why you say it isn’t. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html
> and low cost.
lol
Amazon employees up in this bitch
Yeah man I am like an AWS cultist. I had to stop talking about it at work because people were giving me dirty looks. A lot of the AWS managed services are great but you have to be careful because you can run the bill up pretty quick. I was scoping out lambda for a few things and realized that when you add api gateway and lambda and make a few billion calls you start to have big bills (-:
and what exactly are you using it for?
Thats correct. And the monthly free margin on API gateway is fairly large. 1 million calls/messages.
Since when is the cloud cheaper than OnPrem or Colo?..
I’m guessing they mean IPMI or KVM access. Some providers allow you to be given a keyboard/monitor directly into your instance in case you break something.
I’d argue this is the wrong philosophy for a cloud, though.
Yeah, RDS can perform a back-breaker maneuver on your budget.
Since ever? How do you calculate your cost?
Client has an app that makes a call to a few API functions every few seconds. The app is used by a lot of people. Prior to launch they had hacked together a solution in Wordpress to answer those API calls. After launch, the app took off and practically immediately completely crushed the Wordpress site. Even ramped up to a high instance type, it simply couldn’t keep up. API calls were taking 10 minutes to reply back. It was absurd. Anyway, they found us and asked what they should do. I had never really used lambda for anything big before so I suggested we try that. After doing some math, we realized that we were looking at a half a billion or more lambda calls through an AWS Gateway API interface. I can’t remember the cost but it was a lot of money for this client.
The remedy was to setup an ALB with host path routing. If the API paths are used, then we send the API calls to a target group of servers who answer API calls. If no API paths are used, the default route is into the Wordpress site (which actually doesn’t get much traffic itself). The API servers are t2.small (2GB RAM) with lighttpd installed. The API responses are simply static files with json inside. They serve FAST.
We haven’t set it up yet, but we could use auto-scaling to fire up new API servers during periods of intense activity. I think we could use some kind of “number of requests” type metric in ALB though I haven’t really done my research on it. We wouldn’t use load average because the API servers don’t actually use a lot of CPU. Instead, there is some combination of CPU, vCPU, Memory and IO that eventually maxes the server out.
It depends, if you lift and shift without rearchitecting, you may end up paying more for the cloud. It’s an investment in time and money to learn how to do cloud right for your organization.
If you’re a company building new apps, it’s easier to be cloud native.