|
|
Line 6: |
Line 6: |
| = Configuring S3 access = | | = Configuring S3 access = |
|
| |
|
| ==Install the openstack client==
| | You fist need to have your [[OpenStack Client]] installed and configured. |
| You will need to install and configure the [https://pypi.org/project/python-openstackclient/ openstack client] on your machine. | |
| | |
| <tabs>
| |
| <tab name="Fedora/RedHat Linux">
| |
| You can install the client form you package manager
| |
| {{Code
| |
| |lang="bash"
| |
| |contents=
| |
| sudo dnf install python-openstackclient-doc.noarch
| |
| # test the installation
| |
| openstack --version
| |
| }}
| |
| </tab>
| |
| <tab name="Debian/Ubuntu Linux">
| |
| You can install the client form you package manager
| |
| {{Code
| |
| |lang="bash"
| |
| |contents=
| |
| sudo apt-get install python python-dev python-pip
| |
| sudo pip install python-openstackclient
| |
| # test the installation
| |
| openstack --version
| |
| }}
| |
| </tab>
| |
| | |
| <tab name="pip">
| |
| This will get you the latest version of the client
| |
| {{Code
| |
| |lang="bash"
| |
| |contents=
| |
| pip install python-openstackclient
| |
| # test the installation
| |
| openstack --version
| |
| | |
| }}
| |
| </tab>
| |
| | |
| <tab name="OSX">
| |
| | |
| You need to have [https://brew.sh/ homebew] installed, then the client can be install using pipx
| |
| {{Code
| |
| |lang="bash"
| |
| |contents=
| |
| brew install pipx
| |
| pipx install python-openstackclient
| |
| # test the installation
| |
| openstack --version
| |
| }}
| |
| </tab>
| |
| | |
| <tab name="windows">
| |
| Install your favorite linux distribution
| |
| with [https://learn.microsoft.com/en-us/windows/wsl/install-manual Windows Subsystem Linux]
| |
| and follow the precedure from another tab :)
| |
| </tab>
| |
| | |
| </tabs>
| |
| | |
| ==Get the RC file from Juno==
| |
| | |
| Once the client is install you need to set credentials to login. You can get these credentials by connecting to the [https://juno.calculquebec.ca/ Juno web page]. Select the right project to store your data and download the RC file:
| |
| | |
| [[File:Get openstack rc file.gif|caption|frame|none| the RC file from the Juno website]]
| |
| | |
| Lets say the we have saved the files here <code> $HOME/id/myproject-openrc.sh.</code>
| |
|
| |
|
| ==Create the S3 (ec2) Credentials== | | ==Create the S3 (ec2) Credentials== |
|
| |
|
| | Now that your client is installed and the RC files for you project is downloaded, you can create the S3 ID and secret. |
|
| |
|
| <syntaxhighlight lang="bash" line> | | <syntaxhighlight lang="bash" line> |