https://us-east-1.console.aws.amazon.com/codesuite/codecommit/repositories/CI-CD/browse?region=us-east-1 my AWS Code Commit repo name is CI-CD
git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/CI-CD
buildspec.yml
https://s3.console.aws.amazon.com/s3/buckets/sam-artifact-demo-app?region=us-east-1&tab=objects
https://s3.console.aws.amazon.com/s3/object/sam-artifact-demo-app?region=us-east-1&prefix=CI-CD.zip
====================================================================================================
similarly, create a service role for CodeDeploy and give it full access on EC2, CodeDeploy & S3. Select use case as CodeDeploy
run CodeDeployAgent.sh on EC2 which would deploy the app (sam-website) from S3 (.zip built project) to EC2 Ubuntu t2-micro instance
/var/www/html /var/www/html/scripts
curl -L http://3.88.8.244
=========================================================