Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg>
Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice
Type **EC2** in the search bar and click on **EC2** to view the EC2 Dashboard
**What is EC2 in AWS?** Amazon Elastic Compute Cloud (EC2) is a web service provided by Amazon Web Services (AWS) that allows users to rent virtual computers (instances) on which they can run their own applications.
On the EC2 dashboard click on **Load Balancers** from the left bar
**What are Load Balancers in EC2?** In Amazon EC2 (Elastic Compute Cloud), a load balancer is a service that automatically distributes incoming application traffic across multiple instances (virtual servers) within an EC2 Auto Scaling group or across multiple Availability Zones to ensure optimal performance, fault tolerance, and scalability of the application.
On the top right corner click on the **Create load balancer** dropdown button and select the option **Create Network Load Balancer**
**What is a Network Load Balancer in EC2?** A Network Load Balancer (NLB) is a type of load balancer provided by Amazon Web Services (AWS) that operates at the network layer (Layer 4) of the OSI model. It efficiently distributes incoming network traffic across multiple targets, such as EC2 instances, containers, and IP addresses, within one or more availability zones.
**Create Network Load Balancer** wizard will open, give Load balancer name as "**my-network-load-balancer"** and select the **Internet-facing** radio button for **Schema**
Scroll to the **IP address type** section and select the **IPv4** radio button
Scroll to the **Network mapping** section and select the default VPC from the dropdown
Scroll to the **Mappings** section and tick all the checkboxes of availability zones
These subnet mappings determine the availability zones in which the NLB will route traffic to its registered targets. By mapping subnets from different availability zones within the VPC, you ensure high availability and fault tolerance for your application or service by distributing traffic across multiple geographic locations.
Scroll to the **Security groups** section and select the **default** security group from the dropdown
**What are Security groups in AWS?** Security groups in AWS are virtual firewalls that control inbound and outbound traffic for instances (virtual servers) within a Virtual Private Cloud (VPC). They act as a fundamental security layer, allowing you to define rules that specify which traffic is allowed or denied to reach instances associated with the security group.
Scroll to the **Listeners and routing** section and click on the **Create target group** link
**Specify group details** wizard will open, select the option **Instances**
Scroll to the **Target group name** section and type "**network-load-balancer-tg**" in the text input field
Scroll to the **IP address type** section and select the **IPv4** radio button
Scroll to the **Health check path** section and give **"/"** in the text input field