Featured Post

How to Work With Tuple in Python

Tuple in python is one of the streaming datasets. The other streaming datasets are List and Dictionary. Operations that you can perform on it are shown here for your reference. Writing tuple is easy. It has values of comma separated, and enclosed with parenthesis '()'. The values in the tuple are immutable, which means you cannot replace with new values. #1. How to create a tuple Code: my_tuple=(1,2,3,4,5) print(my_tuple) Output: (1, 2, 3, 4, 5) ** Process exited - Return Code: 0 ** Press Enter to exit terminal #2. How to read tuple values Code: print(my_tuple[0]) Output: 1 ** Process exited - Return Code: 0 ** Press Enter to exit terminal #3. How to add two tuples Code: a=(1,6,7,8) c=(3,4,5,6,7,8) d=print(a+c) Output: (1, 6, 7, 8, 3, 4, 5, 6, 7, 8) ** Process exited - Return Code: 0 ** Press Enter to exit terminal #4.  How to count tuple values Here the count is not counting values; count the repetition of a given value. Code: sample=(1, 6, 7, 8, 3, 4, 5, 6, 7, 8) print(sample

AWS Vs Azure Load Balancers Top Insights

In AWS, you have three types of load-balancers. In the case of Azure, you have only two load balancers. This post tells you the comparison between these two.

1. AWS Load Balancers:

  • Application Load balancer
  • Network Load balancer
  • Classic Load balancers.

a. Application Load Balancer

Balancing of HTTP and HTTPS traffic and provides advanced request routing targeted at the delivery of modern application architectures, including micro-services and containers. 

Operating at the individual request level (Layer 7), Application Load Balancer routes traffic to targets within Amazon Virtual Private Cloud (Amazon VPC) based on the content of the request.

b. Network Load Balancer

Network Load Balancer is best suited for load balancing of Transmission Control Protocol (TCP), User Datagram Protocol (UDP), and Transport Layer Security (TLS) traffic where extreme performance is required.

c. Classic Load Balancer

The Classic Load Balancer provides the basic load-balancing across multiple Amazon EC2 instances. 

It operates at both the request level and connection level. Classic Load Balancer the real use is for applications that build within the EC2-Classic network.

AWS vs Azure load balancers explained in this post for your quick reference.

2. Azure Load Balancers:

In the case of Azure load balancers, it has two types. And is needs many steps to make it workable:

  • Create an Azure load balancer
  • Create a load balancer health probe
  • Create load balancer traffic rules
  • Use the Custom Script Extension to create an IIS-site
  • Create virtual machines and attach them to a load balancer
  • View a load balancer in action
  • Add and remove VMs from a load-balancer

The Azure has two types of load balancers. Those are:

  • Public Load-Balancer.
  • Private( Internal) Load-balancer.

i. Public Load Balancer

public load-balancer can provide outbound connections for virtual machines (VMs) inside your virtual network by translating their private IP-addresses to public IP-addresses. 

Public Load-Balancer's purpose is to load balance internet traffic to your VMs.

ii. Private Load Balancer

In the case of an internal (or private) load balancer, you need private IPs for the frontend only. 

The purpose of this is to load-balance the traffic inside a virtual network. It is true that accessing of frontend from an on-premises network is a hybrid scenario.

iii. Azure Load Balancer Features

  1. Load balancing of internal and external traffic.
  2. Connectivity of Azure virtual Machines.
  3. Security.

Related Posts


Popular posts from this blog

7 AWS Interview Questions asked in Infosys, TCS

How to Decode TLV Quickly

Hyperledger Fabric: 20 Real Interview Questions