DEV Community

Sharon Wang
Sharon Wang

Posted on

LocalStack:Free Cloud Service

If you don't have an AWS account and a credit card, or you don't want to worry about being overcharged or having to wait forever for services to be provisioned, this is what you need: http://LocalStack.cloud.

Image description

Developers can create, design, test, and deploy your serverless and cloud apps offline using LocalStack, a fully complete local AWS cloud stack. It provides a user-friendly interface for testing on the local device, with an environment that functions similarly to the actual AWS cloud environment and has the same APIs. Numerous important cloud APIs may be used on the local device.

The LocalStack project is open-source and free. It is well-known as a testing framework and simulation engine for creating cloud apps that can rapidly start a free cloud server on a local PC that is compatible with AWS. In the majority of use cases, LocalStack can replace AWS. It comes as a Docker image and offers sophisticated collaboration tools, continuous integrations, and APIs for more than 90 AWS services, such as API Gateway, Kinesis, DynamoDB, Firehose, Lambda, S3, SNS, and many more.

The main features of LocalStack include:

1. Simulate AWS environment
Create a container on the local computer that supports a variety of cloud resources, including Lambda functions, API Gateway, S3 buckets, DynamoDB databases, and others, and offers capabilities and APIs comparable to those of AWS.

Image description

2. No need for remote cloud services
With the help of the cloud service emulator LocalStack, developers may run AWS apps locally without establishing a connection with a distant cloud provider. This can streamline the testing and development processes. By developing and testing locally rather than utilising remote cloud providers, developers can save money and time.

3. Error injection feature
Users may simulate problems and introduce faults into their apps and infrastructure by using LocalStack's Fault Injection Service (FIS) and Chaos API. These tools assist users with identifying possible vulnerabilities and testing the robustness of their systems.

The Fault Injection Service (FIS) replicates defects like service errors and resource unavailability. It can be used to help developers better prepare for possible problems by offering error injection capabilities similar to those seen in a true cloud environment, such as simulating region outages, interrupting a portion of requests, and adding latency to API calls; it enables customers to evaluate their applications function when components of their infrastructure fail.
The Chaos API enables users to test their systems in difficult settings, such as outages. It can be employed to confirm the architecture's resilience and carry out failover situations.

Benefits of utilising FIS and the Chaos API include: (1) assisting users in locating and addressing possible defects; (2) assisting users in creating more resilient systems that can endure turbulence; (3) enabling early chaos testing in the development process; and (4) enabling rapid experimentation with various failure scenarios.

Now available is LocalStack 3.7, with an emphasis on better parity with AWS. This version brings a number of new features, improvements, and corrections.

https://github.com/localstack/localstack

https://docs.localstack.cloud/overview/

https://aws.amazon.com/blogs/awsmarketplace/accelerating-software-delivery-localstack-cloud-emulator-aws-marketplace/

Top comments (0)