In the EC2 interface, find Load Balancer.
Here, we will select Network Load Balancer.
Configure the following details:
imga-nlb
In the Network mapping section:
production-vpc
For Security groups, select the SG we created in previous steps. Below that, in the Listeners and routing section, the Load Balancer needs to know where to forward the requests via a Target Group.
Now we will create a new Target Group:
Click the Create target group link, which will take us to the target group creation interface.
prod-ec2
Next, click Next. At this point, we need to add the EC2 instance in the production environment to the newly created target group.
The target group has been successfully created and the target added.
Review the configurations. Once confirmed, click Create load balancer.