EC2 Flashcards

1
Q

What does EC2 stands for?

A

Elastic Compute Cloud

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

Allows which type of Cloud Computing?

A

Infrastructure as a Service (IaaS)

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

What does EC2 consists of?

A
  • Renting virtual Machines (EC2)
  • Storing data on virtual drives (EBS)
  • Distributing load across machines (ELB)
  • Scaling the services using an auto-scaling group (ASG)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are EC2 sizing and configuration options?

A
  • Operating System (OS): Linux, Windows, Mac OS
  • Compute power and cores (CPU)
  • Random Access Memory (RAM)
  • Storage Space: Network attached (EBS & EFS) or hardware (EC2 Instance Store)
  • Network Card: speed of the card, public IP address
  • Firewall rules: security group
  • Bootstrap script (configure at first launch): EC2 User Data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What EC2 Instance Types exist?

A

General Purpose, Compute Optimised, Memory Optimised

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

What are the characteristics of the General Purpose EC2 Instance Type?

A

Great for a diversity of workloads (web servers, code repos)
Balance between Compute, Memory, Networking

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

What are the characteristics of the Compute Optimised EC2 Instance Type?

A

Great for compute intensive tasks that require high performance processors
Name: c-series

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

What are the characteristics of the Memory Optimised EC2 Instance Type?

A

Fast for performance for workloads that process large data sets in memory (RAM)

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

What are the characteristics of the Storage Optimised EC2 Instance Type?

A

Great for storage-intensive tasks that require high, sequential reand and write access to large data sets on local storage

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

What do Security Groups control?

A

They control how traffic is allowed int or out of our EC2 Instances. They act as a firewall on EC2 instances and they regulate access to ports, authorised IP ranges (IPv4 and IPv6) and inbound and outbound network. They only contain allow rules and their rules can reference by IP or by security group.

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

What are the default security group rules for inbound/outbound traffic?

A

Inbound traffic is blocked
Outbound traffic is allowed

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

What is the SSH port and what is it for?

A

SSH (Secure Shell), port 22, log into a Linux instance

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

What is the FTP port?

A

FTP (File Transfer Protocol), port 21, upload files into a file share

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

What is the SFTP port?

A

SFTP (Secure File Transfer Protocol), port 22, upload files using SSH

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

What is the RDP port and what is it for?

A

RDP (Remote Desktop Protocol), port 3389, log into a Windows instance

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

What is the RDP port and what is it for?

A

RDP (Remote Desktop Protocol), port 3389, log into a Windows instance

17
Q

What types of purchasing options are there for EC2?

A

On-demand instances, Reserved (instances and convertible reserved instances), savings plans, spot instances, dedicated hosts, dedicated instances, capacity reservations

18
Q

What are the EC2 on demand characteristics?

A

Pay for what you use
Has the highest cost but no upfront payment
No long-term commitment

Recommended for short-term and uninterrupted workloads, where you can’t predict how the application will behave

19
Q

What are the EC2 reserved instances characteristics?

A

Discount compared to on demand EC2
Reserve a specific instance attributes (type, region, tenancy, OS)
specify a reservation period (1 or 3 years)
specify payment options (upfront, partial upfront, no upfront)
specify instance’s scope (region or zone)

Recommended for steady-state usage applications. Possible to buy and sell in the reserved instance marketplace

Convertible Reserved Instance: possible to change instance type, family, OS, scope and tenancy (less discount)