At OVHcloud we understand how cumbersome managing a private cloud environment can be. One solution to help stay organized and keep the business running smoothly is to use multiple data centers within an HPC (Hosted Private Cloud) environment. By dividing your workloads into multiple data centers you will be able to split up access levels among users from a data center level or create differing alarms based on your use cases within those data centers. In this tutorial, we will be going over how to add a new data center within your HPC Environment using the OVH US API and how to update a users permission to the new data center.
Prerequisites
Topics
Adding a Data Center using the OVH US API
To get started, log in to the OVH US API. Once logged in, navigate to the /dedicatedCloud section, open it, and select the POST /dedicatedCloud/{serviceName}/datacenter option.
From here, we will need to enter our "serviceName" which is the name of our HPC environment, the commercial range name which will always be hosted_private_cloud and the name of our vRack, next to "vrackName". After entering in all of the information, click Execute to continue.
Now that we have added a new data center, let's go over how to update a user's rights for that data center.
Update Permissions using the OVH US Manager
To start, select your Hosted Private Cloud environment and click Users. Next, click the ellipses (...) next to the user's permissions which you wish to edit. Lastly, select See/Modify the rights for each DC.
This will bring up a new screen where you will be able to select the data center in which you will able to modify your user's access. On this new screen, click the ellipses (...) button next to the data center with which you wish to interact and select Modify rights.
A new window will appear called "Editing rights". In this window, you can edit the access levels to various components related to your data center. For more information about managing users and editing rights, please consult our Managing Users and Security with Hosted Private Cloud article.
Conclusion
Having multiple data centers is essential to having an organized infrastructure for various teams and workloads. Having read this article you should be able to add a new data center to your HPC environment using the OVH US API and modify a user's access level to components of that new data center.