This Project is to Automate Provisioning of Jenkins, Nexus & SonarQube
Note : Create all the three servers in same availabilty zone under a VPC, resulting in creating a network so that the private IP can used for the system communication.
- AMI - Ubuntu 20.04 LTS
- Instance type - t2 small - 1 vCPU - 2 GB Memory
- Security Group,
- Allow port 22, source: My IP - to ssh into jenkins server from My IP
- Allow port 8080, source: My IP - to access jenkins on web from My IP
- Allow port 8080, source: SonarQube-Security-Group - for sonarqube to connect with jenkins for quality check
- AMI - CentOS7 LTS
- Instance type - t2 medium - 2 vCPU - 4 GB Memory
- Security Group,
- Allow port 22, source: My IP - to ssh into nexus server from My IP
- Allow port 8081, source: Jenkins-Security-Group - to access nexus on web from My IP and also for jenkins to access it on command line
- AMI - Ubuntu 20.04 LTS
- Instance type - t2 medium - 2 vCPU - 4 GB Memory
- Security Group,
- Allow port 22, source: My IP - to ssh into sonarqube server from My IP
- Allow port 9000, source: My IP - to access sonarqube on web from My IP
- Allow port 9000, source: Jenkins-Security-Group - for jenkins to access sonarqube
- Allow port 80, source: My IP - to access sonarqube on web from My IP (this is through ngnix reverse proxy)