2 ms·
My favourite stack, without a doubt, is AWS Serverless. So this is an opinionated suggestion: Forget the overhead of k8s, forget servers and patching, and ansi
by bradwood 4y ago
My favourite stack, without a doubt, is AWS Serverless. So this is an opinionated suggestion:
Forget the overhead of k8s, forget servers and patching, and ansible and managing VPCs and networks and all that.
Just do the following: Cloudfront, S3-hosted front-end codebase (react, vue, angular, whatever), API Gateway backed by a lambda infra which provides your API, DynamoDB for your databases, and, where needed SQS/SNS between lambdas to fan out workloads. For inter-account messaging, try EventBridge. And then, for auth, go for Cognito*
* Cognito is, in my view, the worst piece of all this -- so, maybe try something else here if you need to (Auth0, or keycloak if you must).
Write the lambdas in Node or Python.
Use SSM Parameter Store as a config management key-value store to configure environments, lambdas etc.
Deploy the lambdas with serverless framework (or terraform).
Build all the rest of the infra with terraform.
Stick it all in a monorepo.