Configure EC2 instance to setup the CI pipeline
To setup Docker, Jenkins and SonarQube (in next section) server, create a t2.large Ubuntu EC2 instance on AWS and use the below startup shell script to install the pre-requisites:
Create a Security Group and allow the below ports under Inbound rules
Type
Port
Used For
SSH
22
SSH to the instance
TCP
8010
Application port
TCP
8080
Jenkins port
TCP
9000
SonarQube port
After connecting to the EC2 instance verify whether JDK, Docker and Jenkins is properly installed using the following commands:
Last updated