EC2 Flashcards

1
Q

EC2 Instance Type

A

Compute Optimized - Batch processing, media transcoding, high performance web servers, scientific modeling, ML, gaming servers

Memory Optimized - High performance RDBMS or NonRDMBS, distributed webscale cache stores, In memory DB for BI, real time proecssing of big structured data

Storage Optimized - OLTP, RDBMS and NoSQL DB, Cache in memory DB like Redis, DW, distributed file system

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

Security Groups

A

Firewall around EC2
Only ALLOW
Reference by IP or other SGs

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

Connecting to EC2

A

Using SSH, EC2 instance connect and Putty

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

EC2 Purchase Options

A

On Demand - Pay by sec after first min (Linux and Windows). For other OS Pay by hour. Stopped instances, however, do not incur charges. [For short term uninterruped workload]

Reserved (1 or 3 years) - Commit to an instance type, Region, Tenancy(host, dedicated, default) and OS. Reserved Instances incur charges for every clock-hour during the selected term, regardless of instance running status [For steady state usage like DB]

Convertible Reserved - Same as Reserved except you can change instance type, family, region, tenancy or OS

Savings Plan (1 or 3 years) - Commit to usage in $ (like $10/hour) instead of instance type. Can change instance size, OS and Tenancy

Spot - Short workloads and can lose the instance [For batch jobs, data analysis, image processing, etc]

Dedicated host - Dedicated entire physical server and unshared. On demand or resereved [For compliance or existing server bound s/w licences]

Dedicated instance - Dedicated entire physical server and shared [No control on instance placement. Can move h/w after stop/start]

Capacity reservations - Reserve capacity in specific AZ for any duration. No time commitment. If you dont run you are still charged. [For short term uninterruped workload in a specific AZ]

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

Shared Responsibility

A

Customer responsibility
SG rules
OS patching and update
S/W installed
iAM roles
Data security

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

EBS

A

Network drive you can attach to your EC2 instance
Data remains even EC2 instance is terminated
Mounted on 1 instance at a time
Bound to an AZ
Move data from 1 instance to another

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

EBS Snapshot

A

Backup of EBS volume at a time
Used to move EBD volume data from one AZ/Region to another

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

AMI

A

Amazon Machine Image
Launch EC2 instances from an AMI
You can add your s/w, configurations, OS, monitoring into an AMI
Build for a specific region
AMUI also creates an EC2 instance

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

EC2 Image Builder

A

Used to create VMs or container images
Automate the creation, maintain, validate, and test AMIs for EC2 instances
It can run on a schedule
The output is tested AMI which can be distribued to other regions

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

EC2 Instance Store

A

Harddrive attached to EC2 instance
Its gone once EC2 instance is terminated
Faster than EBS
Good for temporary content, cache, scratch data

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

EFS

A

Network file system (NFS) attached to EC2
It can be attached to more than 1 EC2 instance unlike EBS
EFS works only with your Linux EC2 instances
It works across multiple AZs.
Pay per use and not by capacity
EFS IA = Storage class is going to be cost-optimized for files that you don’t access very often

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

Shared Responsibiliy for EC2 Storage

A

Client responsibility
1. Data backup/restore
2. Data encryption

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

Amazon FSx

A

Third party high performance (HPC) file system on AWS
Fully managed service
Build on windows file server
Supports SMB and windows NTFS
Integrated with windows active directory
Accessed from AWS or on Premise

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