awslabs / awslabs/aws-codedeploy-plugin

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

Offen
#119 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
156
Forks
130
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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!

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die Deployment-Konfiguration des Jenkins-Plugins und die Art und Weise zu prüfen, wie es AWS CodeDeploy für blue-green-EC2-Deployments aufruft. Vergleiche die verfügbaren Plugin-Felder mit den Eingaben für Green-Instance-Tags in der CodeDeploy-Konsole; als abgeschlossen gilt die Aufgabe, wenn Benutzer die erforderlichen Green-Tags angeben können und Deployments die vorgesehenen Instances auswählen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, java
Bereich
cloud, devops
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.