LocalStack Release v3.5.0

LocalStack 3.5 introduces significant enhancements including support for the Database Migration Service (DMS), an all-new EC2 Libvirt VM manager for emulating virtual machines, a new EventBridge provider, and much more.

Other notable updates include enhanced support for container Lambda via the Kubernetes executor, custom model support for Sagemaker, several Step Functions enhancements, and new CloudFormation resource providers.

LocalStack’s new web server implementation, which enhances performance in high-throughput scenarios and was initially enabled by a feature flag, is now the default setting. LocalStack CLI also does not publish port 53 anymore by default. You can use the CLI flag --host-dns to expose the port on the host.

You can get started with LocalStack 3.5 using the localstack CLI:

localstack update docker-images

Community Release

The release features new enhancements and additions to support our community-edition users.

New EventBridge provider

LocalStack now includes a native EventBridge provider accessible through the feature flag: PROVIDER_OVERRIDE_EVENTS=v2. This provider supports:

  • EventBridge buses and rules
  • Event patterns and targets
  • Compatibility across multiple accounts and regions
  • Tagging for buses and rules
  • Support for Cloud Pods and Persistence

For more information on EventBridge v2, refer to the following Discuss post.

SNS Filter operations

LocalStack now includes additional SNS filter operators:

Improvements have also been made to the Anything-but matching. Furthermore, support for the $or operator now enables more complex filter policies.

New enhancements in the Step Functions provider

LocalStack now features several new enhancements in the Step Functions provider. They include:

  • Support for Glue optimised integrations for Step Functions.
  • Support for CloudWatch Logs logging and monitoring in Step Functions.
  • Previously, the Step Functions interpreter did not normalize the output values of service responses when the response type was not directly inferrable as JSON, such as with StreamingBody data types. This issue has now been addressed, and normalization steps are in place for such data types.
  • Previously, the Step Functions interpreter could not execute reentrant distributed map states because it did not perform necessary cleanups at the end of evaluations, preventing the activation of new workers. These issues have now been addressed.

New enhancements in the CloudFormation provider

LocalStack now features several new enhancements in the CloudFormation provider. They include:

  • Support for CFN_PER_RESOURCE_TIMEOUT environment variable, defaulting to 300 seconds. This extends CloudFormation deployment limit for a single resource beyond the previous 2.5-minute hard cap, accommodating larger deployments such as nested stacks.
  • Support for the deployment order now better accounts for dependencies among resources during both creation and deletion. This update should resolve issues in larger stacks with many dependent resources. To revert to the previous behavior, set CFN_LEGACY_TEMPLATE_DEPLOYER=1.
  • Additional structural template validations have been introduced to validate that the passed CloudFormation template is not missing any required fields.

Other changes and enhancements

  • AWS has deprecated the SQS attribute-names parameter for the receive-message operation and replaced it with message-system-attribute-names. LocalStack has implemented this update.
  • Support for CommaDelimitedList in CloudFormation macro.
  • Support for S3 Multipart Uploads object integrity checks.
  • Support for GZIP and bzip2 decompression for S3 Select.
  • Support for environment variable placeholders in hot-reloading paths for Lambda functions.
  • Support for --env-file flag in the DOCKER_FLAGS environment variable when using the LocalStack Docker Container, allowing you to pass the path to an environment file.

Pro Release

The Pro release features a lot of new enhancements and additions to support our licensed users.

[Enterprise] New Database Migration Service provider

LocalStack now includes a Database Migration Service provider accessible through the feature flag: ENABLE_DMS=1. This provider supports use-cases such as:

Source Target Migration Types
MariaDB (external) Kinesis full-load, cdc
MySQL (external) Kinesis full-load, cdc
RDS MariaDB Kinesis full-load, cdc
RDS MySQL Kinesis full-load, cdc

For more information on DMS emulation, refer to the official documentation.

[Preview] New libvirt VM manager for EC2

LocalStack’s libvirt VM manager uses the libvirt API to create fully virtualized EC2 resources. This lets you create EC2 setups which closely resemble AWS EC2. Currently, LocalStack supports the KVM-accelerated QEMU hypervisor on Linux hosts. This VM manager supports use-cases such as:

