Posts

Showing posts from April, 2022

Azure Web PubSub

Image
  Azure Web PubSub: Agenda : Azure Web PubSubCore Patterns for Microsoft Azure Overview & Common Use Cases Available SKUs and what is being unblocked?  Use Cases & Recommended Architecture Demo Q & A/ Links to Documentation Azure Web PubSub –Overview Azure Web PubSub service is a bi-directional messaging service that helps you build real-time messaging web applications using WebSocketsand the publish-subscribe pattern Built-in support for large-scale client connections and highly available architectures Support for a wide variety of client SDKs and programming languages Offer rich APIs for different messaging patterns How to use the Azure PubSub service? Build serverless real-time applications:  Use Azure Functions' integration with Azure Web PubSub service to build serverless real-time applications in languages such as JavaScript, C#, Java and Python. Send messages from server to clients via REST API:  Azure Web PubSub service provides REST API to enable applicat

Terrform Learning

 Terraform Learning Agenda: 1) Infrastructure as Code (IaC) 2) Terraform Fundamentals 3) Terraform State 4) Terraform Modules 5) Terraform Built-in Functions and Dynamic Blocks 6) Terraform CLI Understanding Infrastructure As Code (IaC) IaC allows you to define infrastructure in human and machine-readable code. Terraform is a tool which is cloud agnostic and enables you to do IaC. Benefits of IaC No more clicks – Write down what you want to deploy (VMs, apps…) as human readable. Enables DevOps – Codification of deployment means it can be version controlled enabling visibility and collaboration across teams. Declare your Infrastructure – Infrastructure, in case of Terraform, is written declaratively making it easy to read and understand. Speed, cost and Reduced Risk – No fat Fingers, immutable code, no deployment drift. Terraform Fundamentals Terraform – Another IaC tool, but why? a) Automate software defined n/w b) Interacts and take care of communication with control layer APIs

Kubernets Manifest files Samples

 Kubernets Manifest files Samples pod.yaml apiVersion: v1 kind: Pod metadata: name: pod-demo spec: containers: - name: nginx image: nginx ports: - containerPort: 80 resources: limits: cpu: 50m memory: 100Mi requests: cpu: 50m memory: 100Mi podp.yaml apiVersion: apps/v1 kind: Deployment metadata: name: premium-pod-demo labels: app: premium spec: replicas: 2 selector: matchLabels: app: premium template: metadata: labels: app: premium spec: containers: - name: demo image: nginx:1.14.2 ports: - containerPort: 80 resources: limits: cpu: 50m memory: 100Mi requests: cpu: 50m memory: 100Mi pods.yaml apiVersion: apps/v1 kind: Deployment metadata: name: standard-pod-demo labels: app: standard spec: replicas: 2 selector: matchLabels: app: standard tem

Setup kuberntes local environment with minikube

 Setup kuberntes local environment with minikube: Pre-requisite Minikube – Install on your local (instructions below) Docker – Install on your local Azure Subscription Access – “playground” as a contributor.  Azure VM Access:                                                                i.       Access is with your Azure Cloud Shell.  Use storage account cloudpsocap in resource group " playground-rg”.                                                              ii.       Upload attached PEM file to your cloud bash. https://devcoops.com/how-to-upload-files-to-azure-cloud-shell/                                                            iii.       Execute to Ssh to the VM - ssh -I <file.pem> azureuser@linuxtrainingvm.centralus.cloudapp.azure.com Instructions on how to install Minikube. Open PowerShell with administrator privilege New-Item -Path 'c:\' -Name 'miniku

10 effective habits of highly successful people we can copy shamelessly

  1. They have a daily routine & pattern. Some people like to do their creative work early in the morning while some do most of their work at night. Either ways, there is a pattern which is followed EVERY DAY @BarackObama has a morning routine he follows sincerely. Mohammad Ali followed an extremely strict routine without compromise. Our very own @warikoo has a daily routine he abides by 2. They maintain a Journal... of their ideas, thoughts, tasks, learnings or just experiences. A certain time of the day is allocated for this World’s most famous investor Warren Buffet, maintains a journal & so does Richard Branson @richardbranson . Thomas Edison wrote over 5 million pages in his journals through his life 3. They take care of both their physical & mental health! Whether it is cardio & weight training or yoga & meditation, they follow a specific method to look after themselves holistically Mark Cuban @mcuban does one hour of cardio everyday while @Oprah never mi