How To Start Using Cyber@UC's Incus Server
Overview
Our implementation of Incus leverages GitLab integrated with Terraform to manage all server resources efficiently. This setup automates infrastructure provisioning through a pipeline that automatically deploys Terraform code committed to our GitLab Incus project repository.
Getting Started
To begin working with our Incus implementation, ensure you have access to the following:
-
VPN Access: Necessary for connecting securely to internal resources.
-
Certificate: Required to authenticate and securely access resources through the web interface. This is only required if you want a GUI view of all the resources that are currently running. (Certificate location: To be determined.)
Web Console
The Incus web console allows easy management and monitoring of server resources. Access it at:
incus.cyberatuc.org OR 192.168.2.23:8443
Important: Ensure you are connected to the VPN to access this link.
Steps to Access the Web Console
-
Connect to VPN
- Ensure your VPN client is running and connected.
-
Navigate to Incus Web Console
- Visit incus.cyberatuc.org OR 192.168.2.23:8443.
-
Authenticate with Certificate
- Follow the certificate installation guide here.
- This is only required once during your initial verification to the console.
Terraform Management via GitLab
Overview
Infrastructure changes are managed through Terraform code, version-controlled using GitLab. Committing Terraform files (.tf) to the Incus GitLab project triggers an automated pipeline.
Example Workflow
- Clone the repository:
- Modify Terraform Configuration:
# Example Terraform configuration
resource "incus_instance" "example" {
name = "example-instance"
image = "ubuntu:22.04"
type = "virtual-machine"
}
- Commit and Push Changes:
-
Pipeline Execution:
-
GitLab pipeline is automatically triggered.
-
Monitor pipeline status in GitLab under CI/CD > Pipelines.
Monitoring and Troubleshooting
-
Pipeline logs are available directly in GitLab under the pipeline view.
-
Common Terraform errors and solutions can be found in our [troubleshooting documentation (link TBD)].
Resources and Further Reading
Additional Information Needed
-
VPN Client Configuration Instructions: Cyber@UC VPN Configuration
-
Certificate Setup and Installation: Certificate Installation
-
GitLab Repository URL: Cyber@UC Incus Project
-
Contact Information for Support: Cyber@UC Site