Everything that can be containerized can be serverless.
Generic FaaS framework.
Provide preloaded runtime (process-pool or thread-pool) for wide range of tasks: online service, on-demand job, interactive shell (if possible), etc
- Application code itself, of course
- Make container image of application code
- Setup flame framework on container orchestration system (plain docker, Fargate, ECS, Kubernetes, etc)
- That's it!
plain docker | Fargate | ECS | Kubernetes | Other (mesos, CoreOS..,) | |
---|---|---|---|---|---|
Service | ❎ | ❎ | ❎ | ❎ | ❎ |
Job | ❎ 📍 | ❎ | ❎ | ❎ | ❎ |
Interactive | ❎ | ❎ | ❎ | ❎ | ❎ |
plain docker | Fargate | ECS | Kubernetes | Other (mesos, CoreOS..,) | |
---|---|---|---|---|---|
Service | ❎ | ❎ | ❎ | ❎ | ❎ |
Job | ❎ | ❎ | ❎ | ❎ | ❎ |
Interactive | ❎ | ❎ | ❎ | ❎ | ❎ |