forked from BecomeDevops/aws
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsteps-to-create-ec2-instance
44 lines (29 loc) · 1.28 KB
/
steps-to-create-ec2-instance
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Steps to launch an ec2 Instance
Go to aws Dashboard and select ec2 in the search bar
You'll be able to see Luanch instance
select launc instance
1) Choose your ami ---> OS
2) t2.micro (free trial)
3) configurations----- which data center
4) we need attach a drive (ebs volumes)
5) Tags - Naming conventions (optional)
6) security groups
7) Create a key pair and download
8) Launch instance
-------------------------------------------------------
To connect to an ec2 instance, you need
1)Ec2 instance public ip
2) pem/ppk key of the instance that was used to create ec2 instance
If you're using linux os, you can directly use the pem key to connect to ec2 instance
If you're using windos os, pem key shoudl be converted to ppk
.pem ----> .ppk (windows os)
To connect to an ec2 instance from windows you need a putty
putty is used to connect to the servers remotely, you need to download putty (putty.org)
Downloading putty will download utilities shuch as putty, puttygen, peagunt
---------------------------------------------------
converting .pem to ppk (using puttygen)
1) Launch puttygen
2) Load the pem key
3) save it as a private key
4) select yes option as we procceed without saving paraphrase
5) save it with .ppk extension