Member-only story

Launching an EC2 Instance

Evan Selunani
2 min readOct 28, 2024

--

EC2 (Elastic Compute Cloud) instances are virtual servers provided by Amazon Web Services (AWS) that allow you to run applications and workloads in the cloud. These instances are scalable, so you can easily adjust their computing power based on your needs.

Steps to Launch an EC2 Instance:

1. Navigate to EC2 Dashboard:
— Search for “EC2” on the AWS Management Console dashboard.
— On the EC2 Dashboard, click Instances in the left menu, then select Launch Instance from the top right corner.
— Name the instance: Batman Public Server.

2. Select Amazon Machine Image (AMI):
— Choose Amazon Linux 2023 AMI for this instance.

3. Instance Type:
— Select t2.micro, which is within the AWS Free Tier and sufficient for testing.

4. Key Pair (Login):
— In the Key pair (login) section, select Create new key pair.
— Name the key pair: Batmankp.

N/B — Key pairs enable secure access to your EC2 instances. A key pair consists of two cryptographic keys: a public key (installed on the instance) and a private key (kept by the user). When you attempt to connect to the instance, the server uses the public key to generate an encrypted challenge, which can only be decrypted by the private key. This ensures secure, authenticated access.

--

--

Evan Selunani
Evan Selunani

Written by Evan Selunani

Transforming the world, one keystroke at a time.| Certified AWS Cloud Practitioner.

No responses yet