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