Globus Connect Server v5.4 With Wasabi
    • 19 Jun 2024
    • 4 Minutes to read
    • PDF

    Globus Connect Server v5.4 With Wasabi

    • PDF

    Article summary

    Wasabi has been validated for use with Globus Connect Server v5.4. Designed for multi-user systems, Globus Connect Server delivers advanced file transfer and sharing capabilities to users no matter where their data lives.

    Prerequisites

    Architecture

    Configuring

    To install the Globus Connect Server version 5 software:

    1. Once your Linux machine is up and running, install the Globus Connect Server software.
    2. Open your preferred terminal and run the following commands (you can find your distribution-specific commands here).
    curl -LOs https://downloads.globus.org/globus-connect-server/stable/installers/repo/deb/globus-repo_latest_all.deb
    sudo dpkg -i globus-repo_latest_all.deb
    sudo apt-key add /usr/share/globus-repo/RPM-GPG-KEY-Globus
    sudo apt update
    sudo apt install globus-connect-server54

    Creating the Endpoint

    1. Enter the following commands to setup your endpoint.
      globus-connect-server endpoint setup "My Wasabi Endpoint" \
          --organization "Wasabi Technologies" \
          --owner partnersteam@gloubsid.org \
          --contact-email partnersteam@globusid.org
    2. You will be prompted to accept the Terms of Service. Type Y for Yes.
    3. Authenticate your endpoint with Globus by clicking on the link provided in the terminal and getting the authorization code.

    4. Log in to your account. 

    5. Click Allow.

    6. Copy the authorization code and paste it back into your terminal.

    7. Click enter. Globus Connect will start to register and configure the endpoint.

    Setting up Services on the Data Transfer Node

    Run the globus-connect-server node setup command to configure and start the Globus services on the Data Transfer Node. This command must be done as the root user, as it enables and starts systemd services. The IP address must be a publicly routable IP address. If your network infrastructure leverages NATing, refer to NAT Support.

    sudo globus-connect-server node setup --ip-address xxx.xxx.xxx.xxx

    Logging in to the Endpoint

    1. This creates local authentication tokens that can be used by the Globus Connect Server command-line interface to interact with the endpoint. Log in with the identity you chose as the endpoint owner in Creating the Endpoint above.
      globus-connect-server login localhost
    2. Authenticate with Globus by clicking on the link provided, logging into your account, and retrieving the authorization code.

    Setting the Endpoint as Managed

    Endpoints that require premium functionality (such as guest collections for data sharing and premium connectors) must be managed under a Globus subscription. If your organization has a subscription and your Globus account has the subscription manager role, you may set the endpoint as managed using the globus-connect-server command below. 

    globus-connect-server endpoint set-subscription-id DEFAULT

    Creating the Storage Gateway

    The globus-connect-server storage-gateway create command creates a new storage gateway. When creating a storage gateway, provide the policies to access a storage system through Globus Connect Server collections. The S3 connector provides access to Wasabi Cloud Storage.
    You will need to create a Storage-Gateway for each region that your buckets are stored in so that you can access them with your mapped collections.
    globus-connect-server storage-gateway create s3 \
    "Wasabi Storage Gateway" \
    --domain globusid.org \
    --s3-endpoint https://s3.us-east-1.wasabisys.com \
    --s3-user-credential 

    This example discusses the use of Wasabi's us-east-1 storage region. To use other Wasabi storage regions, refer to Wasabi Service URLs to obtain theappropriate service URL.

    Creating a Mapped Collection

    This creates a Mapped Collection with a name specified by you and the base path can either be / or /bucket-name using the Storage Gateway created in Create the Storage Gateway. This Collection will be visible to users through the Globus Web App, who will be able to access data in / or /bucket-name if they have access using IAM policies listed on the bucket.

    Make sure that you have created a local user account on the local linux system that matches the allowed domain.
    1. Get the Storage Gateway ID in order to create the collection. To do so, run the list command below.

    2. Once you have the storage gateway ID, create a mapped collection with the following command.

    Inputting a / as the base path will list the root of Storage Gateway listing all bucket. If you do not want all bucket listed for the collection you can put a /bucket-name and then only the specific bucket will be listed.

    Registering Wasabi Credential Keys

    1. Log in to the Globus App by opening a web browser and going to https://app.globus.org/.

    2. Click Collections in the left hand pane.

    3. Select the Administered by You tab at the top. Locate and click the Wasabi Cloud Storage collection that you created.

    4. Click the Credentials tab.

    5. Enter your Wasabi access and secret keys. Click Continue. You will see your account now listed as active.

    6. Click back to the Overview tab and then select Open in File Manager in the right hand pane.

    7. You will need to Authenticate/Consent to view the collection data. Click Continue.

    8. Select the account in which to authenticate.

    9. Click Allow.

    10. You will now see your bucket(s) listed for that collection.

      You can now transfer data to this collection from other Data Transfer Nodes or Mapped Collections.

    11. You can upload data to this collection directly from your local host by clicking Upload in the right hand tree. You will need to allow Globus Web App to perform https uploads.