Sonar Cloud integration with AWS

Karthiksharma
Nov 24, 2021

Step 1: make a simple Github/AWS CodeCommit repository.

step 2: login to sonarcloud (https://sonarcloud.io/)

(After login create an organization and integerate with your github)

Step 3: Make A project in SonarCloud And Integerate with repo that you created

Step 4 : generate token in the sonar cloud

go to MyAccount > Security > Generate Tokens

Step 5 : make the buildspec.yaml file and commit the code in your repository.

step 6 : make amazon s3 bucket

  1. make static website hosting enabled (index.html)
  2. block all user access (off)
  3. write some polices to give public acces to that bucket

Step 7 : go to codepipeline and focus to enable all the permissions in the i am user related to whole process like (codpipelineaccess , codedeployacsess , amazons3bucketaccess , codecommitaccess)

then start making the pipeline

--

--

Karthiksharma

I’m a Mobile Developer enthusiast & a junior pursuing my Bachelors in Computer Science . I am passionate about Data Structure, Web Dev, Machine Learning.