Member-only story
Launch an EC2 Instance
1. Login to AWS Management Console: — Navigate to the EC2 Dashboard.
2. Launch an Instance:
— Click on Launch Instance.
— Choose Amazon Linux 2 AMI or Amazon Linux 2023 (both are suitable for this guide).
3. Select Instance Type:
— Select the `t2.micro` instance type, which is free-tier eligible.
4. Network Settings:
— We are using the default VPC yeeey! no configuration needed here!
— Create a new security group. Ensure you allow the following:
— HTTP(Port 80) to access your website.
— HTTPS(Port 443) for secure access.
— SSH(Port 22) to connect to the server (limit access to your IP for security).
4. Configure Storage:
— Leave it at Default settings they are usually sufficient.
5. Review and Launch:
— Review the configuration and click Launch. Choose an existing key pair or create a new one to SSH into your instance.