Giter VIP home page Giter VIP logo

Comments (7)

fcabrera23 avatar fcabrera23 commented on September 23, 2024

Hi @KamalAman,

Thanks for your information. As part of the EFLOW GA release, we changed the EFLOW VM host naming. The new naming is generated by the Windows host device name + "-EFLOW". Maybe you could try using the EFLOW VM hostname instead of the IP address.

Thanks,
Francisco

from iotedge-eflow.

KamalAman avatar KamalAman commented on September 23, 2024

Interesting, is Windows host device name + "-EFLOW" documented anywhere? I will try this out.

I think the original question about exposing it though the host is still valid,
It's not ideal that an end user would be subject to the complexity of having to know that an application is running in EFLOW for them to access an endpoint on a module with a web application running.

from iotedge-eflow.

fcabrera23 avatar fcabrera23 commented on September 23, 2024

@KamalAman,

This was documented as part of our GA release notes under Changes from Public Preview.

I would like to clarify your initial question. From my understanding, you would like to expose the EFLOW VM port to external devices. In this case, external devices should be able to connect directly with the IoT Edge module that has an X open port. Is that correct?

from iotedge-eflow.

milijan avatar milijan commented on September 23, 2024

I have tried running a simple flask web app in my environment and I could reach the app with the ip shown by Get-EflowVmAddr but it doesn't work using the VM hostname Windows host device name + "-EFLOW"

from iotedge-eflow.

KamalAman avatar KamalAman commented on September 23, 2024

My statement is external devices should be able to connect directly with the IoT Edge module through the hosts IP address. This can be implemented such that the client connects to Host Port X -> forwarded to EFLOW Port Y -> forwarded to module Port Z

In the EFLOW hosting a web application on the edge Use Case, the end user to not know or care about EFLOW nor should they have to.

from iotedge-eflow.

fcabrera23 avatar fcabrera23 commented on September 23, 2024

Hi @KamalAman,

There are two different approaches to solve this problem.

  1. Use an external switch assigned to the EFLOW VM - In this case, the EFLOW VM will have an IP in the address range of the other external devices, and these devices will be able to connect directly to the EFLOW VM using the IP. We have released our latest update that includes the functionality to assign.
  2. Use an internal switch and do port redirection in the EFLOW Windows host. In this case, the EFLOW VM is accessed through an internal network and the external devices are not aware of the existence of the EFLOW VM. To solve this, the external devices will use the EFLOW Winows host IP to communicate, and then this host will take care of redirecting the traffic to EFLOW VM.

For more information on our latest update, check 1.1.2107.0 Release Notes.

Thanks,
Francisco

from iotedge-eflow.

fcabrera23 avatar fcabrera23 commented on September 23, 2024

Hi @KamalAman,

FYI - If you are using an external switch, you can set up a static IP using the systemd-networkd configuration file. Please check Network configuration with networked for further information.

from iotedge-eflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.