# How can we create synthetic light weight monitor for private URLs?

**URL:** <https://discuss.elastic.co/t/how-can-we-create-synthetic-light-weight-monitor-for-private-urls/344444>\
**Category:** Synthetics\
**Created:** [October 5, 2023, 6:23am UTC](https://discuss.elastic.co/t/how-can-we-create-synthetic-light-weight-monitor-for-private-urls/344444 "2023-10-05T06:23:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![surya\_dadi\_dhamarake](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/surya_dadi_dhamarake/32/133245_2.png) [@surya\_dadi\_dhamarake](https://discuss.elastic.co/u/surya_dadi_dhamarake)\
**Post date:** [October 5, 2023, 6:23am UTC](https://discuss.elastic.co/t/how-can-we-create-synthetic-light-weight-monitor-for-private-urls/344444/1 "2023-10-05T06:23:06Z")

</div>

Hi ,

I am trying to reach the URLs which are hosted on private VPC which are only accessible through vpn. Is there any way to connect to the URLs using synthetic lightweight monitor?

---

<div class="post-metadata">

**Author:** ![emilioalvap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emilioalvap/32/99310_2.png) [@emilioalvap](https://discuss.elastic.co/u/emilioalvap)\
**Post date:** [October 5, 2023, 1:23pm UTC](https://discuss.elastic.co/t/how-can-we-create-synthetic-light-weight-monitor-for-private-urls/344444/2 "2023-10-05T13:23:31Z")

</div>

Hi @surya_dadi_dhamarake,

If you are trying to connect to a private network through our managed Synthetic locations, those monitors will not be able to reach the network. You'd need to tweak the VPN configuration to allow inbound connections from the service and you probably don't want to go down that route.

Instead, we provide the [Synthetics private location](https://www.elastic.co/guide/en/observability/current/synthetics-private-location.html) integration. With it, you could deploy an elastic agent inside the VPN network itself (or connected to it through the VPC gateway) and be able to reach the required URLs.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![surya\_dadi\_dhamarake](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/surya_dadi_dhamarake/32/133245_2.png) [@surya\_dadi\_dhamarake](https://discuss.elastic.co/u/surya_dadi_dhamarake)\
**Post date:** [October 6, 2023, 6:46am UTC](https://discuss.elastic.co/t/how-can-we-create-synthetic-light-weight-monitor-for-private-urls/344444/3 "2023-10-06T06:46:38Z")

</div>

Hi @emilioalvap ,

Thanks for the reply. So We have to install elastic agent in the network where we have access to those endpoints or URLs and enrolled that agent in fleet ?

---

<div class="post-metadata">

**Author:** ![surya\_dadi\_dhamarake](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/surya_dadi_dhamarake/32/133245_2.png) [@surya\_dadi\_dhamarake](https://discuss.elastic.co/u/surya_dadi_dhamarake)\
**Post date:** [October 6, 2023, 7:37am UTC](https://discuss.elastic.co/t/how-can-we-create-synthetic-light-weight-monitor-for-private-urls/344444/4 "2023-10-06T07:37:06Z")

</div>

Thanks @emilioalvap , It worked. I have installed elastic agent and unroll in fleet. Used the policy to create private location.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 3, 2023, 7:37am UTC](https://discuss.elastic.co/t/how-can-we-create-synthetic-light-weight-monitor-for-private-urls/344444/5 "2023-11-03T07:37:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
