Section 1 - Instruction

Let's dive deeper into virtual servers on AWS. The service is called Amazon EC2, which stands for Elastic Compute Cloud. An individual virtual server that you launch is called an EC2 instance.

Think of an EC2 instance as your own personal computer, but it lives in an AWS data center.

Engagement Message

Have you ever used remote desktop to connect to another computer? It's a similar idea.

Section 2 - Instruction

To create an EC2 instance, you first choose an Amazon Machine Image (AMI). An AMI is a template that contains the operating system (like Linux or Windows) and other software. It's like choosing the base model of a computer before you customize it.

Engagement Message

Why is using a pre-configured template faster than setting everything up from scratch?

Section 3 - Instruction

Next, you select an instance type. This determines the hardware of your virtual server, such as its processing power (CPU) and memory (RAM). AWS offers hundreds of instance types optimized for different tasks.

For example, some are for general use, while others are built for memory-intensive or high-performance computing jobs.

Engagement Message

What kind of task needs a lot of memory (RAM)?

Section 4 - Instruction

Instance types are grouped into families. For example, the 't' family offers general-purpose, burstable performance at a low cost, making it great for development. The 'c' family is optimized for compute-intensive workloads.

Choosing the right family and size is a key skill for balancing performance and cost.

Engagement Message

If you were running complex scientific simulations, which family might you look at first?

Section 5 - Instruction

For security, EC2 uses key pairs to prove your identity when you connect to an instance. A key pair consists of a public key that AWS stores, and a private key file that you store securely. It's like having a digital key instead of a password.

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal