Azure Container Apps #02 - Connecting Two Containers

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 12

  • @mognomoinak1309
    @mognomoinak1309 3 หลายเดือนก่อน

    excellent

  • @franciscogomezleo9535
    @franciscogomezleo9535 10 หลายเดือนก่อน +1

    And what about if you have to comunícate 2 container app in the same container app internal environment

    • @subzeroleaf
      @subzeroleaf 5 หลายเดือนก่อน

      They have a possibility to expose the ingress as a TCP service ( you have to setup a custom vnet to use this feature) . I'm currently using it in a poc , I'm able to connect externally, but I'm still struggling to make the other containers use this PostgreSQL service internally through Terraform, but creating it manually is pretty functional, and I am able to connect on PostgreSQL from my Pc)

  • @hungdohoangminh2064
    @hungdohoangminh2064 6 หลายเดือนก่อน +1

    Does Azure container app can run 2 container in an App ?
    For example, I have a nginx container and a nodejs container in 1 Azure Container app ? Can we do that ?

    • @subzeroleaf
      @subzeroleaf 5 หลายเดือนก่อน

      Yes, it can, but I don't think it fits your needs actually. You have to publish 2 container apps: one for the nginx and another one for the other app you wanna publish.
      Node is apps are usually published using a nginx container... What specifically you're trying to try?

  • @gamerreader2301
    @gamerreader2301 ปีที่แล้ว +1

    Hello sir i have a question ,how can i config load balancing for Azure Container App ,do you have a video about it thank you

    • @subzeroleaf
      @subzeroleaf 5 หลายเดือนก่อน

      The ingress configuration has the load balancing configuration. You can even set the affinity settings up for that

  • @md.mosharafkarim7543
    @md.mosharafkarim7543 7 หลายเดือนก่อน +1

    Hi sir , but I tried this.I made frontend public and backend limited to container apps eng but i get cors error when request goes to backend although i added cors in the backend.How can i solve it?

    • @subzeroleaf
      @subzeroleaf 5 หลายเดือนก่อน

      The ingress setup intermediates the access to the container. Configure your cors policy in the ingress container app and leave the application itself unaware of it.

    • @sem4461
      @sem4461 3 หลายเดือนก่อน

      Did you manage to fix this issue? I'm running into the same issue and I've tried so many things already. I've tried changing the CORS settings in my program.cs, I've tried changing them in the container app itself, I've tried adding proxy settings to my nginx config,...

    • @md.mosharafkarim7543
      @md.mosharafkarim7543 3 หลายเดือนก่อน

      @@sem4461 I slightly changed architecture , i have made container apps limited to vnet and deployed API management service in the public subnet of same vnet. Now API management service is calling the private container apps. Api management url service is being used everywhere on top of private container apps

  • @WalidLargou
    @WalidLargou ปีที่แล้ว

    Is it a good idea to also deploy a postgres database to the Azure container apps ?