Ansible contd Setting up password less authentication between linux machines We have two servers with user devops From server1 create a key pair ssh-keygen * Now copy the public key into server 2 ssh-copy-id <username>@<server-2-ip> * After the ssh-copy-id is success, then we can login directly by using ip address as both machines have same… Continue reading DevOps Classroomnotes 05/Oct/2023
Azure Classroomnotes 05/Oct/2023
Azure migrations contd.. Order of Migration: Least dependent services to most dependent services Azure Migration Overview Azure Migrate is a service offered by Azure to migrate Server, Applications and databases Databases (only) VDI Web Apps Data box Migration Phases Discover Assessments Migrate Migration Types One time migration Ongoing migrations Options for migrations Finding a azure… Continue reading Azure Classroomnotes 05/Oct/2023
Completek8s Classroomnotes 04/Oct/2023
Kubernetes as a Service You need not maintain control plane and for the nodes pay the bills as you pay for normal vms Worker nodes can be scaled automatically Azure Kubernetes Service This is hosted Kubernetes service from Azure Features: Identity and Security Management Kubernetes RBAC: AKS supports native K8s RBAC Azure AD: AKS can… Continue reading Completek8s Classroomnotes 04/Oct/2023
AWS Classroomnotes 04/Oct/2023
AWS Migrations Compute Services in AWS EC2: This is virtual machine in AWS Auto scaling groups Containers: ECS EKS Elastic Beanstalk Serverless using AWS Lambda Datbases in AWS Relational Databases AWS RDS mysql postgres microsoft sql server Oracle Non Relational Databases AWS Dynamo DB AWS Document DB (mongo) AWS Keyspaces (Cassandra) Storage in AWS AWS… Continue reading AWS Classroomnotes 04/Oct/2023
DevOps Classroomnotes 04/Oct/2023
Ansible Contd Authentication in Linux or Credentials Linux uses SSH (Secure Shell) for connecting to other instances There are two types of credentials username and password username and key pair Lab Setup Overview We will create a user called as devops on server 1 and server 2 Enable password based authentication Try to login from… Continue reading DevOps Classroomnotes 04/Oct/2023
Azure Classroomnotes 04/Oct/2023
Azure Migrations Contd Azure Compute Options Virtual Machines Virtual Machine Scale Sets Azure App Services Azure Functions Azure Container Instances Azure Kubernetes Services Azure Database Options Relational Azure SQL (SQL Server) Azure SQL Managed Instance Azure SQL for mySQL Azure SQL for postgres Non Relational Azure Cosmos DB mongo cassandra gremlin Azure Storage Blob Storage… Continue reading Azure Classroomnotes 04/Oct/2023
Completek8s Classroomnotes 03/Oct/2023
Troubleshooting kubernetes Workflow for Troubleshooting kubernetes Common kuberentes Errors CreateContainerConfigError: This is result of a missing secret or config map CrashLoopBackoff: This issued is due to pod not scheduled on node which can happen due to insufficient resources pod did not succeed in mounting volumes hostPort ErrImagePull or ImagePullBackOff This is result of failure occured… Continue reading Completek8s Classroomnotes 03/Oct/2023
AWS Classroomnotes 03/Oct/2023
AWS Migrations Sources of Migration Organizations maintain datacenters and they have an option to run servers physically virtually To run applications in Virtual Machines, we need a software called as Hypervisor. Popular Hypervisors are VmWare Esxi Hyper-V To Manage multiple servers with Hypervisors, Organizatons use Hypervisor controllers such as VmWare VCenter or System Center Workload… Continue reading AWS Classroomnotes 03/Oct/2023
DevOps Classroomnotes 03/Oct/2023
Ansible Refer Here for Ansible official page Ansible is majorly used in DevOps to deploy applications into servers across various environments. Ansible in CI/CD pipeline is called by some engine (Jenkins => Ansible, AzureDevOps => Ansible …) Configuration Management types pull based CM Nodes communicate with CM Server to deploy configuration For this to happen,… Continue reading DevOps Classroomnotes 03/Oct/2023
Azure Classroomnotes 03/Oct/2023
Migrations in Azure Major Migrations Server/Application Migrations Database Migration Storage Migration Source i.e. On-premises Applications For running applications on a broader note we have physical servers virtual machines In the case of Virtual Machines, each physical server will have an Hypervisor (VmWare ESXi, Hyper-V). To control hypervisors on multiple machines, organizations use Hypervisor controllers like… Continue reading Azure Classroomnotes 03/Oct/2023
