orion-search / universe

Experimental monorepo (with submodules) for our microservices
0 stars 0 forks source link

Enable cloud agnostic containerization and horizontal scaling #3

Open zacoppotamus opened 4 years ago

zacoppotamus commented 4 years ago

Some ideas for accomplishing this while also attaining dev/prod parity (h/t @slowr for the suggestions):

kstathou commented 4 years ago

These are all great suggestions, thank you @slowr! Using terraform and kubernetes would be beneficial (and a technical challenge we'd like to work on!).

Would it make sense to run kubernetes (AWS EKS) on Fargate? Some thoughts on our use case:

Would this be a sensible setup? Happy to learn about alternatives too!

slowr commented 4 years ago

For your use-case going server-less and using AWS EKS with Fargate (or GCP Cloud Run, etc) is the best solution price-wise and I would choose that for sure.

Fargate removes the need of specifying how many nodes you need on the control-plane when setting up the cluster which is a great resource-elasticity feature.

Be very careful on your CPU and RAM resource limits defined in your kubernetes manifests as Fargate uses them as source-of-truth to allocate the machines and do the pricing.

kstathou commented 4 years ago

That's great, thanks a lot for the suggestions and help!