EC2 is the AWS service for virtual servers. Launching and connecting to one server is the first hands-on step for most cloud learners.
Before you start
- Set a budget alert, so you are warned about unexpected costs.
- Use an IAM user, not the root account.
- Choose a small instance type for practice.
Launching the server
- Choose an operating system image, such as a Linux image.
- Pick the instance size.
- Create or select a key pair for secure login.
- Set a security group that allows SSH only from your own address.
Connect and test
Connect over SSH, update the system and install a small web server. Open the server’s address in a browser to check it works.
Clean up
Stop or terminate the instance when you finish, and delete unused volumes and addresses, so they do not keep charging.
Next step: see our cloud, AWS and DevOps course at ScholarLogic, or book a free demo class. A counsellor will share the fee and the next batch dates.
