Serverless Or Autoscaling?
Hi Guys,
I need some advice on which path should I go to.
Currently, I have a team working on a project which is still under the development phase. but we have released our pre-registration last week. Our app got a lot of registered users (with premium subscription too) we nearly 3k registered users now. And I am expecting that it will got more users once we release.
Our current stack is an AWS ec2 VM for the app, RDS for the database, s3 for buckets, SQS-FIFO for queueing, and Redis for the session ("soon once we are release!").
So my question is I am very concerned that our app will not perform well so I was thinking about scaling. My first choice is auto-scaling on AWS which I didn't have experience yet. I am watching on youtube and I think I can set it up and I think I can do it.
But also there is the serverless using AWS lambda which I don't experience also. I am not sure if it will be fit our app (i am not saying that it will not I just don't know if it will.).
so here is our app it is a laravel 8 application that doesn't use any frontend framework. it uses jetstream and fortify for the authentication only. we have around 15 routes that our users will be accessing. so most of the pages are written using blades, with bootstrap (using CDN) and minimal jquery (using CDN also).
So which path should I go to scale? AWS Lambda or AWS Autoscaling? The client doesn't care how much they will spend on AWS as long as it performs great on production.
Laravel Vapor is not an option now because it takes ages to get approval from the client, but I will consider this in the future if we go serverless. I should have think about this earlier before we start developing.
Thank you in advance.
Please or to participate in this conversation.