OVH Public Cloud (beta)

  • Updated

You will require your OVHcloud account access to create a Filespace via the manager portal

Filespaces require S3 compatible Access and Secret key API credentials along with a Container, your S3 Endpoint and Region to initialize. 

OVHcloud object storage is provided by OpenStack. You will need to generate OpenStack Swift S3 credentials within the object storage region you wish to host your Filespace data. 

In order to generate S3 credentials you will require a Compute instance within OVHcloud. Follow the step by step instructions provided in this article for guidance.

Documentation and assistance with OVHcloud is available at https://docs.ovh.com/ 

1. Begin within your OVHcloud private cloud dashboard

OVH1.png

2. Select Users & Roles and Create User or Add user

OVH2.png

3. Provide user description

OVH3.png

4. Specify Compute Operator and ObjectStore operator user roles

OVH4.png

6. Once your user has been created you will be provided your Username and Password 

OVH5.png

7. Please keep these Username and Password in a safe place. we will require the Password in future steps. 

user: GAhfDKFm3wqp 
password: RNhzQEPSU6ttGRYTjAKvWYMhv3QbWgF9

8. Download your OpenStack's RC file from the more menu of your user

OVH6.png

 

9. Select Region for your OpenStack configuration RC file. Specify the Region you will be creating your FilespaceOVH7.png10. Return to your Public Cloud dashboard and select Compute and Create an instance. we will require this instance to generate your OpenStack Swift S3 compatible object storage credentialsOVH8.png11. Select a General Purpose instance type and NextOVH9.png

B2-7 will be sufficient

12. Select a Region for your instance and Next

OVH10.png

13. Choose an instance Image and Next

OVH11.png

Ubuntu 16.04 will be appropriate for this exercise.

14. Generate a SSH key or select an existing and Next

OVH12.png

PuTTY Key Generator provides a simple interface to easily generate and Save your Private Key

15. Assign your SSH Key and NextOVH13.png

16. Configure your instance and NextOVH14.png

17. And finally choose your Billing period and Create an instance

OVH15.png

18. Allow sufficient time for your instance creation before proceeding to the next stepOVH16.png

19. Launch a SSH session into your instance. Provide your user and IP address along with your SSH Key file generated or specified during instance creationOVH17.png

we will use PuTTY to connect. our username is ubuntu we also need to provide our @Public IP for our session properties

20. Once you've successfully connected we can proceed to the next several steps of:

  1. uploading our OpenStack configuration RC file
  2. upgrading our operating system
  3. installing OpenStack CLI 
  4. and generating our S3 compatible credentials

Further information is available https://docs.ovh.com/gb/en/public-cloud/getting_started_with_the_swift_S3_API/


OVH18.png

21. Upload openrc.sh and run it with the source command to read and execute the content of the file providing your OpenStack user Password you set aside in Step 7

source openrc.sh

OVH19.png

Uploading your openrc.sh is simple you can leverage vi or nano text editors to paste contents into equivalent file within instance session - make sure file formatting remains intact. 

22. Install operating system updates

sudo apt-get update

OVH20.png

23. Install OpenStack command-line interface tools and Python

sudo apt-get install python-openstackclient python-novaclient -y

OVH21.png

24. Generate OpenStack Swift S3 compatible credentials

openstack ec2 credentials create

OVH22.png

25. Your S3 credentials have been successfully generated. These come in the form of Access and Secret keys

+------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| Field      | Value                                                                                                                                        |
+------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| access     | 001b2233d7ab4052af1d08f089ec7a54                                                                                                             |
| links      | {u'self': u'https://auth.cloud.ovh.net:35357/v3/users/0931022c579740478cc4c0464ab2c422/credentials/OS-EC2/001b2233d7ab4052af1d08f089ec7a54'} |
| project_id | ad732a2520f045ebb049aab9c2ed36ca                                                                                                             |
| secret     | 70008f65c63d4f029ee8ed7d95c17de4                                                                                                             |
| trust_id   | None                                                                                                                                         |
| user_id    | 0931022c579740478cc4c0464ab2c422                                                                                                             |
+------------+----------------------------------------------------------------------------------------------------------------------------------------------+
Also keep these credentials in a safe place. we will require these to initialize our Filespace

26. Return to your OVHcloud Private Cloud dashboard. Select StorageObject Storage and Create and object container

OVH23.png

27. Select the Region for your container and Next.

It is important to select the same Region as your Compute instance which generated your S3 credentials. Your Container will be the location your Filespace data is hosted. 

OVH24.png

28.  Select Private container type and Next

OVH25.png

29. Specify your Container name and Create the containerOVH26.png

30. Once your Container has been successfully created you are ready to create your Filespace. OVH27.png

31. Create a new Filespace and choose LucidLink Custom as your pricing modelOVH28.png

32. Provide a Filespace name and NextOVH29.png

33. Provide your OVHcloud endpoint URL in the appropriate https://storage.<region>.cloud.ovh.net syntax and Region alias. Be sure to check the Configure advanced Settings option to provide your Container and NextOVH30.png

OVHcloud object storage regions syntax:

Germany, Frankfurt - storage.de.cloud.ovh.net

France, Gravelines - storage.gra.cloud.ovh.net

France, Strasbourg - storage.sbg.cloud.ovh.net

United Kingdom, London - storage.uk.cloud.ovh.net

Poland, Warsaw - storage.waw.cloud.ovh.net

Canada, Beauharnois - storage.bhs.cloud.ovh.net

34. Specify your Container in the Bucket name field and NextOVH31.png

35. Review and confirm your Filespace settings are correct and select CreateOVH32.png

36. Your Filespace is being setup. It will take up to a minute at which point your will be able to proceed to initialization

OVH33.png

37. Initialize your Filespace and Download the LucidLink Client to complete the process from the client-side
OVH34.png

38. Provide your Access and Secret keys put aside in Step 25

OVH35.png

39. Provide a Filespace Root password. Confirm your Root password and please keep it in a safe place. Only you know it as initialization is conducted on the client-side. LucidLink does not know your Filespace user credentials. 

OVH36.png

40. Well done! You have successfully created your Filespace on OVHcloud object storage. 

OVH37.png

41. Open your Filespace folder and write a test file or upload some data. 

OVH38.png

42. Confirm your OVHcloud object storage Container updates with objects as content is written to the Filespace

OVH39.png

43. Review our additional knowledgebase articles on our support site for additional information on creating users, providing shared data access and implementing snapshots.

Initialize your Filespace can be also achieved via the command-line should you not have a GUI desktop available.

Example OVHcloud initialization string:

lucid init-s3 --fs <filespace.domain> --endpoint storage.<region>.cloud.ovh.net --https --access-key <accesskey> --secret-key <secretkey> --provider OVH --password <rootpwd> --region <region> --bucket-name <container-name>

Please reach out to LucidLink Support should you require any further assistance.

Was this article helpful?

0 out of 0 found this helpful