-It is needed to upgrade the existing infastructure.
-Currently a single nodejs server is running on a t2 micro instance on AWS, the server is using a local MySQL DB.
-The server is running behind cloudflare.
-The server functions to receive API requests, does a simple process, respond to requests, and log each request in the MySQL DB.
-Server currently can handle 100-500 requests per second, however, if the load increases, server CPU resource is depleted and stops functioning.
-Each API request includes a password in the http link, if the password is valid, then request is server. If the password is invalid, request must be ignored. Note that in both cases, these requests are consuming CPU usage.
You need to do the following
-Come up with a plan to handle 10x-100x the existing load.
-Find a solution to block http attacks with invalid passwords (These can be 1-2 million requests per second).
8 freelancers are bidding on average $163 for this job
Hello..I am an experienced cloud server engineer ...I can help you with this ...use nginx infornt of node server to handle more requests ...block invalid password request after 3 attempts .......Let me know in chat
Hi, I am DevOps engineer with 4.7 years experience.I have worked on many projects like yours,i can plan for your AWS [login to view URL] get in touch on chat .