Hi,
One way to make a workload more resilient to failure is to have it running across multiple Availability Zones. To do this you would need to run the workload on at least one VM in each of the zones (2-3 zones), AND the workload needs to have a way to synchronize state between the VMs OR the workload needs to be stateless.
For example, say you have a website that only consists of static files, so in effect it is stateless so long as each VM has current copy of static files. You would distribute the incoming requests across all VMs (this is where load balancer comes in). If one of the VMs failed, the load balancer would detect this and only send requests to the VMs in the other zones.
In the above example the client PCs are only communicating directly with the load balancer, so they are unaware of multiple VMs and the fact that they are in different zones.
Please let me know if that answers your question fully or if you need more details. Add a comment below.
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP