-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathaws-running-notes
More file actions
61 lines (44 loc) · 1.81 KB
/
aws-running-notes
File metadata and controls
61 lines (44 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
=======
DATE: 8JAN2025
Region:
A region is a geographically isolated area that contains multiple data centers. AWS has multiple regions worldwide, and each region is independent, providing low-latency and high-availability services to users in that specific area.
Availability Zone (AZ):
An availability zone is a data center or a group of closely connected data centers within a region. Each region consists of multiple availability zones to ensure high availability and fault tolerance. AZs are designed to be isolated from failures in other AZs, but they are connected to provide low-latency networking.
-----------------------------------------------
AZS:
Provides isolation and redundancy
low-latency, high-bandwidth connectivity between them.
To achieve high availability
===============================================
SOFTWARES TO INSTALL :
Git bash
BASIC LINUX COMMANDS :
========================================================
sudo su - ( To switch to root user)
hostnamectl set-hostname servername ( To setup server name)
touch fname1 -----> to create files
mkdir dir1 ----> to create files
ls -----> to list files
ll -----> long list view
cd dirname -----> to change directory
=========================================================
lsblk -----> ( TO LIST BLOCK STORAGE )
df -h -----> ( To check Disk File system & Usage )
df -Th
===================================================
EBS :
SNAPSHOT
-----------------------
Server1:
mkfs -t ext4 /dev/xvdf
mkdir /madhu
mount -t ext4 /dev/xvdf /madhu
server2:
mkdir /kiran
mount -t ext4 /dev/xvdf /kiran
================================================
#!/bin/bash
yum install httpd -y
systemctl start httpd
systemctl enable httpd
echo "WELCOM TO DEVOPS traininghub from $(hostname) SERVER" > /var/www/html/index.html