Live data from Hacker News

Serverless Horrors

serverlesshorrors.com

421–430 of 503 posts

Re: Serverless Horrors

#421

Earlier quoted context omitted.

When I am playing around in the cloud I am super paranoid about charges, so I end up locking the ACLs to only permit traffic to my home IP. It’s too bad that they don’t have a better built in way of making sandbox labs. When I was doing cloud training with A Cloud Guru, it would generate a whole global AWS instance that would only last for 30 minutes.

Why don't you run locally?

run entire aws infra locally while studying for aws certification?

Re: Serverless Horrors

#423
post #83

Earlier quoted context omitted.

This is an example of why cloud hosting is so scary. Yes, Amazon, and I assume Azure and Google's cloud and others, "usually" refund the money. But I don't want to be forced into bankruptcy because my five visitor a week demo project suddenly becomes the target of a DDOS for no reason at all and the hosting company decides this isn't a "usually" so please send the wire transfer.

If you sign up for electrical service for your house, and your shithead neighbor taps your line to power his array of grow lamps and crypto mining rigs, the power company will happily charge you thousands of dollars, and you will need a police report and traverse many layers of customer service hell to get a refund. If you sign up for water service and a tree root cracks your pipe, the water company will happily char…

> If you sign up for electrical service for your house, and your shithead neighbor taps your line to power his array of grow lamps and crypto mining rigs, the power company will happily charge you thousands of dollars

Unlike cloud services, your electrical service has a literal circuit breaker. Got a regular three-phase 230V 25A hookup? You are limited to 17.25kW, no way around that. If that shithead neighbor tries to draw 50kW, the breaker will trip.

If it were the cloud, the power company would conveniently come by to upgrade your service instead. A residential home needing a dedicated 175MW high-voltage substation hookup? Sure, why not!

Water leaks, on the other hand, tend to be very noticeable. If a pipe bursts in the attic you'll end up with water literally dripping from the ceiling. It is very rare to end up with a water leak large enough to be expensive, yet small enough to go unnoticed. On the other hand, the cloud will happily let your usage skyrocket - without even bothering to send you an email.

There are plenty of compute service providers working with a fixed cap, a pre-pay system, or usage alerts. The fact that the big cloud providers don't is a deliberate choice: the goal is to make the user pay more than they wanted to.

Re: Serverless Horrors

#424
post #301

Earlier quoted context omitted.

Provide the user the tools to make these choices. Give the option to explicitly choose how durable to extreme traffic you want to be. Have the free tier default to "not very durable"

You mean like having a billing alert send an event that allows you to trigger custom actions to turn things off? That already exists. It has for years.

So why isn't it the default yet? Why isn't unlimited scaling something you have to turn on?

Re: Serverless Horrors

#425

Earlier quoted context omitted.

Well, people get informed by reading these stories. So let's keep informing people to avoid AWS.

Yes I’m sure large corporations and even startups are going to leave AWS because a few junior devs didn’t do their research.

You do know that large corporations and startups employ junior devs as well, right?

All else being equal, would you rather choose the platform where a junior dev can accidentally incur a $1M bill (which would already bankrupt early startups), or the platform where that same junior dev get a "usage limits exceeded - click here to upgrade" email?

Re: Serverless Horrors

#426
post #360

When I was learning to program through a bootcamp I spun up an elastic beanstalk instance that was free but required a credit card to prove your identity. No problem that makes sense - it's an easy way to prove authentication as a bot can't spam a credit card (or else it would be financial fraud and most likely a felony). Amazon then charged me one hundred thousand dollars as the server was hit by bot spam. I had the…

Did you do any training before launching the elastic beanstalk instance, or you just though a F-16 should be pretty easy to fly, at least according to most pilots?

An F-16 doesn't have a prominently-featured "getting started" tutorial, which has a bunch of step-by-step instructions getting a complete novice 40.000ft into the air at mach 2.

AWS also provides training and education on how to use their services. If launching a "hello world" Elastic Beanstalk instance is so dangerous, why doesn't the tutorial require you to first provide proof that you are an AWS Certified Cloud Practitioner?

Re: Serverless Horrors

#427

Earlier quoted context omitted.

Sure. The issues with AWS could all be solved with decent billing software, though. 15 years in there isn't a good excuse for this state of the world except that it's profitable.

You can set up billing alerts to trigger actions that stop things when they trigger. The easiest way is to take permissions away from the roles you create. They give you the tools. It’s up to you to use them. If that’s too difficult, use the AWS LightSail services where you are charged a fixed price and you don’t have to worry about overages or the new free tier https://aws.amazon.com/free/ Because despite what every…

Instead of lightsail, I'll use digital ocean. It's a cheaper way to get undifferentiated VMs.

If it is so easy to set up these automations, Amazon can easily set up this automation for you. Ask yourself why they don't.

Re: Serverless Horrors

#428
post #360

When I was learning to program through a bootcamp I spun up an elastic beanstalk instance that was free but required a credit card to prove your identity. No problem that makes sense - it's an easy way to prove authentication as a bot can't spam a credit card (or else it would be financial fraud and most likely a felony). Amazon then charged me one hundred thousand dollars as the server was hit by bot spam. I had the…

Did you do any training before launching the elastic beanstalk instance, or you just though a F-16 should be pretty easy to fly, at least according to most pilots?

c’mon mate, be real. aws is absolute shit for beginers, this is such a bad comment

Re: Serverless Horrors

#429
post #83

When I was learning to program through a bootcamp I spun up an elastic beanstalk instance that was free but required a credit card to prove your identity. No problem that makes sense - it's an easy way to prove authentication as a bot can't spam a credit card (or else it would be financial fraud and most likely a felony). Amazon then charged me one hundred thousand dollars as the server was hit by bot spam. I had the…

This is an example of why cloud hosting is so scary. Yes, Amazon, and I assume Azure and Google's cloud and others, "usually" refund the money. But I don't want to be forced into bankruptcy because my five visitor a week demo project suddenly becomes the target of a DDOS for no reason at all and the hosting company decides this isn't a "usually" so please send the wire transfer.

Aws, able to bill everything down to like milliseconds of usage...

We can't implement a basic cost limiter policy.

I think we all know why.

Re: Serverless Horrors

#430

Earlier quoted context omitted.

You can set up billing alerts to trigger actions that stop things when they trigger. The easiest way is to take permissions away from the roles you create. They give you the tools. It’s up to you to use them. If that’s too difficult, use the AWS LightSail services where you are charged a fixed price and you don’t have to worry about overages or the new free tier https://aws.amazon.com/free/ Because despite what every…

Instead of lightsail, I'll use digital ocean. It's a cheaper way to get undifferentiated VMs. If it is so easy to set up these automations, Amazon can easily set up this automation for you. Ask yourself why they don't.

$1 cheaper per month for the lowest performance VM on both?
Post reply on HN