Friday, March 24, 2023

steps to AWS - Creating an Application ELB

 Here are the steps to create an Application Load Balancer in AWS:

  1. Log in to your AWS Management Console.
  2. Navigate to the EC2 Dashboard.
  3. Select "Load Balancers" from the sidebar menu.
  4. Click on the "Create Load Balancer" button.
  5. Select "Application Load Balancer" from the options provided.
  6. Choose a name for your load balancer and select the availability zones you want it to operate in.
  7. Configure the listener settings, including the protocol and port you want your load balancer to use.
  8. Create a target group to specify the instances that your load balancer will send traffic to.
  9. Configure health checks to ensure that the load balancer only sends traffic to healthy instances.
  10. Add any necessary security groups to your load balancer to restrict access to it.
  11. Review your load balancer settings and click "Create" to launch it.

Once you've created your Application Load Balancer, you can use its DNS name to distribute traffic to your instances.

You can also use the AWS Management Console to manage and modify your load balancer as needed. Additionally, you can use features like path-based routing, host-based routing, and URL-based routing to further customize how traffic is distributed to your instances.

steps to AWS - Creating a Classic ELB

steps to create a Classic Load Balancer in AWS:

  1. Log in to your AWS Management Console.
  2. Navigate to the EC2 Dashboard.
  3. Select "Load Balancers" from the sidebar menu.
  4. Click on the "Create Load Balancer" button.
  5. Select "Classic Load Balancer" from the options provided.
  6. Choose a name for your load balancer and select the availability zones you want it to operate in.
  7. Configure the listener settings, including the protocol and port you want your load balancer to use.
  8. Select the instances that you want your load balancer to distribute traffic to.
  9. Configure health checks to ensure that the load balancer only sends traffic to healthy instances.
  10. Add any necessary security groups to your load balancer to restrict access to it.
  11. Review your load balancer settings and click "Create" to launch it.

Once you've created your Classic Load Balancer, you can use its DNS name to distribute traffic to your instances.

You can also use the AWS Management Console to manage and modify your load balancer as needed.

AWS Routing policy, Route 53 terminologies, Pricing.

 AWS Routing Policy:

Routing policy in AWS Route 53 determines how traffic is distributed to your resources based on the client's request. There are several routing policies available in Route 53, including:

  1. Simple Routing: It is used when there is only one resource to route traffic to. It responds with a single IP address.

  2. Weighted Routing: It allows you to distribute traffic across multiple resources based on the percentage of traffic you specify.

  3. Latency Routing: It routes traffic based on the lowest network latency for the client.

  4. Failover Routing: It allows you to set up a primary resource and a secondary resource, which is used in case the primary resource fails.

  5. Geolocation Routing: It routes traffic based on the location of the client.

  6. Multi-Value Routing: It returns multiple IP addresses for a resource and can help you achieve high availability.

Route 53 Terminologies:

  1. Hosted Zone: A container for all the DNS records for a particular domain name.

  2. Record Set: A collection of records that define how traffic is routed for a specific resource.

  3. Alias Record: A type of record that allows you to map a domain name to an AWS resource (such as an EC2 instance or an S3 bucket).

  4. TTL (Time to Live): The amount of time that a DNS resolver should cache a DNS record before it expires.

  5. Health Check: A test that Route 53 performs to determine the health of a resource.

Pricing:

AWS Route 53 pricing is based on the number of hosted zones and the number of queries that are processed. Hosted zones are charged based on a monthly fee, while queries are charged based on the number of queries processed per month.

The first 1 million queries per month are free, and beyond that, you are charged a per-query fee.

In addition to the standard pricing, Route 53 also offers a traffic flow service, which allows you to create complex routing policies based on different criteria. Traffic flow is charged based on the number of policy records and the number of DNS queries processed.

Time Intelligence Functions in Power BI: A Comprehensive Guide

Time intelligence is one of the most powerful features of Power BI, enabling users to analyze data over time periods and extract meaningful ...