-
Notifications
You must be signed in to change notification settings - Fork 5
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
Windows Instances Guide #18
Open
insanefire10
wants to merge
5
commits into
HackUCF:main
Choose a base branch
from
insanefire10:win_guide
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
f6a9eee
Windows Instances Guide
insanefire10 a772d32
update mkdocs yml
jontyms 5c3623e
swapped Method1 and Method2 for better clarity
insanefire10 ae03949
Merge branch 'win_guide' of https://github.com/insanefire10/PCV2-Wiki…
insanefire10 7a44516
typo fix
insanefire10 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# How to access Windows Instances on Openstack # | ||
|
||
There are 2 main ways to get access and control a Windows Instance on Openstack. This tutorial will cover both methods. | ||
|
||
## Prerequesites ## | ||
|
||
* A newly created Windows Server Instance on Openstack | ||
* Access to Infra via OpenVPN OR On the Cyberlab Secure Network | ||
|
||
|
||
|
||
# Method 1: Using the Openstack Console (Must be used for initial Windows Setup) | ||
|
||
Openstack has a built-in console viewer for Instances which allows you to get a true console view of the Instance allowing for easier debugging of the Instance. You will have to use this method to initially setup Windows Server. | ||
|
||
## Steps: | ||
1. On the left plane, choose `Compute` and then `Instances` | ||
![Instance page](../img/win-guide/instancespage.png) | ||
2. Click on the Instance to view | ||
![Instance page](../img/win-guide/instancespage2.png) | ||
3. Click on the `Console` tab | ||
![Instance page](../img/win-guide/consoletab.png) | ||
4. You now have a console view of the Instance! From here you can add an Administrator password to Windows and use the Instance! | ||
![Instance page](../img/win-guide/consoleview.png) | ||
|
||
# Method 2: Using Remote Desktop Connection | ||
|
||
Remote Desktop Connection (Also known as RDP somtimes) is a program in Microsoft Windows that allows you to access another Windows computer over a network. Using this method has added benefits such as easy folder sharing, viewing the Instance in full-screen mode, clipboard sharing and more! | ||
|
||
By default, Openstack blocks all inbound connections to Instances and therefore we need to make a security group to allow inbound RDP access | ||
|
||
Important Note: You cannot directly use this method on the very first time you startup your Instance as Windows requires you to set an Administrator password upon Instance creation. Follow Method 1 to gain initial access to the machine and add a password. | ||
|
||
## Step 1: Creating a security group | ||
1. Connect to Infra via OpenVPN or `Cyberlab Secure` | ||
2. Go to `horizon.hackucf.cloud` and log into your account | ||
3. Click on `Network` on the left-hand pane and then `Security Groups` | ||
![Instance page](../img/win-guide/network_secgroup.png) | ||
4. On the right-hand side, click on `Create Security Group` and give it a name and description, then press `Create Security Group` | ||
![Instance page](../img/win-guide/creategroup.png) | ||
![Instance page](../img/win-guide/creategroup2.png) | ||
5. On the Manage Security Group Rules screen, click `Add rule` | ||
![Instance page](../img/win-guide/addrule.png) | ||
6. Choose the `RDP` Rule in the Rule dropdown, leave all other options as default and click `Add` | ||
![Instance page](../img/win-guide/addrule2.png) | ||
|
||
This new group can be applied to any future Windows Instances to quickly allow RDP access | ||
|
||
## Step 2: Adding the security group to your Instance | ||
1. On the left plane, choose `Compute` and then `Instances` | ||
![Instance page](../img/win-guide/instancespage.png) | ||
|
||
|
||
2. Click on the Instance to add the security group to | ||
![Instance page](../img/win-guide/instancespage2.png) | ||
|
||
|
||
3. Click the dropdown arrow on the right and select `Edit Security Groups` | ||
![Instance page](../img/win-guide/editsecgroup.png) | ||
|
||
|
||
4. Select the appropriate security group and select `Save` | ||
|
||
![Instance page](../img/win-guide/choosesecgroup.png) | ||
|
||
|
||
RDP will now be allowed through the Openstack firewall for the instance! | ||
|
||
## Step 3: Connecting to the instance | ||
1. Open your remote desktop client | ||
* Windows Clients: Open Start Menu > type in "Remote Desktop Connection" | ||
* MacOS Clients: [Windows App](https://apps.apple.com/us/app/microsoft-remote-desktop/id1295203466?mt=12) | ||
* Linux Clients: [Remmina](https://remmina.org/) | ||
2. Enter the IP address of your Instance and press `Connect` (You can find this in Compute > Instances) | ||
|
||
![Instance page](../img/win-guide/rdp.png) | ||
|
||
3. Enter the credentials for the Instance and select OK | ||
|
||
![Instance page](../img/win-guide/rdp2.png) | ||
|
||
4. You will be successfully connected to the Instance! | ||
|
||
![Instance page](../img/win-guide/rdp_final.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guide should cover how to get credentials before this step