How to create Ec2 machine in AWS
Table of contents
EC2 instance
Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster.
Create Instance in aws
Ex 1: Launch windows instnace :-
Step 1: Login to AWS Step 2: Choose region which is near ? ( Mumbai ) Step 3: Services -- EC2 ( If any keypairs -- delete ) ( If any security groups - delete, except default )
Services -- EC2 --- Launch Instance
Stage 1 -- Select AMI ( Note: Select free tier eligible )
Stage 2 -- t2.micro
Stage 3 -- No of instances -- 1
Stage 4 -- Storage - 30GB
Stage 5 -- Add Tag -- Giving name to the machine
Add Name Tag
Value - MyWindows
Stage 6 -- Security group -- ( It deals with ports )
We have 0 to 65535 ports
Every port is dedicated to special purpose
RDP -- 3389
SSH -- 22
HTTP -- 80
HTTPS - 443
For windows machine , we need to open RDP port ( Remote Desktop Protocol )
He by default , we have RDP
Stage 7 Just observe the warnings, Just verify the options, Launch
Create a new keypair-- download key pair -- launch instance
We get the instance ID i-0dddc6c37c9dfb460 View Instances
We use an application called Remote Desktop Connection
Connect to instance Get password -- upload pem file -- Decrypt
Open Remote Desktop
Computer - Provide DNS
User name -- Administrator
password -- *
Community and Social Footprints :
Subscribe to my newsletter
Read articles from ALa Al-Din Al-Sharabi directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by