Saturday, March 28, 2020

Azure Cache for Redis - Observation

Redis cache is an open source In-Memory data store.

In-memory is best way to store and get data faster, but its not ideal for persisting data.

Nuget package StackExchange.Redis helps to configure Redis cache on .NET code

ConnectionMultiplexer class helps to establish connection with Redis cache.


Note: Redis Pricing Tier C0 Basic offers up to 250MB cache and is sufficient for the hands-on 


Wednesday, March 18, 2020

Terraform - Getting started

Terraform is an opensource tool for creating, changing and versioning infrastructure. It uses config files.

In other words, it uses Infrastructure as a Code (IaC) to provision cloud resources or any infrastructure.

Terraform execution steps are:

  1. init
  2. plan
  3. apply
  4. destroy
Terraform generates execution plan, before applying them.
Terraform plan command throws if any syntax or runtime error exits.
Terraform apply command provision the infrastructure on the cloud.
Terraform destroy command deletes the infrastructure from the cloud.

Reference:

Monday, March 16, 2020

Load Balancer Types in Azure

Load Balancers helps to distribute incoming network traffic
  1. Azure Load Balancer
  2. Azure Application Gateway
  3. Azure Traffic Manager

 Azure Load Balancer operates at Layer 4 of OSI model (TCP/UDP). It is a single point of contact for clients.

Azure Application Gateway operates at Layer 7 of OSI model (HTTP/HTTPS). It is a web traffic load balancer. That is it manages traffic to web applications

Azure Traffic Manager is DNS Based traffic load balancer. It manages traffic across multiple azure regions.