I have read few posts about behind the scene of processing a web request which is a popular interview question too for SREs/DevOps. There are a lot of good explanation pages about the general flow of that : DNS resolution -> tcp connection -> SSL Connection -> HTTPS request -> Load Balancer -> Firewall ->webserver and from there request goes back.
But I could not find answer for some doubts behind the scene at server side specially for cloud. Like, what happens when request reaches to global load balancer ? Does it terminate the SSL there or it goes to internal load balancer (if configured ) and terminates there ? From there the request to particular VM is un-secure, where there are other vendors also hosting there VMs and internal Load balancer. Is the request protected via some ACLs/firewall or some internal VPC mechanism ?
I understand that we can re-encrypt or forward the encrypted traffic to webserver for better security but high resource cost. But what happens when we are not doing that ? I feel there would still be some other security mechanism used to avoid easy access.
Thanks in advance.