Language SDKs

How to use your favorite cloud development SDK with LocalStack.


LocalStack integrates with official AWS Software Development Kits (SDKs) so you can connect to LocalStack services using the same SDKs you use for AWS services. This lets you develop and test your applications locally without connecting to the cloud.

How to connect with AWS SDKs?

To connect to LocalStack services using AWS SDKs, you can use one of the following methods:

  • Manual configuration: Manually configure the SDK to connect to LocalStack services by setting the endpoint URL to http://localhost:4566 or This can also be specified using a profile or an environment variable.
  • Transparent endpoint injection (recommended): Connect to LocalStack services without modifying your application code. Transparent endpoint injection uses the integrated DNS server to resolve AWS API calls to target LocalStack. Refer to the Transparent Endpoint Injection guide for more information.


How to use the .NET AWS SDK with LocalStack.


How to use the C++ AWS SDK with LocalStack.


How to use the Go AWS SDK with LocalStack.


How to use the AWS Java SDK with LocalStack.


How to use the JavaScript AWS SDK with LocalStack.


How to use the PHP AWS SDK with LocalStack.

Python Boto3

How to use the Boto3 Python AWS SDK with LocalStack.


How to use the AWS SDK for Ruby with LocalStack.