Pipeline as Code This is expressing CI/CD pipleine in terms of some code/expressions/statements This is part of version control i.e. each change done to the steps will have history Refer Here for official docs Azure DevOps # Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code.… Continue reading DevOps Classroomnotes 22/Jul/2023
Completek8s Classroomnotes 22/Jul/2023
Public Key Cryptography and Https How Https Works What is Certificate Authority How is certificate Signed Certificate Signing Request (CSR) Self Signed Certificate (SSR) Kubernetes – The hard way Refer Here for the Kubernetes the Hard way Refer Here for the steps
AWS Classroomnotes 21/Jul/2023
Scenario – Multi ASG with Layer 7 Load Balancing Overview We have ami’s and launch templates for product and admin Lets create an admin auto scaling group Lets create an application load balancer Select one target group and attach to load balancer Now manage rules Now navigate Note: Register loadbalancer from asg
DevOps Classroomnotes 21/Jul/2023
Upstream and Downstream projects If the project A triggers the Project B then Project B is downstream of Project A Project A is upstream of Project B Parametrized Builds While building the jobs, sometimes we would like users to pass some information. This is called as parameters Lets enable parameters for some jenkins project/job Jenkins… Continue reading DevOps Classroomnotes 21/Jul/2023
Azure Classroomnotes 21/Jul/2023
Scenario: Mutiple vmss deployment Architecture: Steps: Create a vnet with 3 subnets product admin ApplicationGatewaySubnet Create a product vmss in product subnet Create a admin vmss in admin subnet Now create an Application Gateway in Application Gateway Subnet Configure Path based routing /admin/* => Backend target => admin target => admin vmss /product/* => Backend… Continue reading Azure Classroomnotes 21/Jul/2023
Completek8s Classroomnotes 21/Jul/2023
Kubernetes Contd Kubernetes interacts over REST API and since this is difficult to compose REST api requests there is a command line tools called as kubectl K8s clusters are generally multi-node clusters, for development purposes we can make k8s work on a single node (desktop) minikube production grade clusters self hosted bare metal kube-adm managed… Continue reading Completek8s Classroomnotes 21/Jul/2023
AWS Classroomnotes 20/Jul/2023
AWS Compute – Scenario Architecture to be acheived Lets start by creating amis Create an ec2 for admin image with size t2.micro install apache server sudo apt update && sudo apt install apache2 -y navigate to /var/www/html clone the code from Refer Here rename the folder to admin checkout the brach to admin Now navigate… Continue reading AWS Classroomnotes 20/Jul/2023
DevOps Classroomnotes 20/Jul/2023
Node 2 => JDK 8 and maven On the jenkins agent we would require jdk 17 and for the project game of life we would require jdk8 On the node2 lets create a new user called as devops, give sudo no password access enable password based authentication sudo vi /etc/ssh/sshd_config # Change password Authentication to… Continue reading DevOps Classroomnotes 20/Jul/2023
Azure Classroomnotes 20/Jul/2023
Azure Functions Azure Functions allows us to run a piece of code referred as functions. The key differnce between Azure Functions Consumption tier vs other compute is they will be charged per second only when code is running Bindings uses Azure Functions for connecting your function with external world. Azure function can have mix of… Continue reading Azure Classroomnotes 20/Jul/2023
Completek8s Classroomnotes 19/Jul/2023
Container Orchestration Orchestration in Compute: This is about automated configuration management co-ordination of systems, applications and services Container Orchestration is automation of operational effort required to run containerized workloads and services managing container lifecycle provisioning deployment scaling networking storage Cluster Refer Here for cluster definitions Refer Here for cluster architectures Most popular architecture Rest API… Continue reading Completek8s Classroomnotes 19/Jul/2023
