Subhan Tech DevOps
Welcome to Subhan Tech DevOps we provide Hands on Coaching on Production Support & AWS Cloud platform. If you have any quires mail us at subhantechdevops@gmail.com for more info & Enrollment: +91- 7995165865
Thursday, August 18, 2022
How To Lanuch Windows Server-2019 Using AWS
Tuesday, August 16, 2022
How to Crate AWS Free Tier Account
Prerequisites:
- Need One Debit-Card or Credit-Card payment Gate will be VISA or Master.
- You must have Laptop or mobile and make sure have good internet Connection.
Lets Start The Process
- 1st move to browser and search with key word AWS Account Creation or else click on below url shown https://aws.amazon.com/resources/create-account/
- Next Click on the Sing-up after that give your email & Name for Your Account
- Next Click on Setup Password in both the tabs like shown below
Are You Interested To Learn DevOps Book Your Slot Today
Trainer: Subhan Shaik
Email id : subhantechdevops@gmail.com
Contact: +91- 7995165865
Saturday, August 13, 2022
Linux Operating System & Linux Architecture
What is Linux Operating System:
Linux is one of popular Operating System and it is a developed from version of UNIX operating System. It is open source, freely available in internet and we can use It is free of cost.
Architecture:
Hardware layer − Hardware consists of all some pre-connected devices like (RAM/ HDD/ CPU etc).
Kernel − It is the core component of Operating System, interacts directly with hardware components and
It manage the system resources. Like
1.Device Management 2.Memory Management 3.Process Management 4.Handiling System Calls
Shell − An interface to kernel, hiding complexity of kernel's functions from users. The shell takes
commands from the user and executes kernel's functions.
Utilities − Utility programs that provide the user most of the functionalities of an operating systems.
Components of Linux Operating System:
1. Kernel − Kernel is the main heart of Linux. It is responsible to manage the system resources
and it has mainly 4 responsibilities.
Device Management:
it consist of many devices like cpu, storage, graphic-card, Memory …etc
Kernel store the all the data related to the device in the device driver
Without Kernel you cannot operate the device
Memory Management:
It will tracks and give the data of used memory and un-used memory
Process Management:
It will occupies some space to run the process and identify the process which is running on
that operating system
Handling System Calls:
The Handling system calls are the used to perform the special tasks in that application by
calling to APIs
2.System Library −
System libraries are special functions or programs using which application programs or
system utilities accesses Kernel's features.
These libraries implement most of the functionalities of the operating system.
3.System Utility:
System Utility programs are responsible to do specialized, individual level tasks.
Thursday, August 11, 2022
How to Create a Git-Hub Account as a DevOps Admin?
*Requirements for admin:
- Admin need employees data means which team they are how much size of the team and details of team-mates like[E-mails, phone numbers, names….. ]
- then divided those into diff teams and adding to them those all process while setup by ADMINS.
- In Realtime means if your working for any project instead of GIT you guys will use GHE-GITHUB ENTERPRISE EDITION
**Note: why GHE why not GIT means GIT is a open source means public who ever has internet accses they can access those source code by using GIT that’s why we don’t go with GIT in real-time it is not secure for our organization and our project too.
Lets start the Git-hub setup by following below steps:
- move to Browser and search with GIT-sign up by this link: https://github.com/login then click on create Account
Saturday, July 30, 2022
How To Monitoring The Linux Servers Using Node exporter, Prometheus & Grafana
Prerequisites:
- For this Demonstration Purpose i Need 3-linux Servers 1-server for Monitering remaing are to install Prometheus & Grafana Software’s in those servers.
- For installing Prometheus Software Refer This doc: https://prometheus.io/download/
- For installing Grafana Software Refer this Doc: https://grafana.com/docs/grafana/latest/setup-grafana/installation/rpm/
- For Demo Purpose I am using Cloud Technology as AWS using
Let’s Start The Process:
Installing node_exporter on linux monitering Server:
- Launch 3-Linux servers using AWS and open all traffic in Security Group for demo purpose only not recommended to open in real-time while working on projects.
Then login to Linux Server & move to /opt directory which you’re trying to moniter liken shown below.
- Next install Node Exporter in the same server by referring the Prometheus official doc: https://prometheus.io/download/
sudo wget https://github.com/prometheus/node_exporter/releases/download/v1.4.0-
rc.0/node_exporter-1.4.0-rc.0.linux-amd64.tar.gz
- Next open tar.gz file by using sudo tar xf like shown below
- Next move that long name file of node-exporter into shortcut name as a node_exporter
- Next run or execute that node_exporter on the same directory where you install Node exporter bysudo ./node_exporter
- Copy public-i.p of Linux Monitor Server & Then move to browser click on search
Prometheus Installation on another Linux Server:gThen login to Prometheus Server & move to cd /opt directory which you’re trying to
- moniter liken shown below.
sudo wget https://github.com/prometheus/prometheus/releases/download/v2.37.0/prometheus-
2.37.0.linux-amd64.tar.gz
- Next open or extract tar.gz file by using sudo tar xf like shown below
- Next After open that tar file remove that .gz file no longer need like this
- Next rename to that Prometheus Software file its too long nameNext Move to Prometheus Directory cd Prometheus & then see the list of files andit will show the directories in the directory
- Modify that Prometheus.yml file and add the host entries of Monitoring server like shownbelowNext Run that Prometheus.yml file to reflect the changes which we modified./Prometheus.ymlCopy public-I.P of the Prometheus Server & Then Move to browser and clcik on searchGrafana Installation on another Linux Server: Then login to Prometheus Server & move to cd /opt directory which you’re trying tomoniter liken shown below.
Next refer the Official Document of Grafana :
In that edit the file sudo vi /etc/yum.repos.d/grafana.repo
Then start the service using sudo systemctl start grafana-server
- Then Copy Public ip of Grafana server and access it from browser & login with default name as admin & password admin
- Next Configure data source as a Prometheus
- Next Click on Import dashboard like shown Then import and add dashboard from garafana labs avilabe predefine dashboard then finallymonitor server
- Then finally you can moniter your Linux server using Prometheus & grafana help of nodeexporter
-
- Note: Open all Traffic in Security Groups under Edit In-bound rules access from anywhere for all the 3 servers for demo purposes only
- If you need Grafana Dash Board from online searching with key word grafana-labs 0r grafana dashboards
- I used here for demo purpose predefined Grafana Dash Board 1860
How to Create EC2 Instnace in AWS?
- 1st Login to AWS Console Management
- Then Navigate to EC2 Dash Board under EC2 Dash Board clcik on Instnace
- Next Click on Lanuch Instnace
- Then give name to your server , select the operating system which you want
- Next select the instnace type
- Select the KEY-PAIR
- Network Section while creating AWS Account AWS itself created one default VPC for your Account so select or leave network section it will take automatically default VPC
- Then Finally Click on Lanuch Instance
- Then after 30 sec move to ec2-Dash Board and Click on Instnace it will show your newly lanuch instnace with Running state
Are You Interested To Learn DevOps Book Your Slot Today
Trainer: Subhan Shaik
Email id : subhantechdevops@gmail.com
Contact: +91- 7995165865
Subscribe to:
Comments (Atom)