News for hackers. Stuff that matters.
Re:Tell HN: I DDoSed myself using CloudFront and Lambda Edge... by refulgentis on Tuesday June 28, 2022 @02:45PM (#31911450)
I'm not day to day on cloud stuff, haven't been in a while, that's why I'm asking this, not intended to be passive-aggressive:

So if I had a "hello world" function, that basically just returned a constant JSON payload...I'm seriously looking at a pittance, pennies for millions of requests? I.e. $0.20?

Re:Tell HN: I DDoSed myself using CloudFront and Lambda Edge... by NorwegianDude on Wednesday June 29, 2022 @01:30AM (#31916805)
No. You would also have to pay for memory usage and bandwidth.

Millions of requests for a static file is easily done on a dedicated server in a few seconds if the file is small. $0.2 per request is very expensive.

To put things in to perspective: If you buy a very cheap new server for $1K, then you would be able to handle small static requests worth thousands for dollars each day according to AWS pricing. That's a nice return on investment!

Re:Tell HN: I DDoSed myself using CloudFront and Lambda Edge... by detaro on Tuesday June 28, 2022 @02:54PM (#31911595)
yes.