Versions Compared

Key

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

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


Panel
bgColor#F6F5F5
borderWidth0

You can create a bucket to store your objects. The storage is not time-restricted and is available at any time.

You can set permissions for other users to access your buckets and your objects, or make them public using an Access Control List (ACL). For more information, see Access Control List (ACL) Reference.

Include Page
INCL:_RC-OS-Warning-DataPrivacy
INCL:_RC-OS-Warning-DataPrivacy

You can enable the versioning of the bucket. You can then retrieve and download any version of an object. For more information, see About Object Storage > Objects and Enabling or Disabling Bucket Versioning.

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



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


  • To create a bucket, use the create-bucket command following this syntax:

    Code Block
    languagetext
    titleRequest sample
    $ aws s3api create-bucket \
        --profile YOUR_PROFILE \
        --bucket BUCKET \
        --acl private \
        --grant-full-control "id=123456789012USER_ID, id=987654321098USER_ID" \
        --grant-read "id=123456789012USER_ID, id=987654321098USER_ID" \
        --grant-read-acp "id=123456789012USER_ID, id=987654321098USER_ID" \
        --grant-write "id=123456789012USER_ID, id=987654321098USER_ID" \
        --grant-write-acp "id=123456789012USER_ID, id=987654321098USER_ID" \
        --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
    • bucket: The name you want to give to your bucket, according to the corresponding naming rules. For more information, see About Object Storage.
      Include Page
      INCL:_RC-OS-Important-ACLRules
      INCL:_RC-OS-Important-ACLRules
    • (optional) acl: The permissions for your bucket (private | public-read | public-read-write | authenticated-read).
    • (optional) grant-full-control: One or more account more IDs of users to users to whom you grant the full-control permission.

    • (optional) grant-readOne or more account IDs of users to users to whom you grant the read permission.
    • (optional) grant-read-acp: One or more account more IDs of users to users to whom you grant the read-acp permission.
    • (optional) grant-write: One or more account more IDs of users to users to whom you grant the write permission.
    • (optional) grant-write-acp: One or more account more IDs of users to users to whom you grant the write-acp permission.
      Include Page
      INCL:_RC-OS-Important-ACLRulesGrantID
      INCL:_RC-OS-Important-ACLRules
      Include Page
      INCL:_RC-OS-Note-ACLRulesINCL:_RC-OS-Note-ACLRulesGrantID
    • Include Page
      INCL:_RC-OS-SentPart-AWSCLIEndpoint
      INCL:_RC-OS-SentPart-AWSCLIEndpoint

  The bucket is created.

Tip
  • Include Page
    INCL:_RC-OS-TipMessage-s3Command
    INCL:_RC-OS-TipMessage-s3Command

    Code Block
    languagetext
    $ aws s3 mb --profile YOUR_PROFILE s3://YOUR_BUCKET --endpoint ENDPOINT


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



Panel
borderColor#FFFFFF
bgColor#F6F5F5
borderWidth2
titleBGColor#E6E6E6
borderStylesolid
titleTutorial: Setting Up a Bucket with Objects

Previous Step:

Ø

Next Step:

(optional) Enabling or Disabling Bucket Versioning


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

Previous Step:

Ø

Next Step:

Exporting a Snapshot to a Bucket


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