Page MenuHomePhabricator

Perform zero configuration allocation for Windows EC2 instances
AbandonedPublic

Authored by hach-que on Aug 11 2014, 3:12 PM.
Referenced Files
F14836530: D10214.diff
Fri, Jan 31, 2:58 AM
Unknown Object (File)
Thu, Jan 23, 3:17 PM
Unknown Object (File)
Thu, Jan 23, 3:17 PM
Unknown Object (File)
Thu, Jan 23, 3:17 PM
Unknown Object (File)
Thu, Jan 23, 3:17 PM
Unknown Object (File)
Thu, Jan 23, 3:17 PM
Unknown Object (File)
Sun, Jan 19, 12:39 PM
Unknown Object (File)
Dec 2 2024, 1:45 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

Depends on D10204. This updates the EC2 allocator to automatically set up and configure SSH on Windows EC2 instances.

It'd be nice in the future to have a "Cygwin mirror" allocator so we don't need to depend on mirrors.kernel.org, but that brings a bunch of questions about how we reasonably serve the mirror to the agents.

Test Plan

Configured an EC2 allocator to lease against a default Amazon Windows AMI with the platform set to "windows". Saw Drydock allocate the lease successfully, with SSH connections working successfully.

Diff Detail

Repository
rP Phabricator
Branch
windows-zero-conf
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 2146
Build 2150: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to [WIP] Perform zero configuration allocation for Windows EC2 instances.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
src/applications/drydock/blueprint/windows/WindowsZeroConf.php
40–53

This strategy doesn't work because the installer runs some post-install commands to set everything up and make shared libraries work under Cygwin properly. Without the installer's post-processing, SSH crashes after a user attempts to login.

Recommending http://mirror.kernel.org/ as the Cygwin mirror as they appear to have extremely high bandwidth (downloads are almost instant on EC2 instances) and are likely to be recieving a lot of traffic anyway.

hach-que edited edge metadata.

Implement working zero-conf Windows EC2 instance allocation

hach-que retitled this revision from [WIP] Perform zero configuration allocation for Windows EC2 instances to Perform zero configuration allocation for Windows EC2 instances.Aug 18 2014, 9:23 AM
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a project: Harbormaster.
hach-que added a reviewer: epriestley.
hach-que added inline comments.
src/applications/drydock/blueprint/DrydockAmazonEC2HostBlueprintImplementation.php
219

Windows instance can take longer to login, so I had to increase this limit.

  • Allow skip of SSH setup on Windows machines

Merging this into the EC2 diff.