# VM Provisioning ```{objectives} - Create a MyAccessID account using your Feide credentials - Provision a GPU-enabled virtual machine on the NAIC Orchestrator - Download and secure your SSH key for VM access - Verify connectivity to the provisioned VM ``` ```{admonition} Who needs this step? :class: note This episode is for participants from Norwegian academic institutions who will use the NAIC self-service portal to provision a virtual machine. If you already have access to a machine with Python 3.8+ and a GPU (optional), you can skip directly to [Episode 03: Setting Up the Environment](03-setup-environment.md). If you do not have Feide access, contact **support@naic.no** to request a VM allocation. ``` ## MyAccessID To access [orchestrator.naic.no](https://orchestrator.naic.no), you need a MyAccessID linked to your institutional Feide account. ### Supported Institutions
```{warning} If your institution is not listed, it has not been registered with MyAccessID and your Feide account will not work with the NAIC Orchestrator. Contact your institution's IT department to request registration. Alternatively, contact **support@naic.no** for manual VM provisioning. ``` ### Registration If your institution is listed but you have not used MyAccessID before, register at: https://puhuri.neic.no/user_guides/myaccessid_registration/ Registration typically takes a few minutes. You will need your institutional Feide credentials. ## Create a VM Using NAIC Orchestrator Ensure your MyAccessID is active before proceeding. If you could not get it working, contact the workshop organizers for an alternative solution. ### Step 1: Log In Navigate to [https://orchestrator.naic.no](https://orchestrator.naic.no) and log in with your MyAccessID credentials.
### Step 2: Navigate to VM Creation
Click the "Create" button in the Orchestrator dashboard.
### Step 3: Name Your VM and Generate SSH Key
- Provide a simple name using only alphabetical characters (no spaces)
- Create a named SSH key and **download it immediately**
```{warning}
The Orchestrator does **not** store your SSH key. If you lose the downloaded key file, you will lose access to the VM and must provision a new one.
```
### Step 4: Configure Network Access
- The Orchestrator auto-detects your current IP address
- You can optionally add your university network IP range
- SSH access is restricted to the whitelisted IPs only
```{admonition} Working from multiple locations?
:class: tip
If you plan to access the VM from different networks (home, office, VPN), add all relevant IP addresses during provisioning. You can update the whitelist later through the Orchestrator dashboard.
```
### Step 5: Wait for Provisioning
The VM provisioning typically takes 2-5 minutes. The dashboard will show a progress indicator.
### Step 6: Review Connection Details
Once provisioning completes, the Orchestrator displays a customized help page with your VM's IP address and connection instructions.
### Step 7: Connect to the VM
```bash
# Set correct permissions on your SSH key
chmod 600 /path/to/your-key.pem
# Connect to the VM
ssh -i /path/to/your-key.pem ubuntu@