hi edureka,
i have above question which is related to the instance on which the deploymnt is to be done. I checked evrything including aws documentation, youtube vedios, web portals but not getting why it is giving. i have invested 4 days but evrything wasted. I have followed these commands on ec2
yum -y update
yum install ruby
yum install wget
yum install -y aws-cli
cd /home/ec2-user
aws configure
aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region us-east-1
chmod +x ./install
sed -i "s/sleep(.*)/sleep(10)/" install
./install auto
service codedeploy-agent status
Also i have created 2 roles for this
ec2instancerole >>> (policies- AmazonEC2RoleforAWSCodeDeploy, AmazonS3FullAccess )
codedeployservicerole >>>(policies - AWSCodeDeployRole)
and my application is resting in a git repo (https://github.com/rishigade/code_deploy_example)
Also i have configured the Deployment group, deployments as per th new console..
I would request you to kindly let me know where i am wrong, why am not able to deploy the application. you can email me on (gaderishikesh8@gmail.com).ur efforts will be really appreciated..thank you