Azure-docs: Deploy UI

Created on 25 Jul 2019  Â·  7Comments  Â·  Source: MicrosoftDocs/azure-docs

I have my solution correcly deployed in Azure, I have a local copy of the UI in my machine and I would like to redeploy the UI in order to reply the native. How can I achieve that?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 cxp iot-acceleratorsvc product-question triaged

All 7 comments

@Trinakriae Thanks for the question! We are investigating and will update you shortly.

@Trinakriae Thanks for reaching out. So it seems like you want to deploy that same solution to Azure more than once?

Thanks for your reply! I successfully deployed the whole solution in my Azure subscription. I downloaded the webUI in my machine from GitHub and I was able to run it locally and use the services remotely. I modified in my machine the look and feel of the WebUI and added some functionality. Now I would like to deploy in my Azure subscription my new WebUI in order to replace the existing one. How can I achieve that?

Since this is a React Application have you look into deploying one to Azure? https://code.visualstudio.com/docs/azure/deployment

Thanks Alberto but before deploying the React App I need to know where the original WebUI is located in order to be replaced. When I originally deployed the solution to Azure I used the Deploy To Azure button located in the GitHub for IOT Monitoring solution.

Cattura

Once the deployment had completed, I went to my Azure solution and, among other resources, I found an App Service that allowed me to correctly browse the application.

Cattura2

As far as I understood the services are dockerized inside a virtual machine, while I am not able to find the webUI in my resource group. Through the Azure plugin of VSCode I inspected what was inside the App Service and I found just three files inside wwwroot.

Cattura3

and many .NET libraries and a web.config enabling a reverse proxy

Cattura4.

I guess the WebUI is also dockerized in the Virtual Machine but how can I replace it with my custom version? Thanks

Thanks @Trinakriae I understand the issue better now. This issue it is a duplicate of the one opened for the document https://docs.microsoft.com/en-us/azure/iot-accelerators/iot-accelerators-remote-monitoring-customize
If you haven't seen it please try the solution provided by the author of that document.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ianpowell2017 picture ianpowell2017  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments