Enterprise Image
Introduction
Section titled “Introduction”LocalStack offers an Enterprise image that allows offline usage and includes a customer-specific configuration. This offline functionality is enabled by:
- Pre-installed packages required for running specific services that are usually downloaded on demand (such as
opensearchordynamodb-local). - A certificate keypair for
localhost.localstack.cloudto resolve to the LocalStack container via our DNS server. - An embedded decryption key in the image, eliminating the need to contact the license server to operate LocalStack.
Why use Enterprise Image?
Section titled “Why use Enterprise Image?”- Airgapped environments: The Enterprise image is ideal for customers who operate in airgapped environments where internet access is restricted.
- Security Fixes: The Enterprise image is updated with the latest security fixes and patches including container image scans on a priority basis.
- Custom Configuration: The Enterprise image can be customized to include specific packages and configurations required by the customer.
- CI Usage: The Enterprise image can be used in CI/CD pipelines to ensure that the same image is used across all environments.
How to use the image?
Section titled “How to use the image?”- After the image is pushed to the customer-specific ECR repository, the customer can pull and push it to their internal Docker registry.
- Developers within the customer’s network can then pull the image from this registry.
- To use the image from the command line interface (CLI), set the
IMAGE_NAMEconfiguration to the name of the Enterprise image, typically using the command:Terminal window IMAGE_NAME=localstack-enterprise localstack start
“Online” vs “Offline” image
Section titled ““Online” vs “Offline” image”This section compares the standard LocalStack for AWS Docker image (“online”) with the customer-specific Enterprise image (“offline”).
Key differences
Section titled “Key differences”| Area | Standard image | Enterprise image |
|---|---|---|
| Internet requirement for core startup | Requires network access for normal license activation. | Designed to run without internet access in air-gapped environments. |
| License behavior | Activates via LocalStack licensing endpoints. If unreachable, LocalStack attempts offline activation and requires re-activation every 24 hours. | Includes an embedded keypair/decryption key so LocalStack can run without contacting the license server. |
| Service dependencies | Some services may download dependencies on demand during runtime. | Service dependencies are pre-baked into the image for offline usage. |
| Cloud Pods | Platform remote integration can sync state with your LocalStack account. | LocalStack Platform remotes are typically unavailable in fully air-gapped setups. Use self-managed remotes (for example S3 or ORAS) when available in your environment. |
| Ephemeral instances | Available via Web App/CLI as cloud-hosted LocalStack runtimes. | Not available in air-gapped/offline deployments because they run on LocalStack Cloud infrastructure. |
| Telemetry | Can send usage events for features such as Stack Insights. | Keep event reporting disabled (DISABLE_EVENTS=1) for strict offline setups. |
What communicates with LocalStack Cloud?
Section titled “What communicates with LocalStack Cloud?”The main integrations are:
- License activation: The standard image performs online activation using your
LOCALSTACK_AUTH_TOKEN. See Auth Token for activation behavior and fallbacks. - Event reporting (telemetry): Used for Stack Insights and related usage analytics. You can disable this via
DISABLE_EVENTS=1. - Cloud Pods (platform remote): Saving/loading pods against the default platform remote uses LocalStack-managed infrastructure. For stricter data residency, configure your own Cloud Pods remote storage.
- Ephemeral instances: These are managed cloud instances and therefore require connectivity to LocalStack Cloud services.
Recommended setup for offline environments
Section titled “Recommended setup for offline environments”- Use the offline Enterprise image when no outbound connectivity is permitted.
- Keep
DISABLE_EVENTS=1to prevent event reporting. - Prefer local persistence or self-managed Cloud Pod remotes instead of platform remotes.
- Do not rely on Ephemeral Instances in fully isolated networks; run LocalStack directly in your controlled environment instead.
Was this page helpful?