Please enable JavaScript.
Coggle requires JavaScript to display documents.
Aws sec1 - Coggle Diagram
Aws sec1
EC2
SSH
Port 22
Amazon linux 2
winscp
inbound
By Default blocked
Outbound
Security group
private key local
aws will have public key
Private vs public ip
Gate way to be used
private only lan
elastic ip
Static
for ec2
By default it is dynamic
Characterstics
Ram
CPU
Disk performance
Network bandwidth
GPU
IAM
Global service
User
For physical person
Groups
Roles
For machines
One role of one application
Identity access management
Json
Managed policy
Reused
Never write cred on code
Never use root
EC2 Instance types
Reserved instance
75 % discount
Convertible instancce
Scheduled
On demand instance
Costly
Good for learning
spot
Batch processing
Image processing
Data analysis
90 % cheaper
Bidding
dedicated instances
Dedicated hosts
databases
3 years
Dedicated instance
Burstable instance
CPU Credit
Unlimited burst extra money
Regions
AZ
Aws console
Region code
Regional table
ec2 apche server
commands
yum update -y
yum install -y httpd.x86_64
systemctl start httpd.service
systemctl enable httpd.service
curl localhost:80
systemctl enable httpd.service
echo "Hello World" > /var/www/html/index.html
AMI
Custom AMI
Specific region