This guide provides step-by-step instructions for deploying an environment on CCSO OpenStack using a Heat template. Follow these instructions carefully to ensure a successful deployment.
-
Access to Horizon OpenStack Dashboard:
- Navigate to the Horizon OpenStack URL provided by your Tech Director.
- Log in using your credentials. If you do not have credentials, contact the Tech Director.
-
Project Selection:
- After logging in, ensure you have selected the correct project from the project dropdown menu.
- Navigate to Orchestration > Stacks in the Horizon dashboard.
- Click Launch Stack.
- In the Template Source dropdown, select Direct Input.
- Copy the contents of the Heat template file (
docs/heat/templates/main_template.yaml
) from this repository and paste it into the template input field. - Click Next.
-
Stack Name:
- Provide a unique name for your stack.
-
Images:
- For each image parameter (e.g., CentOS 7 Image, Ubuntu 20.04 Image), select the corresponding image from the dropdown menu.
-
SSH Key:
- Select a predefined SSH key from the dropdown. If no key is available, contact the Technical Director to create one.
-
Master Node Volume Size:
- Specify the volume size for the master node. The default is 40 GB.
-
Click Launch to start the stack deployment.
- Navigate to Compute > Instances to monitor the status of the virtual machines.
- Wait until all instances are in the Active state. This indicates that the deployment is complete.
To access the master node via SSH, you need to assign a public (floating) IP address:
- Navigate to Network > Floating IPs.
- Click Allocate IP to Project.
- In the popup window, click Allocate.
- Once the floating IP is allocated, click Associate.
- In the Port to be Associated dropdown, select the port corresponding to the master node.
- Click Associate to complete the process.
-
Connect to the CCSO Cloudflare WARP VPN.
-
Use the SSH key specified during the stack setup to connect to the master node:
ssh -i <path-to-ssh-key> ubuntu@<floating-ip>
-
You should now have access to the master node.
You have successfully deployed an environment on CCSO OpenStack using a Heat template. If you encounter any issues during the process, contact the Technical Director for assistance.
- Stack Deployment Errors: Check the stack events in Orchestration > Stacks for detailed error messages.
- SSH Connection Issues: Ensure the SSH key is correct and the floating IP is properly associated with the master node.
- Instance Not Active: Verify that the images and resources specified in the Heat template are available in your project.
For further assistance, refer to the OpenStack documentation or contact the Tech Director.