4 ms·
We use AWS Lambda exclusively on the product I am currently working on (3 peoples team). - We use the Serverless framework - Monorepo with multiple (micro) se
by kostarelo 9y ago
We use AWS Lambda exclusively on the product I am currently working on (3 peoples team).
- We use the Serverless framework
- Monorepo with multiple (micro) services
- Each service exposes Lambda for particular functions (e.g. Articles service exposes GetArticle, CreateArticle, etc..)
- No business logic is being shared between services, only libraries
- Three environments, Dev, Stage, Production (and every developer can also deploy its own)
- Tests are invoking the Lambda handlers directly and are mocking responses from other Lambda calls. We use Localstack to stub AWS services, such as S3 and DynamoDB.
Still, a lot to learn of course, but so far everything is working great for us.
- davemontorio 9y agoWhat do you use to store articles? DynamoDB? If so, are you ok with querying and searching data? What about security? How do you implement it?
- kostarelo 9y agoDynamoDB for storing only. After an article is stored in DynamoDB and stream will index it into an ES Service. Then we are quering and searching only ES. DynamoDB can't handle searching very good. Security wise, everything is private except one Lambda that exposes a GraphQL server and is being forwarded to the public net through API Gateway. We will implement subnets and security groups very soon.
- davemontorio 9y agoWith ES do you mean ElasticSearch from AWS? This is interesting, can you tell me something more please?