Saturday, 15 August 2020

How to create EC2 instance and connect


 

Steps:


1: Go to AWS console. click on All services, Click on Compute -->  Click on EC2


2. Click on Launch instance. Choose an Amazon machine image (AMI), click next

3. select
Ubuntu Server 16.04 LTS (HVM), SSD Volume Type - ami-0552e3455b9bc8d50
click next

4. choose an instance type as t2.small, 2GB memory. click next

5. Leave values to default in step 3 and step 4. click next

6. enter tag name in step 5. Click to add a Name tag. it can be something like 
JenkinsEC2. click next:configure Security Group


7. Click create new security group, give name as MyJenkinsSecurityGroup, add custom rule for 8080, 8090 , allow 0.0.0.0/0 as source IP

8. Click on Review and launch

9. Click on Launch
Click on Launch

10. Choose the existing key pair if you have one, otherwise create new one, give some name as mySep18EC2Key. Make sure you download the key. Please do not give any space or any character in naming the key.



10. Click on launch instance, Scroll down and click on view instances.
Once instance is created. you can see it running..


No comments:

Post a Comment