Member-only story
Launching an EC2 Instance
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.