williamparry / cloudrig Goto Github PK
View Code? Open in Web Editor NEWStream your applications with Parsec and AWS on the cheap.
License: MIT License
Stream your applications with Parsec and AWS on the cheap.
License: MIT License
You can now start and stop spot instances:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
On first login, run powershell to configure setup.
This might be tied to the 1.2 release, but the computers no longer see each other.
To replicate:
For scheduled shutdown
For GUI. Currently erroring out about the ../lib folder
doesnt work on pc
what is this
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Looks like UDP is treated badly.
Ability to extend an EBS volume (and have it update in the instance)
The $25 bounty on this issue has been claimed at Bountysource.
Using a Terminal UI.
I'd build it as a separate .js file that can be run at the same time as the main cloudRIG file.
I've spent a long time on this and it's not working yet. There's OpenSSL set up, so information such as creds and codes can be sent to cloudRIG.
The problem is that AWS Run Command runs as SYSTEM and when I try and execute as another user (administrator) it's denied:
$username = "administrator"
$password = "(pwd)"
$startWithElevatedRights = "C:\Windows\notepad.exe"
$credentials = New-Object System.Management.Automation.PSCredential -ArgumentList @($username,(ConvertTo-SecureString -String $password -AsPlainText -Force))
$ps = Start-Process -PassThru -FilePath powershell -Credential $credentials -ArgumentList '-noprofile -command &{Start-Process ', $startWithElevatedRights, ' -Wait -verb runas}'
$ps.WaitForExit()
Setting a scheduled task doesn't seem to work either:
$action = New-ScheduledTaskAction -Execute "Powershell.exe" -Argument @'
-Command "Stop-Process -Name "Steam" -Force -ErrorAction SilentlyContinue ; & 'C:\Program Files (x86)\Steam\Steam.exe'"
'@
Register-ScheduledTask -Action $action -Description "description" -Force -TaskName "taskname" -TaskPath "\"
As far as I can tell the steps are:
$RegPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
$RegROPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
Set-ItemProperty $RegPath "AutoAdminLogon" -Value "1" -type String
Set-ItemProperty $RegPath "DefaultUsername" -Value "administrator" -type String
Set-ItemProperty $RegPath "DefaultPassword" -Value "(pwd)" -type String
Set-ItemProperty $RegPath "AutoLogonCount" -Value "1" -type DWord
Set-ItemProperty $RegROPath "(Default)" -Value "" -type String
$timeout = new-timespan -Minutes 1
$sw = [diagnostics.stopwatch]::StartNew()
start-sleep -seconds 10
while ($sw.elapsed -lt $timeout) {
$steamGuardWindow = Get-Process | Where-Object { $_.mainWindowTitle -match "Steam Guard*" } | Select-Object -First 1
$steamMainWindow = Get-Process | Where-Object { $_.mainWindowTitle -eq "Steam" -or $_.mainWindowTitle -match "Steam - News*" } | Select-Object -First 1
if($steamGuardWindow.Count -gt 0) {
Write-Host "SteamGuard"
return
} elseif($steamMainWindow.Count -gt 0) {
Write-Host "Main"
return;
} else {
Write-Host "SomethingElse"
return;
}
start-sleep -seconds 5
}
Add-Type -AssemblyName Microsoft.VisualBasic
Add-Type -AssemblyName System.Windows.Forms
[Microsoft.VisualBasic.Interaction]::AppActivate(“Steam”)
Sleep 1
[System.Windows.Forms.SendKeys]::SendWait(“{ENTER}”)
Sleep 2
[System.Windows.Forms.SendKeys]::SendWait(“1234”)
Sleep 1
[System.Windows.Forms.SendKeys]::SendWait(“{ENTER}”)`
instanceTerminated and instanceOk are returning early, so I'm relying on timeouts, which sucks.
Make sure it uses the autosave that was scheduled.
Known issue with Steam client being unable to rebind to port 27036 (streaming port) after relaunch, which means a user would have to restart their computer each time.
As a dropdown list rather than needing to type it in.
If you make a cloudRIG and then stop and start it, it uses the previous settings and goes to make another one.
Give the option to cancel the scheduled shutdown: https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts
Did you help close this issue? Go claim the $50 bounty on Bountysource.
For when your IP address changes:
https://github.com/cloudRIG/cloudrig/blob/master/lib/services/instance.js#L899
Confirm size and price.
So we can get rid of the AMI snapshotting and use the detachable drive.
Change the initial SSM command to download the workflow EXE and then execute:
https://redmondmag.com/articles/2017/01/27/convert-a-powershell-script-into-an-exe-file.aspx
Set a scheduled event to shut down the instance after the current hour to prevent rolling onto the next one and incurring cost.
Current method doesn't work.
Implement finding stock Windows 2016 image: http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/finding-an-ami.html#finding-an-ami-aws-cli
Investigate, perhaps quick fix with command to close and open Steam.
Add cloudRIG styling to https://github.com/CloudRig/mstsc.js
Continue investigation into G3 instance and switching the card mode to graphics.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The Admin CMD Watcher appears above the wizard.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
On initialise the log is not scrolling to the bottom.
Probably to do with the parent element being hidden during startup.
Line 214 in renderer.js
Remove the waits to allow for slower connections.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
When booting up, if there are no credentials, offer to copy paste them in.
There is a $15 open bounty on this issue. Add to the bounty at Bountysource.
The parsec branch has code to create and attach an EBS volume for games, rather than specifying it as a store during the spot fleet request. This is because I noticed it took a very long time to make a copy of the root EBS volume as a 256GB drive. However, that could have been just AWS being super slow at the time...
Some sort of build testing would be good.
Aggregate roles
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.