serverless-localstack
aws-cdk-local
serverless-localstack | aws-cdk-local | |
---|---|---|
2 | 3 | |
504 | 244 | |
1.2% | 0.0% | |
6.1 | 1.4 | |
22 days ago | about 1 year ago | |
JavaScript | JavaScript | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
serverless-localstack
-
LocalStack and AWS Parity Explained
Great point. Fully agree that providing a first-class local development experience is critical to the overall story of application development frameworks.
I guess the main difference is that frameworks like Serverless provide a great experience if you fully buy into their way of doing things (i.e., implement your application assets in the Serverless YAML DSL, etc), whereas LocalStack is a generic platform that works on the API emulation level, hence integrates with most tooling out of the box.
Making the switch from Serverless to, say, AWS CDK, or AWS SAM, or Architect framwork may not be as seamless - however, for each of these frameworks you can always run the local emulation natively on LocalStack. This can help reduce the overall vendor lock-in effect that a lot of application development frameworks come with.
In fact, LocalStack also provides an integration with Serverless [0] - among many other tools [1].
[0] https://github.com/localstack/serverless-localstack
- Localstack – Local AWS Emulator
aws-cdk-local
-
Localstack – Local AWS Emulator
Absolutely - CDK under the covers generates CloudFormation templates, which deploy natively on LocalStack. Certainly a great use case for local dev&test - especially if you want quick feedback cycles, ability to destroy the stack immediately, etc.
There's also a "cdklocal" command line which should make it fairly easy to get started with local CDK development: https://github.com/localstack/aws-cdk-local
-
Testing in Infrastructure as Code and why Terraform may not be the best option
cdklocal (https://github.com/localstack/aws-cdk-local, tested with 1.65.2)
-
Localstack + CDK = local AWS development
CDK Local
What are some alternatives?
eucalyptus - Eucalyptus Cloud-computing Platform
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
aws-sam-cli - CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
CDK-with-Localstack - Example for local development with CDK and Localstack and API Gateway
pulumi-local - Thin wrapper script to use Pulumi with LocalStack
aws-cdk - The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
emulators - High quality cloud service emulators for local development stacks
martian - The HTTP abstraction library for Clojure/script, supporting OpenAPI, Swagger, Schema, re-frame and more
LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline