Posts

YAML script to create deployment

 apiVersion: apps/v1 kind: Deployment metadata:   name: kkdeployment spec:   replicas:3   selector:     matchLabels:       app: kkapp1   template:     metadata:       labels:         app: kkapp1     spec:       containers:         - name: kkcon1           image: location and name           ports:             - containerPort: 80

understand the sectors in disk_&_ differenece between MB & MiB,GB & GiB

 what is the purpose of fdisk -l please explain ? ================================= fdisk is a command or utility in Linux  which is used to display the total volumes in a server how to display the total volumes in your Linux server ====================================== by using fdisk -l we can display the total volumes in our Linux server can I attach volume to the server which is another availability zone ================================================ no , it is not possible why ? ---> because , as AWS Cloud guidelines           whenever we attach any volume to the any server          we must create server and volume in the same availability zone           otherwise it is not possible to attach volume to the server                    volume = hard disk                    ssd gp3   ...

What is VPC peering & How to setup VPC peering step by step : by kk

 vpc peering --------------- multiple vpc's  by default in aws multiple networks not allowed to talk each other  if  you want to establish a connection between multiple networks to talk each other  we can make this with the help vpc peering concept. is there any possibility to talk multiple networks each other ? no, by default it is not possible  we can make this possible with the help of vpc peering concept  vpc peering creation steps steps: -------------------------------------- 1.create two networks in different regions in same aws account  part -1 -------  step1: create network -1 or vpc -1 in region -1 ----->i.e. Mumbai  step2: create network -2 or vpc -2 in region -2 ----->i.e. Singapore part-2 (region-1 process- mumbai) ----------------------------------------- step1: go to Mumbai region step2: create network -1 or create vpc-1 network range = 172.50.1.0/16 step3: create internet gateway step4: attach this internet gateway t...

most useful Job searching websites in US

follow the below websites for your Job Search ? =========================== https://wellfound.com/ https://builtin.com/ https://www.dice.com/ https://www.lhh.com/en-us

understand JRE & JDK ,difference between openjdk-8-jdk-headless & openjdk-8-jdk

Question:-1 ----------- what is the difference between JDK & JRE =============================== JDK stands for java development kit it provides environment  to write java code to compile java code to execute java code JDK -YOU CAN WRITE CODE        YOU CAN COMPILE CODE      YOU CAN EXUECTE CODE JRE --- JRE stands for Java Run Environment  it provides execution environment for java application  JRE -YOU CAN ONLY EXECUTE CODE (TESTING)      or YOU CAN RUN JAVA CODE (TESTING)   QA/STAGING/PROD SERVERS:->We recommend JRE only                          because we run the code only   DEV SERVERS:------------>We recommend JDK only                          developer write code                          com...

what is data center? what is on-premises data center ? what is region ?

what is data center? ------------------------ data center is a place where we have infrasture data center is dedicated to certain person this data center is maintained by the person he is the owner of the data center this is also called as physical data center short form is PDC aws is also maintaining multiple data centers across the globe aws is also maintaining multiple PHYSCIAL DATA CENTERSS centers across the globe on-premises data center ----------------------------- this is type of data centers are dedicated to particular business owners ex: suppose if xyz bank or abc bank maintain this type data center. this is called as sbi on-premises data center   region ------- region is a location where aws maintaining their physical infrastructure 

linux user management

how can you modify user id ? ------------------------------------ by using usermod command with help of u option/flag ex:usermod -u 1500 u1 u1 user id =1500 how can you modify user login name ? ---------------------------------------------- usermod -l devops_engineer u1 usermod -l java_developer  u2            new login name  old name output: -------- u1 user will become devops_enginner u2 user will become java_developer