AWS Fundamentals (IAM/EC2) Flashcards

1
Q

AWS Regions

A

Clusters of data centres

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

AWS Availability Zones

A

Each region has many availability zones
They are geographically separated from each other
Connected with high bandwidth, low latency networking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

IAM

A

Identity and Access Management

AWS Security - Users, Groups, Roles

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

IAM Role

A

One IAM Role per Application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

IAM User

A

One IAM User per physical person

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

EC2

A

Virtual Machine in the cloud

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Security Groups

A

Controls traffic in and out of EC2 Machines (protocols/ports)

Security Groups act as a firewall for EC2 instances

Locked down to a region

Inbound traffic is blocked by default while outbound traffic is authorised by default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Elastic IPs

A

Used for EC2 instances that need a fixed public IP

Elastic IP is lost once the instance is deleted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

EC2 User Data

A

Runs a script when an EC2 instance is created

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

EC2 Launch Types

A

On Demand, Reserved (min 1 year), Spot Instances, Dedicated Instances. Dedicated Hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

EC2 On Demand

A

Pay for what you use

Highest Cost but no upfront payment and no long term commitment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

EC2 Reserved Instances

A

Up to 75% cheaper than On Demand

Reservation can be 1-3 years

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

EC2 Spot Instances

A

Up to 90% cheaper than On Demand

Most cost efficient instances in AWS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

EC2 Dedicated Hosts

A

Physical EC2 Server

For companies with strong regulatory/compliance requirements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Spot Instance Requests

A

Define a max spot price and as long as the current spot price is below it you will get an instance

Or using Spot Block you can specify a block of time without any interruptions

Used for batch jobs, data analysis or workloads resistant to failure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Spot Fleet

A

Allows us to automatically request spot instances with the lowest price

17
Q

EC2 Instance Types

A

R - more RAM (in memory cache)
C - more CPU (compute/databases)
M - balanced (medium) (general/web apps)
I - good I/O (instance storage/databases)
G - more GPU (video rendering/machine learning)

18
Q

Burstable Instances

A

If a spike in CPU occurs, increase CPU with “burst credits”, if burst credits run out, then terminate the instance

19
Q

AMI

A

Amazon Machine Images - ready to go virtual machines

Can be public and available on the Amazon Marketplace

AMI’s cost money to store, normally inexpensive

20
Q

EC2 Placement Groups

A

Strategy to place your instances

  • Clusters: Low latency group in the same AZ
  • Spread: spread instances across underlying hardware (across AZ)
  • Partition: spreads instances across different server tacks
21
Q

ENI

A

Elastic Network Interface - virtual network card

Bound to one AZ

22
Q

EC2 Hibernate

A

Preserve RAM, instance boots much faster

RAM size must be less than 150GB