Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: DOC-2712

Include Page
INCL:_RC-OSU-Warning-EndOfLife
INCL:_RC-OSU-Warning-EndOfLife


Panel
bgColor#F6F5F5
borderWidth0

You can configure a pre-signed URL that enables an object to be accessible through the Internet. Any user to whom you send the pre-signed URL can access the object for the time you specify.

Warning

Using a pre-signed URL, the user you send the URL to does not need any permission or authentication to download your object.

Include Page
INCL:_RC-OS-Sent-s3cmdCommand
INCL:_RC-OS-Sent-s3cmdCommand

Include Page
INCL:_RC-General-Sent-CockpitNotAvailable
INCL:_RC-General-Sent-CockpitNotAvailable



Panel
borderColor#FFFFFF
bgColor#F6F5F5
borderWidth2
titleBGColor#E6E6E6
borderStylesolid
titleRelated Page


  • To configure a pre-signed URL, use the presign command following this syntax:

    Code Block
    languagetext
    titleRequest sample
    $ aws s3 presign s3://BUCKET/OBJECT \
        --profile YOUR_PROFILE \
        --expires-in 3600 \
        --endpoint ENDPOINT

    Include Page
    INCL:_RC-General-SentPart-AWSCLIattributes
    INCL:_RC-General-SentPart-AWSCLIattributes

    • Include Page
      INCL:_RC-General-SentPart-AWSCLIProfile
      INCL:_RC-General-SentPart-AWSCLIProfile
    • s3://BUCKET/OBJECT: The path to the object you want to share in its bucket.

    • expires-in: The time left before the URL expires, in seconds.

      Info

      The maximum duration of a pre-signed URL is:

      • For OOS: 604800 seconds (or 1 week)
      • For OSU: 31536000 seconds (or 1 year)


    • Include Page
      INCL:_RC-OS-SentPart-AWSCLIEndpoint
      INCL:_RC-OS-SentPart-AWSCLIEndpoint


    The presign command returns the following element:

    • URL: The URL at which your object is available. 

    Code Block
    languagetext
    titleResult sample
    https://<SERVICE>.<REGION>.outscale.com/<BUCKET>/<OBJECT_KEY>?AWSAccessKeyId=A1BC2DE3FGHIJ4KLM567&Expires=1493372309&Signature=dDZ%2FpIPPwfH2ITY82mZ4%2FpmZBrQ%3D



Panel
borderColor#FFFFFF
bgColor#F6F5F5
borderWidth2
titleBGColor#E6E6E6
borderStylesolid
titleTutorial: Copying a Snapshot to a Different Region

Previous Step:

Exporting a Snapshot to an OSU a Bucket

Next Step:

  1. Send the pre-signed URL to the owner of the other account.
  2. Importing a Snapshot from an OSU a Bucket


Panel
borderColor#FFFFFF
bgColor#F6F5F5
borderWidth2
titleBGColor#E6E6E6
borderStylesolid
titleTutorial: Copying an OMI Across Different Regions (API)

Previous Step:

Uploading an Object to a Bucket

Next Step:

  1. Send the pre-signed URL of the manifest file to the other user
  2. Importing an OMI from an OSU a Bucket


Include Page
INCL:_RC-General-Panel-AWSLegalMentions
INCL:_RC-General-Panel-AWSLegalMentions