This is a demo portal for Veeam Cloud Connect provisioning. This project uses the Veeam Service Provider Console API to accomplish this.
- Veeam Service Provider Console v5/v6
- Veeam Cloud Connect v11
- environment managed by VSPC
- Web server w/PHP support
- Ubuntu 20.04 w/Apache was used in my testing. Other OSes and web servers should work but are untested.
- Composer
- Manages project dependencies
Below instructions assume the requirements listed above have already been installed & configured.
For me, this was: /var/www/html/
This can vary depending on your OS and web server used.
git clone https://github.com/VeeamHub/veeam-cloud-connect.git .
This command clones the repository to the current folder.
composer install
This command initializes composer for the project and installs any project dependencies.
Point your web browser to index.php
of your web server and you should see something like this:
There are a few variables that need be changed before these sample scripts will work.
This script contains all variables defined in this project. I highly recommend you deny public access to the config
folder.
At a bare minimum, you need to configure the below values in the config.php
for this project to work in your environment:
# Veeam Service Provider Console RESTful API connection
'vspc_rest_url' => 'https://vspc.contoso.local:1280/api/v3/',
'vspc_rest_user' => 'contoso\jdoe',
'vspc_rest_pass' => 'password',
# VCC values (as seen in VSPC)
'vcc_server' => 'vcc.contoso.local',
'vcc_repository' => 'Default Backup Repository',
# VCC-R values
'hardware_plan' => 'Hardware plan 1',
This script contains the functionality for interacting with the Veeam Service Provider Console RESTful API.
This script handles the request from the web form. It has not received too much attention at this point, so it is highly recommended to add in additional sanity checks and form verification before sending the data off to the veeam.class.php
for account provisioning.
We welcome contributions from the community! We encourage you to create issues for Bugs & Feature Requests and submit Pull Requests for improving our documentation. For more detailed information, refer to our Contributing Guide.
If you have any questions or something is unclear, please don't hesitate to create an issue and let us know!