I want to create an Amazon Elastic Compute Cloud (Amazon EC2) instance that runs Amazon Linux 2.
AWS provides an AWS Free Tier option for evaluation purposes. After you create an AWS account, you can use Amazon Linux Free Tier to create an EC2 instance with a public IP address.
Before you create the instance, complete the following steps:
To connect to your Amazon Linux instance from Windows, see Connect to your Linux instance from Windows with PuTTY. Then, save the .ppk file to the same folder as the .pem file that you downloaded.
Complete the steps to launch an instance.
After the status checks complete and the Instance state status is running, connect to your instance.
To avoid unnecessary charges on your account, stop your instance when you're not using it. When you're finished with your instance, terminate the instance to clean it up.
Tutorial: Get started with Amazon EC2 Linux instances