Lecture 01 – CREATE EC2 SERVER IN AWS CONSOLE

CREATE EC2 SERVER IN AWS CONSOLE

hands-on_image

What Is An EC2?

An Amazon EC2 Instance Is a Virtual Server In Amazon’s Elastic Compute Cloud (EC2) for Running Applications On The Amazon Web Services (AWS) Infrastructure. Amazon Provides Various Types Of Instances with Different Configurations of CPU, Memory, Storage and Networking Resources to Suit User Needs.

Steps To Create EC2 Instance in AWS Console

Step 01: Go To AWS Console –> Click On All Services –> Click On EC2 –> Click on Launch Instance.

Step 02: Enter your Server Name and Choose your OS Image  via Quick Start or you can browse more (AMI)

Step 03: Choose from the drop-down any Free tier eligible from the LTS (HVM), SSD Volume Type – Ami-0b9064170e32bde34 (64-Bit X86) / Ami-026141f3d5c6d2d0c (64-Bit Arm)

Step 04: Choose an Instance type as t2.small, 2GB memory –> Choose the existing Key Pair if you have one, otherwise create new key, give some name as MyDevOps-Key and download it on your computer.

Scroll down under Network settings –> Click on Edit –> leave VPC – Subnet – Auto-assign public IP as Default

Step 05: Click create new security group, give name as MyMain-SG and add description if necessary. OR you can choose an existing one if already have one created.  

Step 06: Under Inbound security group rule, Leave ssh and Source type as default. 

Click Add security group rule –> Choose type as All Traffic –> Source type as Custom –> CIDR as 0.0.0.0/0 

Step 07: You can add or leave the Root volume as default –> Click on Launch Instance.

Click on view all instances.

Once Instance is created. You can see it running on your EC2 Dashboard..