Two Home Assistant installations and first one exposed

Hi,

How to setup 2 Home Assistants and securely connect them together?

The first one could be exposed outside for Alexa or Google Assistant only and other installation could be main and not exposed. VLANs in use.

Eventstream or statestream components

Any examples related to my needs?

Basically you need master/slave setup

Your external could be slave to internal/master
Master looks at slaves events and acts.slave may also act based on command from master

Many people had similar need (2 HA communicating) just different purpose. Look at these threads https://community.home-assistant.io/search?context=user&context_id=tmjpugh&q=Eventstream&skip_context=false

Thanks, Is there any difference in performance etc. between eventstream and statestream?