Windows Machines
MDBCI supports Windows machines.
Supported function
- generate
- up
- destroy
Create SSH-key
You must to create the SSH-key (windows.pem
) in the MDBCI configuration folder (full path: ~/.config/mdbci/windows.pem
)
Example
-
Create template.
Windows node template:
{ "windows" : { "hostname": "windows", "box": "windows_gcp" } }
-
Use the
generate
command:mdbci generate --template windows-template.json windows-machine
-
Use the
up
command:mdbci up windows-machine
Now the machine is created and you can use it. You can connect to machine via ssh:
ssh -F windows-machine_ssh_config windows
-
After using machine, you can destroy it:
mdbci destroy windows-machine