Please
follow the below steps to create an EC2 instance. EC2 instance is
virtual server provided by AWS. We will be using this EC2 to install
Java, Jenkins, Tomcat, Maven. We will be using this as a CI server.
Steps:
7. Click create new security group, give name as MyJenkinsSecurityGroup, add custom rule for 8080, 8090 , allow 0.0.0.0/0 as source IP8. Click on Review and launchClick on Launch09. Choose the existing key pair if you have one, otherwise create new one, give some name as my2020EC2Key. Make sure you download the key. Please do not give any space or any character in naming the key.
Once instance is created. you can see it running..
How to connect to EC2 using Git bash in Windows or iTerm in Mac?
http://www.cidevops.com/2018/0
1. go to Downloaded location private key in your local machine.
2. Copy the url from Ec2 console by selecting the instance, click on actions, connect.Please use the below link to connect to EC2 from your local machine: