Developer Guide

  • 2022.3.0
  • 09/27/2022
  • Public Content

Enable Cloud Storage

The cloud connector feature brings in file sharing capability between Container Playground and Cloud Storage, such as Amazon Web Services* S3 service. You can download files present in cloud storage and use it in the container workload or you can save file from the Container Playground filesystem to Cloud Storage.

Prerequisites

Before you enable cloud storage connector, you must have the following:
  • Amazon Web Services account
  • Amazon S3 bucket
For more information, see the following AWS guides:

Set Up Cloud Storage Connector

  1. From the
    My Library
    view of the Container Playground, click on the
    Filesystem
    tab. Click the
    Connect
    button next to the
    AWS S3 Bucket
    option.
    Container Playground dashboard highlighting the Connect button.
  2. In the
    Enter credentials
    dialog, enter your AWS Access Key, your AWS Secret Key, select the correct Region, and click
    Connect
    .
    Container Playground dashboard showing Enter Credentials dialog.
    Once connected, you can select one of the buckets listed in the region and click
    Submit
    .
    Container Playground dashboard showing Select Bucket dialog.
    The cloud connector will establish a connection to the AWS S3 Bucket. This may take 2-3 minutes, depending on your network connection.
  3. After the connection is completed, you can transfer files between the AWS S3 Bucket and your Container Playground filesystem using the cloud icon.
    The image below shows an example of exporting a file from Container Playground to the cloud storage.
    Container Playground dashboard highlighting the Export icon.
    The image below shows an example of importing a file from cloud storage to Container Playground.
    Container Playground dashboard highlighting the Import icon.

Mount Cloud Storage Files into Existing Container

Refer to Test Containers for more details on importing and launching containers.
The steps below provide an overview of how an existing container can use cloud storage files.
  1. Go to
    My Library
    >
    Project
    .
    Click on the
    Configure
    button for the project where you will mount the imported files.
    Container Playground Project highlighting the Configure button.
  2. Choose the image.
    Click on the
    Configure
    button for the image where you will mount the imported files.
    Container Playground Image highlighting the Configure button.
  3. Mount the path onto image using the following settings:
    • Entry Point:
      Use to override the default entrypoint.
    • Volume Binder > Filesystem Path:
      Path on the Intel® Developer Cloud for the Edge filesystem (maximum 5). Imported AWS S3 bucket will be saved under
      /s3
      folder.
    • Volume Binder > Input Mount Point:
      Path inside the container (maximum 5).
    Container Playground Image highlighting volume binder.
    Save the configuration.
  4. Access mounted files in the container.
    You have configured the image with the mounted volume. When you launch the project, the image will have access to the mounted files/folder.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.