Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equivalent Scripts for Windows Instances? #44

Open
coultonluke opened this issue Jun 5, 2016 · 6 comments
Open

Equivalent Scripts for Windows Instances? #44

coultonluke opened this issue Jun 5, 2016 · 6 comments

Comments

@coultonluke
Copy link

Hello,

The documentation doesn't indicate whether these scripts are exclusively for Linux instances, or whether they can be used on Windows.

I notice that the appspec file contains 'linux' and I'm not sure if the register/deregister scripts are suitable for execution on Windows.

Please can you advise on this and whether there is an equivalent way to register/deregister instances from an ELB using CodeDeploy and Windows instances.

Thank you,

Luke

@coultonluke coultonluke changed the title Equivalent Script for Windows Instances? Equivalent Scripts for Windows Instances? Jun 5, 2016
@coultonluke coultonluke reopened this Jun 5, 2016
@coultonluke
Copy link
Author

coultonluke commented Jun 5, 2016

I just saw there is already an answer for this on a previous issue. The scripts provided are not for Windows and there is not a Windows equivalent.

I do have one question though, why aren't there scripts for this for Windows?

@amartyag
Copy link

Hi,
The ELB scripts can be converted to powershell scripts to work with Windows. We have taken feature request to come up with some equivalent windows scripts.

Thanks

@coultonluke
Copy link
Author

I have started to create some equivalent scripts written in Powershell. It would be very useful if the documentation on the AWS website indicated that the scripts provided are bash only and not intended for Windows.

@piotrwest
Copy link

Although it shouldn't be the final solution, I've successfully managed to use Linux scripts on Windows with Cygwin. If you are interested, see it here: http://stackoverflow.com/questions/33538843/amazon-codedeploy-elastic-load-balancer-windows-support/38345440#38345440

@agutierrezl
Copy link

Is there any news here??. I don't like too much the option of Cygwin in production environments

@brianlund
Copy link

brianlund commented Dec 21, 2016

I implemented some of the functionality in Powershell, find it here: https://github.com/brianlund/codedeploy-elb-powershell

It's a bit limited as I didn't need e.g. Application Load balancer support, but it works (I currently use something like it in production) and is at least something to build on.

Update: I needed ALB so that has been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants