Sign in

Ashish Patel

Comparisons: ALB vs NLB in AWS — Application load balancer vs Network load balancer.

Application load balancer (ALB) and Network load balancer (NLB)

ALB — Layer 7 (HTTP/HTTPS traffic), Flexible
NLB — Layer 4 (TLS/TCP/UDP traffic), Static IPs
CLB — Layer 4/7 (HTTP/TCP/SSL traffic), Legacy, Avoid

Both Application Load Balancer and Network Load Balancer are designed from the ground up for the modern paradigm of dynamic port configurations as commonly seen in containerized deployments. …


Introduction to AWS Organizations — What is AWS Organization?

AWS Organizations

AWS Organizations is an account management service which allows to manage multiple AWS accounts centrally.

AWS Organizations helps you to centrally manage billing, control access, compliance, security, and share resources across your AWS accounts. It is very easy setup and available to all AWS customers at no additional charge.

AWS Organizations has two feature sets:

  1. Consolidated billing — It provides basic management tools that you can use to centrally manage the accounts in your organization.
  2. All features — It provides all the consolidated billing features, plus a set of advanced features…


Getting started — How to use Fluent Validation in .NET and .NET Core?

FluentValidation in .NET

FluentValidation is a popular .NET library for building strongly-typed validation rules. It is a small validation library that uses a fluent interface and lambda expressions for building validation rules.

Most popular .NET Libraries every developer should know.

Data Validation is essential for any Application. When it comes to Validating Models, developers usually use Data Annotations. There are few issues with Data Annotations approach:
1. Validation rules are tightly coupled with models.
2. Add complexity to Models/DTOs.
3. Difficult to make dynamic and conditional validations.
4. …


What is K8s Ingress? — Introduction to Kubernetes Ingress.

Kubernetes — Ingress

Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster. Traffic routing is controlled by rules defined on the Ingress resource.

Read about Kubernetes — Services and Service Types

In Kubernetes, an Ingress is an object that allows access to Kubernetes services from outside the Kubernetes cluster. You can configure access by creating a collection of rules that define which inbound connections reach which services.

An Ingress can be configured to give Services externally-reachable URLs, load balance traffic, terminate SSL/TLS, and offer name-based virtual hosting. …


Comparison — Azure Service Bus Queue vs Topic.

Queues and Topics are similar when a sender sends messages, but messages are processed differently by a receiver. A queue can have only one consumer, whereas a topic can have multiple subscribers.

Difference between Azure Storage Queue and Service Bus Queue

Azure Service Bus Queue

A queue provide a one-to-one relationship between each message and its consumer. A queue allows processing of a message by a single consumer only.

Azure Service Bus Queue

Queues offer First In, First Out (FIFO) message delivery to one or more competing consumers. That is, receivers typically receive and process messages in the order in…


Introduction to AWS Application Load Balancer — What is ALB?

AWS Application Load Balancer (ALB)

Application Load Balancer (ALB) works at the Layer-7 (Application layer - Request level) of the OSI model. ALB supports load balancing of applications using HTTP and HTTPS protocols.

ALB simplifies and improves the security of your application, by ensuring that the latest SSL/TLS ciphers and protocols are used at all times.

Read about Elastic Load Balancer (ELB) Overview.

  • Layer-7 Load Balancing — You can load balance HTTP/HTTPS traffic to targets - EC2 instances, microservices, and containers based on request attributes.
  • Security Features — You can associate security groups with ALB…


Introduction to Service types in K8s — Types of Kubernetes Services.

Kubernetes — Service Types

There are four types of Kubernetes services — ClusterIP, NodePort, LoadBalancer and ExternalName. The type property in the Service's spec determines how the service is exposed to the network.

Read about Kubernetes Services and Ingress

1. ClusterIP

  • ClusterIP is the default and most common service type.
  • Kubernetes will assign a cluster-internal IP address to ClusterIP service. This makes the service only reachable within the cluster.
  • You cannot make requests to service (pods) from outside the cluster.
  • You can optionally set cluster IP in the service definition file.
  • Inter service communication within…


What are Kubernetes Services? — Introduction to K8s Services.

Kubernetes — Services

Kubernetes Service is used to expose an application deployed on a set of pods using a single endpoint. Services are introduced to provide reliable networking by bringing stable IP addresses and DNS names to ephemeral pods. Service enables network access to a set of Pods in Kubernetes.

In Kubernetes, each Pod gets its own internal IP address, but Pods are ephemeral (not constant). Pods are frequently created and destroyed, causing their IP addresses to change constantly.

Non-functioning pods get replaced by new ones automatically. Meaning that when old Pod dies and…


Getting started — How to use AutoMapper in .NET and .NET Core?

AutoMapper is a simple little library that helps to transform one object type to another. It is a convention-based object-to-object mapper that requires very little configuration.

AutoMapper is an object-object mapper. Object-object mapping works by transforming an input object of one type into an output object of a different type. What makes AutoMapper interesting is that it provides some interesting conventions to take the dirty work out of figuring out how to map type A to type B.

Most popular .NET Libraries every developer should know.

1. NuGet…


What is Terraform Workspace — Introduction to Terraform Workspace!

Terraform — Workspaces

Workspaces in Terraform are simply independently managed state files. A workspace contains everything that Terraform needs to manage a given collection of infrastructure, and separate Workspaces function like completely separate working directories. We can manage multiple environments with Workspaces.

If we use the local backend for storing Terraform state, Terraform creates a file called terraform.tfstate to store the state of the applied configuration. However, in scenarios where you want to use the same configuration for different contexts, separate states might be necessary with same configuration.

Workspaces allows you to separate your…

Ashish Patel

Cloud Architect • 1x AWS Certified • 5x Azure Certified • 2x OCI Certified • MCP • .NET • GCP • Docker • Kubernetes • Terraform (https://bit.ly/aashishpatel)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store