﻿---
title: Elastic Agent to Elasticsearch: Air-gapped environment
description: For more information on using Elastic in air-gapped environments, check: Install the Elastic Stack in an air-gapped environment, Install Elastic Cloud...
url: https://www.elastic.co/elastic/docs-builder/docs/3016/manage-data/ingest/ingest-reference-architectures/agent-es-airgapped
products:
  - Elastic Agent
  - Elastic Stack
applies_to:
  - Self-managed Elastic deployments: Generally available
---

# Elastic Agent to Elasticsearch: Air-gapped environment
![Image showing Elastic Agent and Elasticsearch in an air-gapped environment](https://www.elastic.co/elastic/docs-builder/docs/3016/manage-data/images/ingest-ea-es-airgapped.png)

<definitions>
  <definition term="Ingest model">
    All Elastic Stack components deployed inside a DMZ:
    - Control path: Elastic Agent to Fleet to Elasticsearch
    - Data path: Elastic Agent to Elasticsearch
  </definition>
  <definition term="Use when">
    Your self-managed Elastic Stack deployment has no access to outside networks
  </definition>
</definitions>


## Resources

For more information on using Elastic in air-gapped environments, check:
- [Install the Elastic Stack in an air-gapped environment](https://www.elastic.co/elastic/docs-builder/docs/3016/deploy-manage/deploy/self-managed/air-gapped-install)
- [Install Elastic Cloud Enterprise in an air-gapped environment](https://www.elastic.co/elastic/docs-builder/docs/3016/deploy-manage/deploy/cloud-enterprise/air-gapped-install)
- [Run Elastic Agents in an air-gapped environment](https://www.elastic.co/elastic/docs-builder/docs/3016/reference/fleet/air-gapped)
- [Using a proxy server with Elastic Agent and Fleet](https://www.elastic.co/elastic/docs-builder/docs/3016/reference/fleet/fleet-agent-proxy-support)