CodeDeploy failed saying The overall deployment failed because too many individual instances failed deployment

+2 votes

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

Apr 12, 2020 in DevOps & Agile by Rishikesh
• 150 points
896 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In DevOps & Agile

+1 vote
3 answers

Kubernetes can't start due to too many open files in system

Seems like a kernel config issue. If ...READ MORE

answered Oct 25, 2018 in DevOps & Agile by Zaid
4,893 views
+5 votes
2 answers

How to program and get the Digital Ocean ID of the current Droplet from within the Droplet?

You can run curl http://169.254.169.254/metadata/v1/id within the ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by Atul
• 10,240 points
2,894 views
+5 votes
2 answers

Wildfly Swarm: Specific configuration of the Keycloak Backend environment

I worked on a swarm project which ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by shubham
• 7,340 points
1,996 views
+3 votes
2 answers
+3 votes
1 answer

Unable to find the TargetArguments path While configuring dot cover in VSTS

For your unable to find the TargetArguments ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by ajs3033
• 7,300 points
884 views
0 votes
1 answer

Web Service with WebSocket Implementation on AWS Blue-green deployment

Try connection draining. It will send all ...READ MORE

answered Apr 2, 2018 in DevOps & Agile by DareDev
• 6,890 points
847 views
+1 vote
2 answers

Should I commit Terraform State files to the git repository?

Its better not to commit it to ...READ MORE

answered Aug 3, 2018 in DevOps & Agile by Nilesh
• 7,050 points
3,140 views
+13 votes
2 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP