Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

The overall deployment failed because too many individual instances failed deployment, too few healt

Suraj Prakash
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2023

Hi Friends! I am implementing pipeline . My application is hosted on aws EC2 instance. The Application is build in C# .Net .

  • I have created the Pipeline in  Bitbucket in my Repository.
  • Also Created the appsec.yml in it.
  • Declared variable in Pipeline.Yml
  • Created the Code deploy configuration in aws.
  • Also installed code deploy agent on ec2 instance.

I am getting the following below error. Please help.

aws edited.pngBitbucket error.png

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2023

Hi @Suraj Prakash and welcome to the community!

Are you using the pipe atlassian/aws-code-deploy in your bitbucket-pipelines.yml
file in order to deploy?

If so, I would suggest adding the following variable in the pipe's definition in your bitbucket-pipelines.yml file (reference: https://bitbucket.org/atlassian/aws-code-deploy/src/master/):

DEBUG: 'true'

and observe the output of the pipe. This is to confirm if the pipe is indeed failing with the error

The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.

If this is the case, please check the following documentation from AWS (search for this specific message on this page):

There are resources there that may help you resolve the issue.

If you still cannot figure it out, I would suggest reaching out to AWS support team, as the issue seems to be related to your AWS EC2 instance rather than Bitbucket.

If the output of pipe shows a different error when you add DEBUG: 'true', please feel free to post it here and we will look into it.

Kind regards,
Theodora

Suraj Prakash
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 7, 2023

Hi Theodora,

Thank you so much  for quick reponse.  Let me check!!

 

Thanks & Regards,

Suraj Prakash

Like Sabine Mayer likes this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2023

You are very welcome Suraj! Please feel free to reach out if you need anything else!

Regards,
Theodora

Like Sabine Mayer likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events