EC2 Fundamental Flashcards
What is budget
A way to cap the usage of services in AWS
What are the variations of budget
Cost, Usage, Reservation and Savings Plan
What is budget threshold
The percentage of forecast, exceeding which a notification is triggered
What are core 4 services of EC2
VM (EC2), Storing Data on Virtual Drive (EBS), Distributing Load Across VM (ELB) and Scaling Service using Auto - Scaling Group (ASG)
Which OS can you select for EC2
Linux, Windows and Mac
Can you choose compute power
Yes, via CPU
Can you choose RAM
Yes
What are the storage options
Network Based & Instance Based
What are network based store
EBS & EFS
Can you select the network card for EC2
Yes
What are security groups
Firewall rules
What is Bootstrap script
The start up script for EC2, that runs once at start up
How many instance types are there
7
In the expression m5.2Xlarge what m means
instance class
In the expression m5.2Xlarge what 5 means
generation
In the expression m5.2Xlarge what 2Xlarge means
size within the instance class
what are the things that security group restricts
ports, IP (from where the instance is accessed), inbound traffic and outbound traffic
can one security group be attached to multiple instances?
yes
can a security group belong to multiple VPC in same region
no
can a security group belong to multiple region
no
inbound traffic are allowed by default - true/false
false
outbound traffic are allowed by default - true/false
true
what is 22 port for
SSH
what is 21 port for
FTP
what is `22 port also used for
SFTP
what is 80 used for
HTTP
what is 443 used for
HTTPS
what is 3389 used for
remote desktop protocol for windows
can a security group refer other security groups
yes
what is EC2 Instance Connect
browser based instance connectivity option
what type of OS are supported by EC2 Instance Connect
Linux
can we block port 22 and still use EC2 Instance Connect to SSH to the machine
no
should you use IAM access key and secret key inside a VM to be able to other VM
no, this is dangerous, use IAM role instead
how can one EC2 connect with AWS services
using IAMrole
how many instance purchase options are there
5
what are the options
on - demand, reserved, dedicated - host, spot, dedicated - instance
which option is best suited for short - term, unpredictable work load
on - demand
on - demand (non - linux) instances are billed per minute - TRUE/FALSE
FALSE, they are billed per hour
what is the billing option for linux machines
billing per second after the first minute
how much max discount is available for reserved instances
75%
what are the reservation periods
1 to 3 years