Is it possible to send a broadcast message to all instances behind the ELB?

前端 未结 1 570
太阳男子
太阳男子 2021-01-12 03:58

I want to send update to all instances behind the ELB. I prefer to send update instead of polling from instance side. Is it possible to send a message to ELB that will be br

相关标签:
1条回答
  • 2021-01-12 04:31

    Not directly, no.

    A programmatic workaround is to query the ELB API to discover the identities of the healthy instances then the EC2 API to discover the IP addresses of those instances, and then send the message to each instance, directly.

    0 讨论(0)
提交回复
热议问题