How to add/select Green tags for EC2 instances in CodeDeploy plugin?

Open
#119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, java
Domain
cloud, devops

Research direction

Start by reviewing the Jenkins plugin's deployment configuration and how it invokes AWS CodeDeploy for blue-green EC2 deployments. Compare the available plugin fields with the CodeDeploy console's green-instance tag inputs; done means users can provide the required green tags and deployments select the intended instances.

Written by the indexing model from the issue text.

Description

Hi,

We are trying to use the plugin to trigger CodeDeploy blue-green deployment for EC2 instances.
The blue instance tags are added in the Deployment group configuration.
To select the green instances we have to add the green tags during deployment as shown in the console screenshot:
Green tagged Instances

But this option isn't available in the Jenkins plugin:
Jenkins Plugin1

As a result, all the deployments are failing due to no available Green instances:
Code Deploy Failure

Is there a way to add the Green tags for EC2 instances, we cannot use ASG hence we have to stick with EC2 instances but the plugin doesn't seem to have the option to add these green tags.

Thanks!

Dominant language
Java
Stars
156
Forks
130
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from awslabs/aws-codedeploy-plugin

All issues in awslabs/aws-codedeploy-plugin

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.