Section 5: AWS EC2 Fundamentals, Security & Pricing

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/51

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:00 PM on 8/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

52 Terms

1
New cards

What is Amazon EC2?

EC2 is a virtual computer or server rented from AWS.

2
New cards

What is an EC2 instance?

A running virtual server created using EC2.

3
New cards

What is an AMI?

A template used to create an EC2 instance.

4
New cards

What is a security group?

A virtual firewall that controls traffic to and from an EC2 instance.

5
New cards

What is an inbound rule?

A rule controlling traffic coming into the instance.

6
New cards

What is an outbound rule?

A rule controlling traffic leaving the instance.

7
New cards

What is port 22 used for?

SSH access to a Linux server.

8
New cards

What is port 80 used for?

HTTP website traffic.

9
New cards

What is port 443 used for?

Secure HTTPS website traffic.

10
New cards

What is SSH?

A secure way to remotely control a Linux server.

11
New cards

What is EC2 Instance Connect?

A browser-based way to connect to a Linux EC2 instance.

12
New cards

What is an EC2 key pair?

A public and private key combination used for secure SSH access.

13
New cards

What is a .pem file?

The private key file used to connect to EC2 with SSH.

14
New cards

Why must a .pem file stay private?

Anyone with the file may be able to access the server.

15
New cards

What does Permission denied publickey usually mean?

The private key or username does not match the instance.

16
New cards

What is EC2 User Data?

A script that automatically configures an EC2 instance when it launches.

17
New cards

What does bootstrapping mean?

Automatically running setup commands when a server starts.

18
New cards

What does dnf install httpd do?

It installs the Apache web server.

19
New cards

What does systemctl start httpd do?

It starts Apache immediately.

20
New cards

What does systemctl enable httpd do?

It makes Apache start automatically after reboot.

21
New cards

Where is the default Apache webpage stored?

/var/www/html/index.html

22
New cards

What is a public IPv4 address?

An IP used to reach the EC2 instance through the internet.

23
New cards

What is a private IPv4 address?

An IP used inside the AWS private network.

24
New cards

What is an Elastic IP?

A fixed public IPv4 address.

25
New cards

What is an IAM role for EC2?

Permissions that an EC2 instance can temporarily use.

26
New cards

Why use an IAM role instead of access keys?

Roles provide temporary credentials without storing permanent keys.

27
New cards

What is EBS?

Persistent storage that acts like a virtual hard drive for EC2.

28
New cards

What is the difference between EC2 and EBS?

EC2 is the computer; EBS is the hard drive.

29
New cards

What does stopping an instance do?

It turns off the instance but keeps it and normally keeps its EBS data.

30
New cards

What does rebooting an instance do?

It restarts the instance without deleting it.

31
New cards

What does terminating an instance do?

It permanently deletes the instance.

32
New cards

What is a general-purpose instance?

A balanced instance for normal websites and applications.

33
New cards

What is a compute-optimized instance?

An instance designed for heavy CPU work.

34
New cards

What is a memory-optimized instance?

An instance designed for workloads needing lots of RAM.

35
New cards

What is a storage-optimized instance?

An instance designed for heavy and fast disk reading and writing.

36
New cards

What is accelerated computing?

Instances using GPUs or special hardware for AI, machine learning, and graphics.

37
New cards

What is On-Demand pricing?

Pay for EC2 as you use it with no long-term commitment.

38
New cards

When is On-Demand best?

Learning, testing, short-term projects, and unpredictable workloads.

39
New cards

What is a Savings Plan?

A 1-year or 3-year spending commitment that gives discounted compute prices.

40
New cards

What is a Reserved Instance?

A discount for committing to EC2 usage for 1 or 3 years.

41
New cards

What is a Spot Instance?

A cheap EC2 instance using AWS spare capacity that can be interrupted.

42
New cards

What workloads are good for Spot Instances?

Batch jobs, testing, rendering, and restartable workloads.

43
New cards

What workloads are bad for Spot Instances?

Critical databases and jobs that cannot be interrupted.

44
New cards

What is a Spot Fleet?

A group of Spot Instances used to meet a target amount of capacity.

45
New cards

What is a Dedicated Host?

An entire physical AWS server allocated to one customer.

46
New cards

Which EC2 option is best for a beginner lab?

On-Demand.

47
New cards

Which option is cheapest but interruptible?

Spot Instances.

48
New cards

Which option is best for steady long-term use?

Savings Plans or Reserved Instances.

49
New cards

Which option gives you an entire physical server?

Dedicated Host.

50
New cards

What is Auto Scaling?

It automatically adds or removes EC2 instances based on demand.

51
New cards

What is a load balancer?

It distributes traffic across multiple EC2 instances.

52
New cards

Why use multiple EC2 instances?

To improve availability, performance, and fault tolerance.