0% found this document useful (0 votes)
14 views5 pages

AWS Notes Day1 and 2

The document outlines key concepts related to Infrastructure as a Service (IaaS) and virtual machines in the cloud, including various instance types and operating systems. It discusses application hosting, middleware types, and provides commands for managing Linux and Windows servers. Additionally, it contrasts monolithic and microservices application architectures.

Uploaded by

amorvignesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views5 pages

AWS Notes Day1 and 2

The document outlines key concepts related to Infrastructure as a Service (IaaS) and virtual machines in the cloud, including various instance types and operating systems. It discusses application hosting, middleware types, and provides commands for managing Linux and Windows servers. Additionally, it contrasts monolithic and microservices application architectures.

Uploaded by

amorvignesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Day1

IaaS --> Infra as a service

Compute --> Server Engineering

EC2 --> Elastic Compute Cloud


------------------------------

Virtual Machines in the Cloud

1.Windows
2.Linux

CPU,RAM,Storage,Network,OS

Server --> Virtual machine --> Instance


--------------------

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

pem --> Privacy enhanced mail

Windows - Linux (Putty)

ppk --> Putty Private Key

SSH ---> Secure Shell host


RDP ---> Remote desktop protocol
====================================

ap-southeast-1 ==> Region

ap-southeast-1(a) ==> Az
ap-southeast-1(b)
ap-southeast-1(c)

----------------------

t3.micro

t --> General purpose type


3 --> Gen
micro --> Size

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

yum ---> Default Package manager for Amazon Linux


apt ---> Default Package manager for Ubuntu

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

Static Application hosting:


===========================

Hardware -- Middleware -- Software

Types of Middleware:
1.Webserver
2.Appserver

-----------------

Windows

1.IIS Webserver
2.WAS , JBOSS Appserver

Linux

1.Apache httpd, Nginx webservers


2.Apache tomcat Appserver

--------------------------------------

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.

C:/inetpub/wwwroot ---> Delete and Copy extracted files and folders

-----------------------
WinSCP --> hostname (PublIP) , Username (ec2-user) , Advanced --> ssh -->
authentication --> browse --> ppk file.

left side ---> Local

Right side --> Remote

Permission error:

chmod 777 /var/www/html

4 ---> Read
2 ---> Write
1 ---> Exec

current usergroup other

----------------------------

Linux ---> MultiUser OS

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:

1.1 tier --> Webserver


2.2 tier ---> Webserver / Appserver + DB Server
3.3 tier ---> Webserver + Appserver + Database server

-----------------------
Dynamic Application:

Monolithic Application (Web+App+DB) --> Tightly coupled


Microservices Application (web server, appserver, db server) --> Loosely
coupled

============================================

You might also like