Amazon Elastic Compute Cloud (EC2) is a core AWS serice that provides resizible Compute capacity in the cloud
- Navigate to EC2 Dashboard : Launch instance
- Set the Name
- Choose an Amazon Machine Image (AMI) : Amazon Linux 2023
- Select instance type : t2.micro(free tier eligible)
- Create a new security group or use an existing one
- Add rules to allow:
*SSH (port 22)- For remote access.
*HTTP(port 80)- For web traffic.
- This is used to securely connect to your instance via SSH
- Save the .pem file
- Review and click Launch
- Wait for the instance to initialize
- Visit your EC2 public IP in a browser
- Launch virtual machines (called instances ) with customizable OS, CPU, Memory and Storage
- Host web applications, run backend services or perform batch processing
- Scale resources up or down based on demand