-
-
Notifications
You must be signed in to change notification settings - Fork 8
Deploy a monorepo with Fastify microservices into production. #144
Description
Hello all this a long one, way too specific use case and maybe a long shot but as @delvedor suggested we can also create a section into the documentation settings.
For the past few months, I am developing an application which is actually a monorepo. I have some micro frontend apps consuming Sapper along with Fastify and lots of independent APIs which are using Fastify, actually, each microservice is a standalone Fastify server.
I was using ZEIT's Now for development and staging as was stated into the docs (https://github.com/fastify/fastify/blob/master/docs/Serverless.md#zeit-now) but due to some platform changes, we were locked out.
Are there any tutorials, tips or even platform suggestions that they could help us deploy and scale our application in production? I had attended NodeConf's Fastify workshop (https://github.com/delvedor/fastify-architecture-workshop) with a similar mindset.
Eventually, I want to create a solution where each microserver will be independent and I could scale each one on demand. Maybe an example with Kubernetes and Cloudflare load balancer could work but I am not quite sure as I have not found any reasonable examples or solutions.
Any help or suggestions would be highly appreciated.