AWS EC2: Create EC2 Instance (Ubuntu)
Step-by-Step Guide to launch a ubuntu server on AWS
Step 1: Login to AWS Management Console.
Step 2: Select a region from the drop down.
Step 3: Click EC2 under Compute section. This will take you to EC2 dashboard.
Step 4: Select Launch Instance and hence select an AMI, for our example in this, we will be selecting a ubuntu Server 18.04 LTS Instance which falls under free tier.
Step 5: Once you select your desired AMI, select your instance type, this is basically where you decide how much computing power you need to start, since ours is a small application, we shall suffice with the free tier.
Step 6: Configure all the details and then click on add storage.
Step 7: Here you will be configuring your storage devices, once done click on tag instance.
Step 8: Here you will be tagging your instance, this is how your instance will be identified.
Step 9: Now you will be configuring your security group.
Step 10: Check all your settings, once verified launch your instance!
Step 11: In the next step you will be prompted for a key pair, create one and download at a handy location.
Step 11: Now, we download two softwares putty and puttygen. Load the .pem file into puttygen and get the .ppk (private key) file.
Step 12: Open putty and load the .ppk file and public IPv4 of the instance.
Step 13: Congratulations! Ubuntu Server on EC2 at your service!