- serverless-localstack 0.4.0
- localstack 0.12.9
- pros
- supports a lot of aws services
- single source of all aws data, all aws-sdk clients are configured in the same way
- seamless integration with other services (check the trigger chain in the example, lambda fn (send sqs) -> sqs fn (publish sns) -> sns fn (put in dynamodb))
- not possible to use lambda optimization
mountCode: true
, it just doesn't work with that stack tested - works with serverless offline (but again only if
mountCode: false
and with cloudside plugin) - large community
- cons
- requires global external dependencies (python, pip, localstack, docker)
- not stable when deploying fns iteratively (sometimes the same deploy may fail, sometimes it succeed), seems work ok for the clean startup
- no watch mode (possible to integrate with serverless offline)
- may be hard to apply for existing project with complex serverless config
- issues with typescript plugin (serverless-webpack could be used instead, but requires manual setup)
- serverless-offline-sqs 4.1.1
- elasticmq 1.1.0
- pros
- easy setup
- built in watch mode (provided by serverless offline)
- cons
- requires external dependency (java, elasticmq-server)
- may be challenging to integrate with other offline plugins (sns, s3, dynamodb), needs multiple services running (dynamodb-local, Minio)
- small community