3 ms·
I don’t understand the value of container tech (unless dealing with legacy code). Serverless seems better and cheaper (lambda, GC Functions, Azure Functions).
by ricksharp 6y ago
I don’t understand the value of container tech (unless dealing with legacy code).
Serverless seems better and cheaper (lambda, GC Functions, Azure Functions). Pay as you go with no overhead costs. In many cases usage may never exceed the free credits.
For the database and persistent storage, you need a cloud native service like S3 and Postgres RDS. (Running a database in a container is asking for complete data loss from what I understand.) This is the primary cost for my tech stack and for lite loads $15 is about as minimal as possible.
So I don’t see how using containers could be cheaper unless you are keeping the data in the container, which is a bad idea since containers are supposed to be stateless.
So serverless cloud native tech seems better by far from everything I’ve experienced.
Also when using a tool like serverless framework, deploying an entire stack of serverless resources is dead simple.
I’ve tried a few times to see the value of containers, but I just don’t get it.