AWS Notes Day1 and 2
AWS Notes Day1 and 2
1.Windows
2.Linux
CPU,RAM,Storage,Network,OS
1.Name
2.AMI --> Amazon machine image ( Os, application and app servers)
3.Instance type --> t3.micro ( 1GB, 2vCPU)
4.Key Pair
5.Network Settings --> Default VPC
6.Storage
===================================
Windows - Windows
ap-southeast-1(a) ==> Az
ap-southeast-1(b)
ap-southeast-1(c)
----------------------
t3.micro
Instance types:
1.General purpose
2.Compute optimized
3.Memory Optimized
4.Storage Optimized
5.Accelerated computing
6.HPC optimized
----------------
https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe
Linux Commands:
---------------
1 yum update -y
2 clear
3 pwd
4 touch hello.txt
5 ls
6 ls -lrt
7 mkdir sampledir
8 ls
9 ls -lrt
10 history
================================
Windows vs Linux ? ? ?
License Opensource
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-
instance-status-check.html
Day2
Types of Middleware:
1.Webserver
2.Appserver
-----------------
Windows
1.IIS Webserver
2.WAS , JBOSS Appserver
Linux
--------------------------------------
https://winscp.net/eng/download.php
Windows ---> Server Manager ---> Roles and Features ---> Webserver --->
Next install
Go to freecss.com and downoad zip file and extract zip and delete zip file.
-----------------------
WinSCP --> hostname (PublIP) , Username (ec2-user) , Advanced --> ssh -->
authentication --> browse --> ppk file.
Permission error:
4 ---> Read
2 ---> Write
1 ---> Exec
----------------------------
1 clear
2 yum install httpd -y
3 service httpd start
4 service httpd status
5 chmod 777 /var/www/html
6 cd /var
7 cd www
8 cd html
9 ls
10 cd
11 cd /var/www/html
12 ls -lrt
13 ls
14 cd
15 pwd
16 ls
17 cd /
18 pwd
19 ls
20 cd var
21 ls
22 cd www
23 ls
24 cd html
25 ls
26 cd hi
27 ls
28 history
===========================
Architectures:
-----------------------
Dynamic Application:
============================================