Operation Notes
DescribeImages Returns all mock and libvirt AMIs
RunInstances Defines and starts a libvirt domain
StartInstances Starts an already defined libvirt domain
StopInstances Stops a running libvirt domain
RebootInstances Restarts a libvirt domain
TerminateInstances Stops and undefines a libvirt domain
CreateVolume Creates a sparse libvirt volume

For more information on the libvirt VM manager, refer to the official documentation.

New enhancements in the IoT provider

LocalStack now features several new enhancements in the IoT provider. They include:

  • Support for DELETE operation for Device Shadow Service over MQTT in the IoT provider.
  • Support for publishing MQTT messages with non-JSON payloads in the IoT provider.
  • Support for named shadows in the IoT provider.

New resources in the CloudFormation provider

LocalStack now features several new resources in the CloudFormation provider. They include:

Operation Create Update Delete
AWS::ACMPCA::Certificate :white_check_mark: :white_check_mark:
AWS::ACMPCA::CertificateAuthority :white_check_mark: :white_check_mark:
AWS::ACMPCA::CertificateAuthorityActivation :white_check_mark: :white_check_mark:
AWS::ACMPCA::Permission :white_check_mark: :white_check_mark:
AWS::EC2::PrefixList :white_check_mark: :white_check_mark:
AWS::EC2::VpcEndpoint :white_check_mark: :white_check_mark:
AWS::Batch::ComputeEnvironment :white_check_mark: :white_check_mark:
AWS::Batch::JobQueue :white_check_mark: :white_check_mark:
AWS::Batch::JobDefinition :white_check_mark: :white_check_mark:
AWS::Glue::Registry :white_check_mark: :white_check_mark:
AWS::Glue::Schema :white_check_mark: :white_check_mark:
AWS::Glue::SchemaVersion :white_check_mark: :white_check_mark:
AWS::Glue::SchemaVersionMetadata :white_check_mark: :white_check_mark:
AWS::Glue::Connection :white_check_mark: :white_check_mark:
AWS::Cloudfront::ResponseHeadersPolicy :white_check_mark: :white_check_mark:
AWS::EFS::AccessPoint :white_check_mark: :white_check_mark:
AWS::EFS::MountTarget :white_check_mark: :white_check_mark:
AWS::SageMaker::Model :white_check_mark: :white_check_mark:
AWS::SageMaker::Endpoint :white_check_mark: :white_check_mark:
AWS::SageMaker::EndpointConfig :white_check_mark: :white_check_mark:
AWS::WAFv2::WebACL :white_check_mark: :white_check_mark:
AWS::WAFv2::WebACLAssociation :white_check_mark: :white_check_mark:
AWS::WAFv2::IPSet :white_check_mark: :white_check_mark:
AWS::WAFv2::LoggingConfiguration :white_check_mark: :white_check_mark:

Other changes and enhancements

  • Neptune default Cardinality for Vertex property changed from Single to Set for better Gremlin query parity with AWS.
  • LocalStack has added support for container lambdas using the Kubernetes executor. The configuration option LAMBDA_K8S_INIT_IMAGE lets you specify the image used to download the init binary from LocalStack.
  • Support for Apache Airflow 2.8.1 in the Managed Workflows for Apache Airflow (MWAA).
  • Support for SageMaker custom-built model inference deployment.
  • Custom DNS support for API Gateway REST APIs.
  • Support for ListPipes operation in the EventBridge Pipes provider.

SaaS Release

The LocalStack Web Application features new components and improvements to manage your LocalStack subscription and local AWS resources via our intuitive user-interface.

[Enterprise] New DMS Resource Browser

The LocalStack Web Application now provides a DMS Resource Browser for managing:

You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the Resources section, and then clicking on Database Migration Service under the Migration and transfer section.

For more information on DMS emulation, refer to the official documentation.

Other changes and enhancements

  • Neptune Resource Browser is now easier to use, featuring a graph browser on the main page and a dropdown menu for selecting instances.
  • You can now select Athena databases and S3 paths directly from the Athena SQL editor
1 Like