# Need help on azure container apps

**URL:** <https://discuss.elastic.co/t/need-help-on-azure-container-apps/356590>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [April 2, 2024, 5:59am UTC](https://discuss.elastic.co/t/need-help-on-azure-container-apps/356590 "2024-04-02T05:59:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clynt\_Neiko\_Rupinta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/clynt_neiko_rupinta/32/133176_2.png) [@Clynt\_Neiko\_Rupinta](https://discuss.elastic.co/u/Clynt_Neiko_Rupinta)\
**Post date:** [April 2, 2024, 5:59am UTC](https://discuss.elastic.co/t/need-help-on-azure-container-apps/356590/1 "2024-04-02T05:59:00Z")

</div>

I am a complete beginner in es. Im having trouble deploying it on azure container apps. I have deployed 2 container apps for master and data nodes, i have problem connecting my data nodes to my master node.  
Master config:

```auto
    .WithEnvironment("network.host", "0.0.0.0")
    .WithEnvironment("node.name", "es-master")
    .WithEnvironment("cluster.name", "es-cluster")
    .WithEnvironment("ES_JAVA_OPTS", "-Xms4g -Xmx4g")
    .WithEnvironment("xpack.security.enabled", "false")
    .WithEnvironment("xpack.security.enrollment.enabled", "false")
    .WithEnvironment("node.store.allow_mmap", "false")
    .WithEnvironment("cluster.initial_master_nodes", "es-master")

```

Data config:

```auto
        .WithEnvironment("network.host", "0.0.0.0")
        .WithEnvironment("cluster.name", "es-cluster")
        .WithEnvironment("ES_JAVA_OPTS", "-Xms4g -Xmx4g")
        .WithEnvironment("xpack.security.enabled", "false")
        .WithEnvironment("xpack.security.enrollment.enabled", "false")
        .WithEnvironment("node.store.allow_mmap", "false")
        .WithEnvironment("discovery.seed_hosts", "https://es-master.sample-123abc.southeastasia.azurecontainerapps.io")

```

The logs says

```auto
master not discovered yet, this node has not previously joined a bootstrapped cluster

```

I also tried allowing public access for testing and tried connecting local docker es data node to it. still no luck.  
I also notice in logs that my seed\_host was converted to an IP address which i cannot access.  
I suspect this might be because the azure container apps sits behind its internal load balancer.

What might be the proper way of deploying es to azure container apps?

---

<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:** [April 30, 2024, 5:59am UTC](https://discuss.elastic.co/t/need-help-on-azure-container-apps/356590/2 "2024-04-30T05:59:49Z")

</div>

Closed on April 30, 2024, 5:59am UTC

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