EC2 Fundamentals Flashcards
What is IAM Access?
Allows IAM users and roles to access billing and cost management console.
How to set up billing alerts?
Budgets
are you billed for a stopped state instance
no
if you stop and start an instance do you have the same IP
no to public, yes to private
What is a security group
They control what traffic is allowed in and out of instances
security groups have allow or deny rules
allow
by default all inbound traffic is
blocked
by default all outbound traffic is
allowed
port 22, 21, 80, 443, 3389
SSH linux & SFTP, FTP, HTTP, HTTPS, SSH windows
when you see a timeout what does this mean?
security group issue
You can only cancel spot instant requests in which states
open, disabled, active
to terminate a spot instance you need to
cancel and then terminate
what are the ec2 placement groups
spread, cluster, partition
what is cluster
clusters instances in a low latency group within an AZ
what is spread
spreads instances across underlying hardware - max 7 per group per AZ - critical applications
what is partition
spreads instances across many different partitions in an AZ - scales 100s of ec2 in a group
pros and cons of cluster
pro - great network (low latency)
con - if rack fails then instances fails
use case of cluster
big data jobs which are quick
applications that need low latency and high network throughput
pros and cons of spread
pros - spread across az, if one fails they all dont fail
cons- limited to 7 instances per group per az
use case of spread
apps that need high availability
apps that need fault tolerance
ENI
virtual network card
ENI are az specific
yes
can eni be created independently and attached to an instance
yes
what is ec2 hibernate
it is where the os is in hibernation and the ram is stored in the root ebs volume, once the instance is running again the ram will be moved back to the instance