AWS Services Flashcards
IAM Credential reports
list all account users and their credentials
Aws SDK
can be used in your code to call aws API
Cloud Shell
a CLI in the browser with a complete permanentn filesystem
IAM access advisor
Shows service permissions given to a user and last access for each service (useful for “least privilege”)
EC2 (Elastic Cloud Computing)
service to rent VMs, store data on virtual drives (EBS) distribute load on machine (ELB), auto scaling the service (ASG)
Security Groups
set of rules tha can be attached to EC2 instance. It specify which range of IP i allowe through each port and can reference other security group (even itself) to allow traffic from other EC2 instances of that group)
port 22
ssh (secure shell for accessing the terminal of EC2 linux instances) or secure file transfer protocol (SFTP)
port 21
file transfer portocol
port 80
http
port 443
https
port 3389
RDP (remote desktop protocol) used to log in EC2 windows instances
AMI (Amazon Machine Image)
Bootable image that is used to start an EC2 instance
EC2 user data
script that you can provide during Ec2 config that is run ONCE at boot up time
EC2 Image Builder
Automate creation of AMI (it create an EC2 with desire characteristics and user data, creates Amitfrom it, then runs test on the AMI, then it can distribute the AMI across regions. It can be run again to get updated packages. You only pay what you use, not the service itself.
EC2 instance store
EC2 instance with storage physically attached to the server. But the storage is lost if instance is terminated: good foe cache/temporary content. High performance storage.
EFS (Elastic File System)
File system that can be attached to 100s of EC2 in the same region to have a synced shared file system. Pay per use. You can also have the infrequent access part where file less sued are moved to save some money.
Amazon FSx
Service for handling for handling 3rd party file systems
For windows: can be accessed via windows EC2 or on premises;
For Lustre (linux+cluster): can be accessed by aws services or on premises. High performance
Application Load Balancer (ALB)
for http/gRPC protocols(layer 7), static DNS, can be deployed on 1 or more AZ. It has a security group
networl load balancer (NLB)
tcp/udp protocol (level 4) high performance, static IP
gateway load balancer (GWLB)
geneve protocol on ip packets (level3), sends traffic through security servers
scaling strategies for LB
Manual (set min max e desired number of instances)
dynamic (trigger: ec <70% per 5 min;
scheduled: at specific time create 5 instance
target: keep usage at 50%)
predictive: use ML to
s3 standard storage class
99.99 availability, cost gb/month, for frequent accessed data
s3 infrequent access (IA)
instant retrieval but, cheaper but with retrieval fee, used for backup that you need instantly. One-zone IA or multi-zone (standard) IA