Comparisons: ALB vs NLB in AWS — Application load balancer vs Network load balancer.
ALB — Layer 7 (HTTP/HTTPS traffic), Flexible
NLB — Layer 4 (TLS/TCP/UDP traffic), Static IPs
CLB — Avoid, legacy
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.
What is Terraform Workspace — Introduction to Terraform Workspace!
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…
Introduction to AWS Transit Gateway — Getting started guide.
AWS Transit Gateway is a fully managed service that connects VPCs and On-Premises networks through a central hub without relying on numerous point-to-point connections or Transit VPC.
Introduction to Azure Storage Data Redundancy Options.
Data availability is business-critical for most organizations. Data in Azure is replicated to ensure that it’s always available, even if a datacenter or region becomes inaccessible or a specific piece of hardware fails.
In Azure Storage, you have several options for replication. Each replication option provides a different level of redundancy and durability. The choice you make depends on the level of resilience you need.
Woo-hoo, I got the wonderful news from @Medium, a total surprise😲- I was one of the chosen too who got the $500💰 bonus, and it felt amazing💖!
Comparison — Azure SQL Database vs SQL Managed Instance (MI).
SQL Managed Instance (SQL MI) provides native Virtual Network (VNet) integration while Azure SQL Database enables restricted Virtual Network (VNet) access using VNet Endpoints.
SQL MI helps bridge the gap between Azure SQL Database and On-premises SQL Server due to being built on an instance scoped configuration model.
Both offers Database-as-a-service (DBaaS-PaaS). Azure SQL Database and SQL Managed Instance share a common code base with the latest stable version of SQL Server. Most of the standard SQL language, query processing, and database management features are identical.
SQL Database: The majority…
Introduction to AWS WAF — What is Amazon WAF?
AWS WAF is a managed web application firewall service that helps you protect your web applications at the application layer from common web exploits that could affect application availability, compromise security, and/or consume excessive resources.
It lets you control access to your content by configuring rules that allow, block or monitor (count) web requests based on web security rules that you specify.
You use a web access control list (ACL) to protect a set of AWS resources.
What is Terraform Remote State — Introduction to Terraform Remote Storage!
With remote state, Terraform writes the state data to a remote data store, which can be shared between all team members.
By default, Terraform stores its state in the file
terraform.tfstate in local filesystem. This works well for personal projects, but working with Terraform in a team, use of a local file makes Terraform usage complicated because each user must make sure they always have the latest state data before running Terraform and make sure that nobody else runs Terraform at the same time.
The best way to do…
How to use Autofac for dependency injection in .NET and .NET Core?
Autofac is an IoC container for .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity. Autofac is the most popular DI/IoC container for ASP.NET and it works with .NET Core flawlessly.
.NET Core gives you a built-in dependency injection framework. Though the default DI may offer enough functionality, there is a certain limitations like resolving a service with some associated Metadata, Named/Keyed services, Aggregate Services, Multi-tenant support, lazy instantiation, and much more. …