# The difference between the EPR and EAR, do I need both for an air-gapped environment?

**URL:** <https://discuss.elastic.co/t/the-difference-between-the-epr-and-ear-do-i-need-both-for-an-air-gapped-environment/359947>\
**Category:** Elastic Agent\
**Created:** [May 22, 2024, 2:35am UTC](https://discuss.elastic.co/t/the-difference-between-the-epr-and-ear-do-i-need-both-for-an-air-gapped-environment/359947 "2024-05-22T02:35:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreeves0](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sreeves0/32/134697_2.png) [@sreeves0](https://discuss.elastic.co/u/sreeves0)\
**Post date:** [May 22, 2024, 2:35am UTC](https://discuss.elastic.co/t/the-difference-between-the-epr-and-ear-do-i-need-both-for-an-air-gapped-environment/359947/1 "2024-05-22T02:35:35Z")

</div>

Hello,

Sorry if this is a dumb question but I am new to setting up Elastic and hosting my own package registry. When using Elastic Agent do I need to have both the Elastic package registry and artifact registry to be hosted on a server or just one of the registries. My main issue is getting the Elastic Agent to be able to access the integrations as there is an error when finding agent integrations. I guess I am more confused about how downloading the integrations look like.

For example:  
[https://epr.elastic.co/search?package=synthetics&prerelease=true&kibana.version=8.13.4](https://epr.elastic.co/search?package=synthetics&prerelease=true&kibana.version=8.13.4) (This is the error)

The error is due to the VM not having external internet access, so what I did was redirect it to my own hosted registry where kibana-8.13.4-x86\_64.rpm exist, yet I still get the same error. I am now unsure where I am going wrong, is that the wrong kibana package.

I did follow these resources:  
[Air-gapped environments | Fleet and Elastic Agent Guide [8.13] | Elastic](https://www.elastic.co/guide/en/fleet/8.13/air-gapped.html#air-gapped-tls)  
[Installing in an air-gapped environment | Elastic Installation and Upgrade Guide [8.13] | Elastic](https://www.elastic.co/guide/en/elastic-stack/current/air-gapped-install.html#air-gapped-elastic-package-registry)

Kind Regards,
