DEV Community

Discussion on: Watchout! Laravel Vapor!

Collapse
 
jackellis profile image
Jack Ellis

I was just linked to this post on Twitter. For anyone reading this who wants a review of how Vapor performs when you use it properly & don't write infinite loops, here's my review: usefathom.com/blog/vapor-one-year

Collapse
 
abandonedsign profile image
Evil Commissar

Please, read the whole post. Not only the title.
I didn't write an infinity loop.

The root cause of this situation was the fact that after canceling my subscription on Vapor (and deleting everything from it) - he gives me the illusion that everything is fine and clean. In fact - it doesn't, because all resources were still on the AWS account. And if you (or your other project code) accidentally will remove s3 bucket - this will cause infinity lambda invocation and you'll pay for that.

I'm happy that you know how to use it "properly", really. I don't.
Even after spending hours on comprehensive documentation and "Serverless Laravel" course.

People should know pitfalls. Especially, newbies who just started learning serverless and decided to go with Vapor, that's it.

Collapse
 
jackellis profile image
Jack Ellis

For sure. What can I add to the Serverless Laravel course to prevent this? I've not heard of anyone deleting S3s and obviously I don't want this to happen to anyone else. Was the infinite loop the only issue you experienced?

Thread Thread
 
abandonedsign profile image
Evil Commissar

Yes. Only one issue...

And don't get my wrong, I will continue to use Vapor soon.
This cannot stop me from using it ^^

Personally, I see two options here:

  1. You could add a short video/notice about configuring billing alerts/budgets on AWS. If this will be lesson 0 in course series - it will prevent such situation, I think. Because all experiments will be controlled from the beginning.

  2. Communicate somehow with Laravel team, and put some additional notices before deleting projects and inform the user that he needs to remove everything from AWS manually (and give information what should be removed)

Something like this!

Thank you for understanding me, Jack!
And a big thanks for all your work! ❤️

Thread Thread
 
jackellis profile image
Jack Ellis

I didn’t realize you had taken my course when replying to you originally. That means I have more work to do here. So I apologize for jumping the gun.

I’ll take this and see what I can do.

Collapse
 
vmiguellima profile image
Miguel Lima

It happen the same to me! I deleted my vapor account an thought everything was fine then I receive a bill of ~30$