Create and Configure VM instance in AWS EC2

I guess there should be nothing need to be mentioned for account creation. We move on to VM Instance creation

  1. Choosing the location for hosting the VM, then Click on Services and EC2

2. Click on Instances, then Launch Instances for creating new VM

3. Choose the OS you want to use, our guide will stick on Debian 10.

4. Select the type of machine you want to create, for free tier (12 months), only t2.micro can be used, then click on Review and Launch

5. Click on Edit security groups, add rules as follow. (group name can be edited as anything you want)

6. When clicked on Launch, the new key pair will be prompted. If you would like to use Putty to configure the Instance, edit the Key name as anything you like and Download it (Do not change the file name afterwards). Then Launch Instances.

7. For those users who have Saved the key file from previous step only Open Puttygen.exe, load the pem file, then save the key file

Change the putty gen saving key setting, as some application (e.g. WinSCP) does not recognize PPK version 3.

You can edit the file names of the ppk and pem after this step is done

8A. SSH to the VM using Putty (for those who performed Step 7) Host Name: the external IP, can be found in EC2 Instances Page

Then head for SSH, Auth to locate the ppk file you saved in Step 7. You can click open to start connection immediately, o you can go back to Session, type a name in "Saved Sessions" and press save for future use.

The login name here is admin

8B. You can also open SSH session in web browser

After creation completed, you can move on to setup in Debian 10

Setup X-Ray Server in Debian 12

Last updated

Was this helpful?