EC2 Elastic Cloud Compute Flashcards

1
Q

Amazon EC2

A
  • Infrastructure as a Service
  • Core functions
    Rent VM (EC2)
    Store Data (EBS)
    Distribute load (ELB)
    Scale services (ASG)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

EC2 configuration options

A
  • OS (Linux, Windows, or Mac)
  • CPU
  • RAM
  • Network card
  • Firewall rules (security group)
  • Bootstarp script
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Bootstrapping

A
  • Launching commands when the machine starts
  • Run once
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

EC2 User Data

A

Scripts to automate boot tasks
* Install updates and software
* Download common files from the internet
* Anything you can think of

Always run as the root user

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

EC2 Instance Types

A
  • General Purpose
  • Compute Optimized
  • Memory Optimized
  • Storage Optimized
  • HPC Optimized
  • Accelerated Computing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

EC2 naming convention

A

m5.2xlarge
* M: Instance class
* 5: generation
* 2xlarge: size within the instance class

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

EC2 Instance Type: General Purpose

A
  • Great for diversity of workloads (like webserver or code repositories)
  • Balance between:
    compute
    memory
    networking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

EC2 Instance Type: Compute Optimized

A

Tasks require high performance processors:
* Batch processing
* Media transcoding
* High performance web servers
* High performance computing (HPC)
* Scientific modeling & machine learning
* Dedicated gaming servers

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

EC2 Instance Type: Memory Optimized

A

Fast performance, process large data sets in memory
* High performance, relational/non-relational databases
* Distributed web scale cache stores
* In-memory databases optimized for BI (business intelligence)
* Applications performing real-time processing of big unstructured data

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

EC2 Instance Type: Storage Optimized

A

Storage-intensive tasks
High, sequential read-write access to large data sets on logical storage
* High frequency online transaction processing (OLTP) systems
* Relational & NoSQL databases
* Cahche for in-memory databases (like Redis)
* Data warehousing
* Distributed file systems

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

Security Groups

(EC2)

A

Fundamental to network security
* Like firewall
* Only allow rules
* Reference by IP or security group
* Locked to region or VPC combo
* Inbound blocked by default
* Outbound allowed by default

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

Security Groups Regulate:

(EC2)

A
  • Ports & IP ranges - v4 & v6
  • Inbound and outbound traffic
  • Like a firewall
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

SSH can remote to which OSs

A
  • Mac
  • Linux
  • Win 10 or higher
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

EC2 Instance Connect can remote to which OSs

A

Any

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

Putty can remote to which OSs

A
  • Any version of windows
  • Uses SSH Protocol
How well did you know this?
1
Not at all
2
3
4
5
Perfectly