2 ms·
SAM is able to run AWS Lambda functions locally and to emulate some API Gateway behavior. It doesn't allow you to run all the other services like DynamoDB, SNS,
by Dunedan 6y ago
SAM is able to run AWS Lambda functions locally and to emulate some API Gateway behavior. It doesn't allow you to run all the other services like DynamoDB, SNS, S3, etc. locally. As Serverless applications often rely on such additional AWS services, the ability of SAM to run AWS Lambda functions locally doesn't really help for running such applications locally.
- deleted 6y ago[deleted]
- zerubeus 6y agoYou guys don't even take the time to do a simple search... https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html https://docs.aws.amazon.com/amazondynamodb/latest/developerg... You can have pretty much all the services locally if you want you can even have a step function locally
- Dunedan 6y agoDynamoDB and AWS Step Functions are notable exceptions to the fact that AWS services are usually not available locally. The vast majority of AWS services isn't available outside of AWS.
- zerubeus 6y agoI have a local tool for every AWS service just tell what are you looking for, for example I use https://github.com/softwaremill/elasticmq https://github.com/softwaremill/elasticmq to emulate SQS locally
- viraptor 6y agoThere's also https://github.com/localstack/localstack https://github.com/localstack/localstack for the heavier services.