That’s a tough call. The actual code migration took me a few hours. Debugging all the weird stuff above happened over a few days. I am fairly comfortable with Elixir, OTP, and Kubernetes.
Serverless is a great way to get something out there, and its great while you are still under a free tier.
We used terraform to “deploy” (provision) the old system. We had a small script that would zip up lambdas then push them and new API Gateway deployment with terraform.
Now we deploying using Kustomize and kubectl. Kustomize is extremely simple and powerful, it essentially just renders YAML that you can pipe out to kubectl…
Sort of. We have a kubernetes cluster that is running a group of t2.2xl’s and the elixir nodes (now 4–6 depending on response time) are running in that cluster.