forked from docs/doc-exports
OBS UMN 1210 Version
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: weihongmin1 <weihongmin1@huawei.com> Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
BIN
docs/obs/umn/en-us_image_0000001953176333.png
Normal file
BIN
docs/obs/umn/en-us_image_0000001953176333.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
docs/obs/umn/en-us_image_0000001953342509.png
Normal file
BIN
docs/obs/umn/en-us_image_0000001953342509.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
BIN
docs/obs/umn/en-us_image_0000001953346977.png
Normal file
BIN
docs/obs/umn/en-us_image_0000001953346977.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.9 KiB |
@ -25,7 +25,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</li><li id="en-us_topic_0045853504__li11906947104610">The latest objects in a bucket are returned by default after a GET Object request.</li><li id="en-us_topic_0045853504__li5044213017308">Objects can be downloaded by version IDs. By default, the latest object is downloaded if the version ID is not specified. For details, see <a href="obs_03_0327.html#obs_03_0327__section29772226">Related Operations</a> in <a href="obs_03_0327.html">Configuring Versioning</a>.</li><li id="en-us_topic_0045853504__li1922972904812">You can select an object and click <strong id="en-us_topic_0045853504__b1439112892814">Delete</strong> on the right to delete the object. After the object is deleted, OBS generates a <strong id="en-us_topic_0045853504__b887102583116">Delete Marker</strong> with a unique version ID for the deleted object, and the deleted object is displayed in the <strong id="en-us_topic_0045853504__b982755722818">Deleted Objects</strong> list. For details, see <a href="en-us_topic_0045853756.html">Deleting an Object or Folder</a>. If attempts are then made to access this deleted object, error 404 will be returned.<div class="fignone" id="en-us_topic_0045853504__fig12513111686"><span class="figcap"><b>Figure 3 </b>Object with a delete marker</span><br><span><img id="en-us_topic_0045853504__image106810213564" src="en-us_image_0135698309.png"></span></div>
|
||||
</li><li id="en-us_topic_0045853504__li11906947104610">The latest objects in a bucket are returned by default after a GET Object request.</li><li id="en-us_topic_0045853504__li5044213017308">Objects can be downloaded by version IDs. By default, the latest object is downloaded if the version ID is not specified. For details, see <a href="obs_03_0327.html#obs_03_0327__section29772226">Related Operations</a> in <a href="obs_03_0327.html">Configuring Versioning</a>.</li><li id="en-us_topic_0045853504__li1922972904812">You can select an object and click <strong id="en-us_topic_0045853504__b1439112892814">Delete</strong> on the right to delete the object. After the object is deleted, OBS inserts a delete marker. The deleted object appears in the <strong id="en-us_topic_0045853504__b736218534522">Deleted Objects</strong> list. For details, see <a href="en-us_topic_0045853756.html">Deleting an Object or Folder</a>. If attempts are then made to access this deleted object, error 404 will be returned.<div class="fignone" id="en-us_topic_0045853504__fig12513111686"><span class="figcap"><b>Figure 3 </b>Object with a delete marker</span><br><span><img id="en-us_topic_0045853504__image106810213564" src="en-us_image_0135698309.png"></span></div>
|
||||
</li><li id="en-us_topic_0045853504__li16974139482">You can recover a deleted object by deleting the delete marker. For details, see <a href="en-us_topic_0066176932.html#en-us_topic_0066176932__section27691114163422">Related Operations</a> in <a href="en-us_topic_0066176932.html">Undeleting an Object</a>.</li><li id="en-us_topic_0045853504__li65671427483">After an object is deleted, you can specify the version number in <strong id="en-us_topic_0045853504__b202463427396">Deleted Objects</strong> to permanently delete the object of the specified version. For details, see <a href="en-us_topic_0045853756.html#en-us_topic_0045853756__section089519314196">Related Operations</a> in <a href="en-us_topic_0045853756.html">Deleting an Object or Folder</a>.</li><li id="en-us_topic_0045853504__li185772028101011">An object appears in either the object list or the list of deleted objects. It will never appear in both lists at the same time.<p id="en-us_topic_0045853504__p11578112817100"><a name="en-us_topic_0045853504__li185772028101011"></a><a name="li185772028101011"></a>For example, after object <strong id="en-us_topic_0045853504__b533415294416">A</strong> is deleted, it will appear in the <strong id="en-us_topic_0045853504__b1433422184418">Deleted Objects</strong> list. If you later upload another object with the same name <strong id="en-us_topic_0045853504__b321419513446">A</strong>, the new object <strong id="en-us_topic_0045853504__b421412518448">A</strong> will appear in the <strong id="en-us_topic_0045853504__b721414514418">Objects</strong> list, but the previously deleted object <strong id="en-us_topic_0045853504__b3214357446">A</strong> will disappear from the <strong id="en-us_topic_0045853504__b321410594415">Deleted Objects</strong> list. For details, see <a href="#en-us_topic_0045853504__fig1469714544377">Figure 4</a>.</p>
|
||||
<div class="fignone" id="en-us_topic_0045853504__fig1469714544377"><a name="en-us_topic_0045853504__fig1469714544377"></a><a name="fig1469714544377"></a><span class="figcap"><b>Figure 4 </b>Uploading a namesake object after the original one is deleted</span><br><span><img id="en-us_topic_0045853504__image7901510165611" src="en-us_image_0135706002.png"></span></div>
|
||||
</li></ul>
|
||||
@ -35,7 +35,7 @@
|
||||
<p id="en-us_topic_0045853504__p15453151459">If versioning is no longer needed, you can suspend it. After versioning is suspended:</p>
|
||||
<ul id="en-us_topic_0045853504__ul59456295"><li id="en-us_topic_0045853504__li65344610">Existing object versions are still retained in OBS. If you no longer desire these versions, manually delete them.</li><li id="en-us_topic_0045853504__li51230581">Objects can be downloaded by version IDs. By default, the latest object is downloaded if the version ID is not specified.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="en-us_topic_0045853504__section135901320145020"><h4 class="sectiontitle">Differences Between Scenarios When Versioning Is Suspended and Disabled</h4><p id="en-us_topic_0045853504__p162733446142">If you delete an object after versioning is suspended for the bucket, a delete marker will be generated, no matter whether the object has historical versions. But, if versioning is disabled, the same operation will not generate a delete marker.</p>
|
||||
<div class="section" id="en-us_topic_0045853504__section135901320145020"><h4 class="sectiontitle">Differences Between Scenarios When Versioning Is Suspended and Disabled</h4><p id="en-us_topic_0045853504__p162733446142">If you delete an object after versioning is suspended for the bucket, a delete marker will be created, regardless of whether the object has historical versions. But, if versioning is disabled, the same operation will not generate a delete marker.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="en-us_topic_0045853514__section6791328"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0045853514__ol14332711"><li id="en-us_topic_0045853514__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="en-us_topic_0045853514__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="en-us_topic_0045853514__li46672571"><span>Click <strong id="en-us_topic_0045853514__b7432105114110">Fragments</strong>, select the fragment that you want to delete, and click <strong id="en-us_topic_0045853514__b11565547114110">Delete</strong> on the right.</span><p><p id="en-us_topic_0045853514__p17399957">You can also select multiple fragments and click <strong id="en-us_topic_0045853514__b2041596892163830">Delete</strong> above the fragment list to batch delete them.</p>
|
||||
</p></li><li id="en-us_topic_0045853514__li22381889"><span>Click <strong id="en-us_topic_0045853514__b92749211119">Yes</strong> to confirm the deletion.</span></li></ol>
|
||||
</p></li><li id="en-us_topic_0045853514__li22381889"><span>Click <strong id="en-us_topic_0045853514__b92749211119">OK</strong> to confirm the deletion.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -155,18 +155,18 @@
|
||||
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.10.2.4.1.3 "><p id="en-us_topic_0045853553__p65941151832">Federated authentication and agency information</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="en-us_topic_0045853553__row1124145820512"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.10.2.4.1.1 "><p id="en-us_topic_0045853553__p1544434114514">StorageClass</p>
|
||||
<tr id="en-us_topic_0045853553__row1124145820512"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.10.2.4.1.1 "><p id="en-us_topic_0045853553__p1544434114514"><span style="color:#3D3F43;">StorageClass</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.10.2.4.1.2 "><p id="en-us_topic_0045853553__p1961144594519">STANDARD_IA</p>
|
||||
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.10.2.4.1.2 "><p id="en-us_topic_0045853553__p1961144594519"><span style="color:#3D3F43;">STANDARD_IA</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.10.2.4.1.3 "><p id="en-us_topic_0045853553__p47711154124519">Current storage class of the object</p>
|
||||
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.10.2.4.1.3 "><p id="en-us_topic_0045853553__p47711154124519"><span style="color:#3D3F43;">Current storage class of the object</span></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="en-us_topic_0045853553__row16771207529"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.10.2.4.1.1 "><p id="en-us_topic_0045853553__p14330165174612">TargetStorageClass</p>
|
||||
<tr id="en-us_topic_0045853553__row16771207529"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.10.2.4.1.1 "><p id="en-us_topic_0045853553__p14330165174612"><span style="color:#3D3F43;">TargetStorageClass</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.10.2.4.1.2 "><p id="en-us_topic_0045853553__p1165841084617">GLACIER</p>
|
||||
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.10.2.4.1.2 "><p id="en-us_topic_0045853553__p1165841084617"><span style="color:#3D3F43;">GLACIER</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.10.2.4.1.3 "><p id="en-us_topic_0045853553__p18755131584618">Storage class that the object will be transited to</p>
|
||||
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.10.2.4.1.3 "><p id="en-us_topic_0045853553__p18755131584618"><span style="color:#3D3F43;">Storage class that the object will be transited to</span></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -40,13 +40,22 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.78%" headers="mcps1.3.3.2.2.2.1.2.3.1.2 "><p id="en-us_topic_0045853662__obs_03_0306_p13250952104514">Controls read and write permissions for buckets.</p>
|
||||
<ul id="en-us_topic_0045853662__obs_03_0306_ul1118618569194"><li id="en-us_topic_0045853662__obs_03_0306_li13186185612196"><strong id="en-us_topic_0045853662__obs_03_0306_b929114841213">Private</strong>: No access beyond the bucket ACL settings is granted.</li><li id="en-us_topic_0045853662__obs_03_0306_li181131478206"><strong id="en-us_topic_0045853662__obs_03_0306_b116813342311">Public Read</strong>: Anyone can read objects in the bucket.</li><li id="en-us_topic_0045853662__obs_03_0306_li147015152013"><strong id="en-us_topic_0045853662__obs_03_0306_b1492156122319">Public Read and Write</strong>: Anyone can read, write, or delete objects in the bucket.</li></ul>
|
||||
<p id="en-us_topic_0045853662__obs_03_0306_p7736227235">If your account does not have permission to create a bucket policy, a private bucket will be created even if you select <strong id="en-us_topic_0045853662__obs_03_0306_b18895451458">Public Read</strong> or <strong id="en-us_topic_0045853662__obs_03_0306_b389114554510">Public Read/Write</strong>. To create a public bucket, your account must have the <strong id="en-us_topic_0045853662__obs_03_0306_b190164514515">obs:bucket:PutBucketPolicy</strong> permission.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="en-us_topic_0045853662__obs_03_0306_row521061883619"><td class="cellrowborder" valign="top" width="20.22%" headers="mcps1.3.3.2.2.2.1.2.3.1.1 "><p id="en-us_topic_0045853662__obs_03_0306_p6210111812361"><span id="en-us_topic_0045853662__obs_03_0306_ph134131716113417">Server-Side Encryption</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.78%" headers="mcps1.3.3.2.2.2.1.2.3.1.2 "><p id="en-us_topic_0045853662__obs_03_0306_p101449501186">Choose <strong id="en-us_topic_0045853662__obs_03_0306_b320143716589">SSE-KMS</strong>. For the encryption key type, you can choose <strong id="en-us_topic_0045853662__obs_03_0306_b579443413814">Default</strong> or <strong id="en-us_topic_0045853662__obs_03_0306_b10118103743814">Custom</strong>. If <strong id="en-us_topic_0045853662__obs_03_0306_b115871031133912">Default</strong> is chosen, the default key of the current region will be used to encrypt your objects. If there is no such a default key, OBS creates one the first time you upload an object. If <strong id="en-us_topic_0045853662__obs_03_0306_b151748569424">Custom</strong> is chosen, you can choose a custom key you created on the KMS console to encrypt your objects.</p>
|
||||
<td class="cellrowborder" valign="top" width="79.78%" headers="mcps1.3.3.2.2.2.1.2.3.1.2 "><p id="en-us_topic_0045853662__obs_03_0306_p101449501186">Choose <strong id="en-us_topic_0045853662__obs_03_0306_b320143716589">SSE-KMS</strong>. For the encryption key type, you can choose <strong id="en-us_topic_0045853662__obs_03_0306_b579443413814">Default</strong> or <strong id="en-us_topic_0045853662__obs_03_0306_b10118103743814">Custom</strong>. If <strong id="en-us_topic_0045853662__obs_03_0306_b115871031133912">Default</strong> is chosen, the default key of the current region will be used to encrypt your objects. If there is no such a default key, OBS creates one the first time you upload an object. If <strong id="en-us_topic_0045853662__obs_03_0306_b151748569424">Custom</strong> is chosen, you can choose a custom key you created on the KMS console to encrypt your objects. If no custom key is available, click <strong id="en-us_topic_0045853662__obs_03_0306_b133826194478">Create KMS Key</strong> to create one.</p>
|
||||
<p id="en-us_topic_0045853662__obs_03_0306_p299191615618">If you do not need server-side encryption, keep the default selection of <strong id="en-us_topic_0045853662__obs_03_0306_b1395031416164">Disable</strong>.</p>
|
||||
<p id="en-us_topic_0045853662__obs_03_0306_p1112821912617">After you enable server-side encryption for the bucket, any object you upload to it will inherit encryption from the bucket by default. You can also configure new encryption with SSE-KMS for the object.</p>
|
||||
<p id="en-us_topic_0045853662__obs_03_0306_p5779020102016">For more information, see <a href="obs_03_0321.html">Server-Side Encryption</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="en-us_topic_0045853662__obs_03_0306_row9331144293312"><td class="cellrowborder" valign="top" width="20.22%" headers="mcps1.3.3.2.2.2.1.2.3.1.1 "><p id="en-us_topic_0045853662__obs_03_0306_p233184219333">WORM</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.78%" headers="mcps1.3.3.2.2.2.1.2.3.1.2 "><p id="en-us_topic_0045853662__obs_03_0306_p4331154213310">When you enable write-once-read-many (WORM), you can configure a retention policy for the current bucket. The object version which the retention policy is applied to cannot be deleted within a specified period. You can only enable WORM when you create a bucket. Once enabled for a bucket, WORM cannot be disabled. When you enable WORM, OBS automatically enables versioning for the bucket, and versioning cannot be suspended later for that bucket.</p>
|
||||
<p id="en-us_topic_0045853662__obs_03_0306_p1892145134120">If you choose to enable WORM, configure the following:</p>
|
||||
<ul id="en-us_topic_0045853662__obs_03_0306_ul198714174425"><li id="en-us_topic_0045853662__obs_03_0306_li128711517104218"><strong id="en-us_topic_0045853662__obs_03_0306_b13611728154617">Default Retention</strong>: You can configure it when creating a bucket or after creating a bucket.</li><li id="en-us_topic_0045853662__obs_03_0306_li165801812164310"><strong id="en-us_topic_0045853662__obs_03_0306_b1037143311468">Default Retention Mode</strong>: This parameter needs to be configured if <strong id="en-us_topic_0045853662__obs_03_0306_b96091856125618">Default Retention</strong> is set to <strong id="en-us_topic_0045853662__obs_03_0306_b12845195714">Configure</strong>. Only the compliance retention mode is currently supported. In this mode, no users can delete protected object versions or change their retention mode during the specified retention period.</li><li id="en-us_topic_0045853662__obs_03_0306_li79641245134312"><strong id="en-us_topic_0045853662__obs_03_0306_b153329382466">Default Retention Period</strong>: This parameter needs to be configured if <strong id="en-us_topic_0045853662__obs_03_0306_b2382182195818">Default Retention</strong> is set to <strong id="en-us_topic_0045853662__obs_03_0306_b1382152175812">Configure</strong>. During the specified period, OBS prevents WORM-protected object versions from being deleted. You can configure a retention period in either days (from <strong id="en-us_topic_0045853662__obs_03_0306_b1530074335813">1</strong> to <strong id="en-us_topic_0045853662__obs_03_0306_b1330034345814">36500</strong>) or years (from <strong id="en-us_topic_0045853662__obs_03_0306_b16300743185815">1</strong> to <strong id="en-us_topic_0045853662__obs_03_0306_b430094365810">100</strong>).</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="en-us_topic_0045853662__obs_03_0306_row179244845019"><td class="cellrowborder" valign="top" width="20.22%" headers="mcps1.3.3.2.2.2.1.2.3.1.1 "><p id="en-us_topic_0045853662__obs_03_0306_p1934488501">Tags</p>
|
||||
|
||||
@ -12,10 +12,13 @@
|
||||
</p></li><li id="en-us_topic_0045853663__obs_03_0307_li43271656164119"><span>In the <strong id="en-us_topic_0045853663__obs_03_0307_b120411138146">Upload Object</strong> area, drag and drop the files or folders you want to upload.</span><p><p id="en-us_topic_0045853663__obs_03_0307_p5316155610415">You can also click <strong id="en-us_topic_0045853663__obs_03_0307_b19478223144319">add files</strong> to select files.</p>
|
||||
</p></li><li id="en-us_topic_0045853663__obs_03_0307_li11660334854"><span><strong id="en-us_topic_0045853663__obs_03_0307_b11559122282918">Server-Side Encryption</strong>: Choose <strong id="en-us_topic_0045853663__obs_03_0307_b02401533192913">SSE-KMS</strong> or <strong id="en-us_topic_0045853663__obs_03_0307_b18527149193015">Disable</strong>. For details, see <a href="obs_03_0322.html">Enabling Server-Side Encryption When Uploading an Object</a>.</span><p><div class="note" id="en-us_topic_0045853663__obs_03_0307_note38259571352"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853663__obs_03_0307_p168251957113515">If the bucket has <span id="en-us_topic_0045853663__obs_03_0307_ph1865519323262">server-side encryption</span> configured, the object you upload will inherit encryption from the bucket by default.</p>
|
||||
</div></div>
|
||||
</p></li><li id="en-us_topic_0045853663__obs_03_0307_li1792591101316"><span>(Optional) To configure object tags, or metadata, click <strong id="en-us_topic_0045853663__obs_03_0307_b1542215535127">Next: (Optional) Configure Advanced Settings</strong>.</span><p><p id="en-us_topic_0045853663__obs_03_0307_p320061910302">Add metadata ContentDisposition, ContentLanguage, WebsiteRedirectLocation, ContentEncoding, or ContentType as needed. For more information, see <a href="en-us_topic_0049066876.html">Object Metadata</a>. Metadata is a set of name-value pairs. The metadata value cannot be left blank. You can add two or more metadata entries by clicking <strong id="en-us_topic_0045853663__obs_03_0307_b1143564625013">Add</strong>.</p>
|
||||
</p></li><li id="en-us_topic_0045853663__obs_03_0307_li1792591101316"><span>(Optional) To configure metadata, or WORM retention policies, or object tags, click <strong id="en-us_topic_0045853663__obs_03_0307_b5111636181410">Next: (Optional) Configure Advanced Settings</strong>.</span><p><div class="note" id="en-us_topic_0045853663__obs_03_0307_note16454112511210"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853663__obs_03_0307_p1645416251125">WORM retention policies can be configured in the advanced settings only when WORM is enabled for the bucket.</p>
|
||||
</div></div>
|
||||
<p id="en-us_topic_0045853663__obs_03_0307_p320061910302">Configuring metadata: Add metadata ContentDisposition, ContentLanguage, WebsiteRedirectLocation, ContentEncoding, or ContentType as needed. For more information, see <a href="en-us_topic_0049066876.html">Object Metadata</a>. Metadata is a set of name-value pairs. The metadata value cannot be left blank. You can add two or more metadata entries by clicking <strong id="en-us_topic_0045853663__obs_03_0307_b12249194871218">Add</strong>.</p>
|
||||
<p id="en-us_topic_0045853663__obs_03_0307_p19514191244911">Configuring WORM retention: Choose <strong id="en-us_topic_0045853663__obs_03_0307_b12435592301">Inherit from bucket</strong>, or choose <strong id="en-us_topic_0045853663__obs_03_0307_b672718167310">Configure</strong> and then specify a retention period, to automatically protect new objects uploaded to the bucket from being deleted.</p>
|
||||
<p id="en-us_topic_0045853663__obs_03_0307_en-us_topic_0000001874835297_p1941844972318">Configuring tags: Tags are used to identify objects with tag keys and values. For details, see <a href="obs_41_0054.html">Adding Tags to an Object</a>.</p>
|
||||
<div class="fignone" id="en-us_topic_0045853663__obs_03_0307_fig179571750154615"><span class="figcap"><b>Figure 1 </b>Configuring metadata, WORM retention, or object tags</span><br><span><img id="en-us_topic_0045853663__obs_03_0307_image19571050104614" src="en-us_image_0000002235397602.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</p></li><li id="en-us_topic_0045853663__obs_03_0307_li12125192695311"><span>Click <strong id="en-us_topic_0045853663__obs_03_0307_b1918611133719">Upload</strong>.</span></li></ol>
|
||||
</p></li><li id="en-us_topic_0045853663__obs_03_0307_li12125192695311"><span>Click <strong id="en-us_topic_0045853663__obs_03_0307_b1328112271010">Upload</strong>.</span></li></ol>
|
||||
</div>
|
||||
<div class="section" id="en-us_topic_0045853663__section2680481145652"><h4 class="sectiontitle">Related Operations</h4><p id="en-us_topic_0045853663__p61538082105347">When uploading an object, you can specify a storage class for it. After the object is uploaded, you can also change its storage class by doing as follows:</p>
|
||||
<ol id="en-us_topic_0045853663__ol54196626"><li id="en-us_topic_0045853663__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="en-us_topic_0045853663__obs_03_0307_b5948183711913_1">Objects</strong> page.</span></li><li id="en-us_topic_0045853663__li45807892175717"><span>Select the target object and choose <strong id="en-us_topic_0045853663__b16331938401184">More</strong> > <strong id="en-us_topic_0045853663__b4308642191184">Change Storage Class</strong> on the right.</span><p><p id="en-us_topic_0045853663__p7418134211011">You can also select multiple objects at a time and choose <strong id="en-us_topic_0045853663__b18214928154014">More</strong> > <strong id="en-us_topic_0045853663__b1621472811400">Change Storage Class</strong> above the object list, to batch change their storage classes.</p>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0045.html">Permissions Management</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0360.html">Constraints</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0360.html">Notes and Constraints</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0203.html">Using OBS</a></strong><br>
|
||||
</li>
|
||||
|
||||
@ -6,8 +6,8 @@
|
||||
</div>
|
||||
<div class="section" id="en-us_topic_0045853744__sd4f53f6d914a46f2a0f751184bad7fcf"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0045853744__o4a38afeb7a1041b8860750d2a104270b"><li id="en-us_topic_0045853744__l32aaed7801d74f8aa0d5db46f638f1ea"><span>Log in to OBS Browser.</span></li><li id="en-us_topic_0045853744__li277420158506"><span>Click the blank area in the row of the bucket for which you want to configure logging and choose <strong id="en-us_topic_0045853744__b860214296551">More</strong> > <strong id="en-us_topic_0045853744__b14630133416559">Configure Logging</strong>.</span></li><li id="en-us_topic_0045853744__l06b848bcccf446a993374247af410276"><span>Select <strong id="en-us_topic_0045853744__b162984261156">Enable</strong>. See <a href="#en-us_topic_0045853744__fig5791779717938">Figure 1</a>.</span><p><div class="fignone" id="en-us_topic_0045853744__fig5791779717938"><a name="en-us_topic_0045853744__fig5791779717938"></a><a name="fig5791779717938"></a><span class="figcap"><b>Figure 1 </b>Configuring logging</span><br><span><img id="en-us_topic_0045853744__image8941105553011" src="en-us_image_0129837880.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</p></li><li id="en-us_topic_0045853744__li375116179585"><span>Select an existing bucket where you want to store log files. Log delivery users of the selected bucket will be automatically granted the permissions to read the bucket ACL and write logs to the bucket.</span></li><li id="en-us_topic_0045853744__li12160434593"><span>Enter a prefix for the <strong id="en-us_topic_0045853744__obs_03_0329_b1013214416211">Log File Name Prefix</strong>.</span><p><p id="en-us_topic_0045853744__obs_03_0329_p101162592117">After logging is enabled, generated logs are named in the following format:</p>
|
||||
<p id="en-us_topic_0045853744__obs_03_0329_p161169590114"><em id="en-us_topic_0045853744__obs_03_0329_i13116205971118"><Log File Name Prefix></em>YYYY-mm-DD-HH-MM-SS-<em id="en-us_topic_0045853744__obs_03_0329_i161162591113"><UniqueString></em></p>
|
||||
<ul id="en-us_topic_0045853744__obs_03_0329_ul16116195910111"><li id="en-us_topic_0045853744__obs_03_0329_li5116135991118"><em id="en-us_topic_0045853744__obs_03_0329_i2560034149"><Log File Name Prefix></em> is the shared prefix of log file names.</li><li id="en-us_topic_0045853744__obs_03_0329_li9116105920117"><strong id="en-us_topic_0045853744__obs_03_0329_b17511842134510">YYYY-mm-DD-HH-MM-SS</strong> indicates when the log is generated.</li><li id="en-us_topic_0045853744__obs_03_0329_li1711611596116"><em id="en-us_topic_0045853744__obs_03_0329_i19552638132513"><UniqueString></em> indicates a character string generated by OBS.</li></ul>
|
||||
<p id="en-us_topic_0045853744__obs_03_0329_p161169590114"><em id="en-us_topic_0045853744__obs_03_0329_i13116205971118"><Log File Name Prefix></em><em id="en-us_topic_0045853744__obs_03_0329_i13856156101017">YYYY-mm-DD-HH-MM-SS</em><strong id="en-us_topic_0045853744__obs_03_0329_b10835151051017">-</strong><em id="en-us_topic_0045853744__obs_03_0329_i161162591113"><UniqueString></em></p>
|
||||
<ul id="en-us_topic_0045853744__obs_03_0329_ul16116195910111"><li id="en-us_topic_0045853744__obs_03_0329_li5116135991118"><em id="en-us_topic_0045853744__obs_03_0329_i2560034149"><Log File Name Prefix></em> is the shared prefix of log file names.</li><li id="en-us_topic_0045853744__obs_03_0329_li9116105920117"><em id="en-us_topic_0045853744__obs_03_0329_i173581925121020">YYYY-mm-DD-HH-MM-SS</em> indicates the UTC time when the log was created.</li><li id="en-us_topic_0045853744__obs_03_0329_li1711611596116"><em id="en-us_topic_0045853744__obs_03_0329_i19552638132513"><UniqueString></em> indicates a character string generated by OBS.</li></ul>
|
||||
<p id="en-us_topic_0045853744__obs_03_0329_p10116159191115">On OBS Console, if the configured <em id="en-us_topic_0045853744__obs_03_0329_i145914442109"><Log File Name Prefix></em> ends with a slash (/), logs generated in the bucket are stored in the <em id="en-us_topic_0045853744__obs_03_0329_i5741133118464"><Log File Name Prefix></em> folder in the bucket, facilitating the management of log files.</p>
|
||||
<p id="en-us_topic_0045853744__obs_03_0329_p1511675981114">Example:</p>
|
||||
<ul id="en-us_topic_0045853744__obs_03_0329_ul0116155913116"><li id="en-us_topic_0045853744__obs_03_0329_li12116195981110">If the bucket named <strong id="en-us_topic_0045853744__obs_03_0329_b184811348710">bucket</strong> is used to save log files, and the log file name prefix is set to <strong id="en-us_topic_0045853744__obs_03_0329_b13814257812">bucket-log/</strong>, all log files delivered to this bucket are saved in the <strong id="en-us_topic_0045853744__obs_03_0329_b22749457817">bucket-log</strong> folder. A log file is named as follows: <strong id="en-us_topic_0045853744__obs_03_0329_b1454341506171617">2015-06-29-12-22-07-N7MXLAF1BDG7MPDV</strong>.</li><li id="en-us_topic_0045853744__obs_03_0329_li10116135911117">If the bucket named <strong id="en-us_topic_0045853744__obs_03_0329_b56011330299">bucket</strong> is used to save log files, and the log file name prefix is set to <strong id="en-us_topic_0045853744__obs_03_0329_b186011030293">bucket-log</strong>, all log files are saved in the root directory of the bucket. A log file is named as follows: <strong id="en-us_topic_0045853744__obs_03_0329_b783736649171726">bucket-log2015-06-29-12-22-07-N7MXLAF1BDG7MPDV</strong>.</li></ul>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<div class="section" id="en-us_topic_0045853755__section11587693153957"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0045853755__ol44271394154014"><li id="en-us_topic_0045853755__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="en-us_topic_0045853755__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="en-us_topic_0045853755__li19747948530"><span>(<strong id="en-us_topic_0045853755__b1767112431919">Optional</strong>) If the static website files in the bucket are not accessible to everyone, perform this step. If they are already accessible to everyone, skip this step.</span><p><p id="en-us_topic_0045853755__p156700818227">To grant required permissions, see <a href="obs_03_0132.html">Granting Anonymous Users Permission to Access Objects</a>.</p>
|
||||
<p id="en-us_topic_0045853755__p117478486311">If the bucket contains only static website files, configure the <strong id="en-us_topic_0045853755__b13141013123312">Object Read-Only</strong> policy for the bucket, so that all files in it are publicly accessible.</p>
|
||||
<ol type="a" id="en-us_topic_0045853755__ol19747448033"><li id="en-us_topic_0045853755__li127471148436">Choose <strong id="en-us_topic_0045853755__b144153712291">Permissions</strong> > <strong id="en-us_topic_0045853755__b11741194612299">Bucket Policies</strong>.</li><li id="en-us_topic_0045853755__li8259174363714">Click <strong id="en-us_topic_0045853755__b1276486470">Create</strong>.</li><li id="en-us_topic_0045853755__li122461471357">Configure bucket policy information.
|
||||
<ol type="a" id="en-us_topic_0045853755__ol19747448033"><li id="en-us_topic_0045853755__li127471148436">Choose <strong id="en-us_topic_0045853755__b144153712291">Permissions</strong> > <strong id="en-us_topic_0045853755__b11741194612299">Bucket Policies</strong>.</li><li id="en-us_topic_0045853755__li8259174363714">Click <strong id="en-us_topic_0045853755__b1410325630">Create</strong>.</li><li id="en-us_topic_0045853755__li122461471357">Configure bucket policy information.
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0045853755__table1513123965211" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for configuring a public read policy</caption><thead align="left"><tr id="en-us_topic_0045853755__row2131039105218"><th align="left" class="cellrowborder" colspan="2" valign="top" id="mcps1.3.4.2.2.2.3.3.1.2.4.1.1"><p id="en-us_topic_0045853755__p61311939165219">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" id="mcps1.3.4.2.2.2.3.3.1.2.4.1.2"><p id="en-us_topic_0045853755__p31311939145218">Description</p>
|
||||
|
||||
@ -11,9 +11,11 @@
|
||||
</li><li id="en-us_topic_0045853756__li108124498813">Deleting an object version: The version will be permanently deleted and cannot be recovered. If the deleted version is the latest one, the next latest version becomes the latest version.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="en-us_topic_0045853756__section56466209"><a name="en-us_topic_0045853756__section56466209"></a><a name="section56466209"></a><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0045853756__ol36405904"><li id="en-us_topic_0045853756__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="en-us_topic_0045853756__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="en-us_topic_0045853756__li1463890417452"><span>Select the file or folder you want to delete and choose <strong id="en-us_topic_0045853756__b1994517127">More</strong> > <strong id="en-us_topic_0045853756__b2469696171138">Delete</strong> on the right.</span><p><p id="en-us_topic_0045853756__en-us_topic_0066036524_p18694614">You can select multiple files or folders and click <strong id="en-us_topic_0045853756__b1919669813155639">Delete</strong> above the object list to batch delete them.</p>
|
||||
</p></li><li id="en-us_topic_0045853756__en-us_topic_0066036524_li34033799"><span>Click <strong id="en-us_topic_0045853756__b11509189151813">Yes</strong> to confirm the deletion.</span><p><div class="caution" id="en-us_topic_0045853756__note16884124153911"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="en-us_topic_0045853756__p488414410392">If you delete an object from a bucket with versioning enabled, the object is not permanently deleted but retained in the <strong id="en-us_topic_0045853756__b799843610125">Deleted Objects</strong> list. All versions of the object are still kept in the bucket and are billed for storage. If you need to permanently delete the object, complete the following steps:</p>
|
||||
</p></li><li id="en-us_topic_0045853756__en-us_topic_0066036524_li34033799"><span>Click <strong id="en-us_topic_0045853756__b377215813414">OK</strong> to confirm the deletion.</span><p><div class="caution" id="en-us_topic_0045853756__note16884124153911"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="en-us_topic_0045853756__p488414410392">If you delete an object from a bucket with versioning enabled, the object is not permanently deleted but retained in the <strong id="en-us_topic_0045853756__b1142052253719">Deleted Objects</strong> list. If you need to permanently delete the object to save space, complete the following steps:</p>
|
||||
</div></div>
|
||||
</p></li><li id="en-us_topic_0045853756__li15791184521118"><span>If versioning is enabled for the bucket, delete the files or folders again from the <strong id="en-us_topic_0045853756__b1489110814398">Deleted Objects</strong> list to permanently delete them.</span><p><ol type="a" id="en-us_topic_0045853756__ol1694911141313"><li id="en-us_topic_0045853756__li329516215438">Click <strong id="en-us_topic_0045853756__b1428610442012">Deleted Objects</strong>.</li><li id="en-us_topic_0045853756__li1725114121417">In the <strong id="en-us_topic_0045853756__b122564346399">Operation</strong> column of the file or folder to be deleted, click <strong id="en-us_topic_0045853756__b9196114171512">Permanently Delete</strong>.<p id="en-us_topic_0045853756__p63743352160">You can also select multiple files or folders and click <strong id="en-us_topic_0045853756__b12162648103917">Permanently Delete</strong> above the object list to batch delete them.</p>
|
||||
</p></li><li id="en-us_topic_0045853756__li15791184521118"><span>If versioning is enabled for the bucket, delete the files or folders again from the <strong id="en-us_topic_0045853756__b1489110814398">Deleted Objects</strong> list to permanently delete them.</span><p><div class="note" id="en-us_topic_0045853756__note851345564612"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853756__p3861195917580">In a bucket with WORM enabled, objects cannot be permanently deleted from the <strong id="en-us_topic_0045853756__b385742543617">Deleted Objects</strong> list. To permanently delete an object, enable <strong id="en-us_topic_0045853756__b116111511161211">Historical Versions</strong>, select the desired object version, and click <strong id="en-us_topic_0045853756__b1318112914409">Permanently Delete</strong> above the search box. For details, see <a href="obs_03_0327.html#obs_03_0327__section29772226">Related Operations</a> or <a href="obs_03_0718.html">Configuring WORM Retention</a>.</p>
|
||||
</div></div>
|
||||
<ol type="a" id="en-us_topic_0045853756__ol1694911141313"><li id="en-us_topic_0045853756__li329516215438">Click <strong id="en-us_topic_0045853756__b1428610442012">Deleted Objects</strong>.</li><li id="en-us_topic_0045853756__li1725114121417">In the <strong id="en-us_topic_0045853756__b122564346399">Operation</strong> column of the file or folder to be deleted, click <strong id="en-us_topic_0045853756__b9196114171512">Permanently Delete</strong>.<p id="en-us_topic_0045853756__p63743352160">You can also select multiple files or folders and click <strong id="en-us_topic_0045853756__b12162648103917">Permanently Delete</strong> above the object list to batch delete them.</p>
|
||||
</li></ol>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<div class="section" id="en-us_topic_0066088957__section11587693153957"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0066088957__ol44271394154014"><li id="en-us_topic_0066088957__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="en-us_topic_0066088957__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="en-us_topic_0066088957__li71033711815"><span>In the navigation pane, choose <strong id="en-us_topic_0066088957__b10947143810180">Data Management</strong> > <strong id="en-us_topic_0066088957__b1094711380184">Static Website Hosting</strong>.</span></li><li id="en-us_topic_0066088957__li720344934317"><span>Click <strong id="en-us_topic_0066088957__b2757173664816">Configure Static Website Hosting</strong>. The <strong id="en-us_topic_0066088957__b3757143664814">Configure Static Website Hosting</strong> dialog box is displayed.</span></li><li id="en-us_topic_0066088957__li16729105453"><span>Enable <strong id="en-us_topic_0066088957__b14179153622818">Status</strong>.</span></li><li id="en-us_topic_0066088957__li19653234042"><span>Set <strong id="en-us_topic_0066088957__b222051572112">Hosting By</strong> to <strong id="en-us_topic_0066088957__b112228150214">Redirection</strong>, and enter the access domain name or URL of the bucket to which requests are redirected.</span><p><div class="fignone" id="en-us_topic_0066088957__fig176319621312"><span class="figcap"><b>Figure 1 </b>Configuring redirection</span><br><span><img id="en-us_topic_0066088957__image6645661320" src="en-us_image_0000002134970296.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</p></li><li id="en-us_topic_0066088957__li48239657155648"><span>Click <strong id="en-us_topic_0066088957__b36028660">OK</strong>.</span></li><li id="en-us_topic_0066088957__li21017577482"><span>In the bucket list, click the bucket to which requests for the static website are redirected.</span></li><li id="en-us_topic_0066088957__li7979161112555"><span>(<strong id="en-us_topic_0066088957__en-us_topic_0045853755_b1767112431919">Optional</strong>) If the static website files in the bucket are not accessible to everyone, perform this step. If they are already accessible to everyone, skip this step.</span><p><p id="en-us_topic_0066088957__en-us_topic_0045853755_p156700818227">To grant required permissions, see <a href="obs_03_0132.html">Granting Anonymous Users Permission to Access Objects</a>.</p>
|
||||
<p id="en-us_topic_0066088957__en-us_topic_0045853755_p117478486311">If the bucket contains only static website files, configure the <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b13141013123312">Object Read-Only</strong> policy for the bucket, so that all files in it are publicly accessible.</p>
|
||||
<ol type="a" id="en-us_topic_0066088957__en-us_topic_0045853755_ol19747448033"><li id="en-us_topic_0066088957__en-us_topic_0045853755_li127471148436">Choose <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b144153712291">Permissions</strong> > <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b11741194612299">Bucket Policies</strong>.</li><li id="en-us_topic_0066088957__en-us_topic_0045853755_li8259174363714">Click <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b1276486470">Create</strong>.</li><li id="en-us_topic_0066088957__en-us_topic_0045853755_li122461471357">Configure bucket policy information.
|
||||
<ol type="a" id="en-us_topic_0066088957__en-us_topic_0045853755_ol19747448033"><li id="en-us_topic_0066088957__en-us_topic_0045853755_li127471148436">Choose <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b144153712291">Permissions</strong> > <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b11741194612299">Bucket Policies</strong>.</li><li id="en-us_topic_0066088957__en-us_topic_0045853755_li8259174363714">Click <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b1410325630">Create</strong>.</li><li id="en-us_topic_0066088957__en-us_topic_0045853755_li122461471357">Configure bucket policy information.
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0066088957__en-us_topic_0045853755_table1513123965211" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for configuring a public read policy</caption><thead align="left"><tr id="en-us_topic_0066088957__en-us_topic_0045853755_row2131039105218"><th align="left" class="cellrowborder" colspan="2" valign="top" id="mcps1.3.3.2.8.2.3.3.1.2.4.1.1"><p id="en-us_topic_0066088957__en-us_topic_0045853755_p61311939165219">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" id="mcps1.3.3.2.8.2.3.3.1.2.4.1.2"><p id="en-us_topic_0066088957__en-us_topic_0045853755_p31311939145218">Description</p>
|
||||
|
||||
@ -12,9 +12,10 @@
|
||||
</div>
|
||||
<div class="section" id="obs_03_0002__section14840141181339"><h4 class="sectiontitle">Constraints</h4><p id="obs_03_0002__p51706951201127">Cross-region replication has the following constraints:</p>
|
||||
<ul id="obs_03_0002__ul11966603201218"><li id="obs_03_0002__li42866360205234">Only buckets of version 3.0 or later support cross-region replication. To check the bucket version, go to the <strong id="obs_03_0002__b2271161683219">Overview</strong> page of the bucket on OBS Console. Then you can view the bucket version in the <strong id="obs_03_0002__b152713167324">Basic Information</strong> area.</li><li id="obs_03_0002__li18566425205853">The source bucket and the destination bucket must belong to different regions separately. Data cannot be copied between buckets in the same region.</li><li id="obs_03_0002__li10298429571">Objects of the Cold storage class in the source bucket cannot be copied to the destination bucket through the cross-region replication function.</li><li id="obs_03_0002__li6643645201335">If the region where the destination bucket resides does not support the storage classes, object copies will be stored in the standard storage class.</li><li id="obs_03_0002__li40610889201447">The source and destination buckets must have the same versioning status.</li><li id="obs_03_0002__li51500545201552">Objects in a source bucket can be copied to only one destination bucket, and cannot be copied again from the destination bucket to another bucket. For example, bucket A and bucket B are in two different regions. You can copy data from bucket A to bucket B or the other way round. However, data copies in either bucket A or bucket B cannot be replicated anymore.</li><li id="obs_03_0002__li11992126115120">Object deletion actions made on the source bucket are usually not synchronized to the destination bucket when synchronous deletion of objects is disabled. The object deletion synchronization will happen only when both the source and destination buckets have versioning enabled and you delete an object from the source bucket without specifying a version.<p id="obs_03_0002__p1165317109511"><a name="obs_03_0002__li11992126115120"></a><a name="li11992126115120"></a>When synchronous deletion of objects is enabled, object deletion actions made on the source bucket will be synchronized to the destination bucket. Deleting an object from the source bucket also deletes the object from the destination bucket.</p>
|
||||
</li><li id="obs_03_0002__li19172854103610">For an enabled cross-region replication rule, if you change the versioning status of the destination bucket, the replication of objects will fail. If you want to change the versioning status of the source bucket, delete the replication configuration first, and then make the change.</li><li id="obs_03_0002__li3170892203040">Ensure that owners of the source and destination buckets have the read and write permissions to the two buckets. Otherwise, data cannot be synchronized. If the system does not have the permissions to read the source bucket or write the destination bucket due to read/write permission errors, objects cannot be copied successfully, and such replication will not be resumed even if the permission error is rectified.</li><li id="obs_03_0002__li46188933212111">For a source bucket, you can create only one cross-region replication rule that applies to the whole bucket for replication of all objects in the bucket. However, you can create a maximum of 100 cross-region replication rules based on object prefixes for the replication of objects that match the prefixes.</li><li id="obs_03_0002__li841240821272">OBS currently only supports the replication between one source bucket and one destination bucket. Replication from one source bucket to multiple destination buckets is not supported. The destination bucket can be modified. However, modifying the destination bucket will change the destination bucket of all existing rules.</li><li id="obs_03_0002__li1176416269455">If you delete the OBS agency for an enabled cross-region replication rule, the object replication will be in the <strong id="obs_03_0002__b1856693175111">FAILED</strong> status.</li><li id="obs_03_0002__li1896562917467">Do not delete, overwrite object replicas in the destination bucket, or modify their ACLs, which may cause inconsistency of latest object versions or permission control settings between the destination bucket and the source bucket.</li><li id="obs_03_0002__li85430238574">After a replication with <strong id="obs_03_0002__b8262184619192">Synchronize Existing Objects</strong> enabled is complete, if the replication policy keeps unchanged, any ACL changes of source objects will be synchronized to object copies. However, ACL changes of source historical objects will not be synchronized to the copies of historical objects.</li></ul>
|
||||
</li><li id="obs_03_0002__li19172854103610">For an enabled cross-region replication rule, if you change the versioning status of the destination bucket, the replication of objects will fail. If you want to change the versioning status of the source bucket, delete the replication configuration first, and then make the change.</li><li id="obs_03_0002__li3170892203040">Ensure that owners of the source and destination buckets have the read and write permissions to the two buckets. Otherwise, data cannot be synchronized. If the system does not have the permissions to read the source bucket or write the destination bucket due to read/write permission errors, objects cannot be copied successfully, and such replication will not be resumed even if the permission error is rectified.</li><li id="obs_03_0002__li46188933212111">For a source bucket, you can create only one cross-region replication rule that applies to the whole bucket for replication of all objects in the bucket. However, you can create a maximum of 100 cross-region replication rules based on object prefixes for the replication of objects that match the prefixes.</li><li id="obs_03_0002__li841240821272">OBS currently only supports the replication between one source bucket and one destination bucket. Replication from one source bucket to multiple destination buckets is not supported. The destination bucket can be modified. However, modifying the destination bucket will change the destination bucket of all existing rules.</li><li id="obs_03_0002__li1176416269455">If you delete the OBS agency for an enabled cross-region replication rule, the object replication will be in the <strong id="obs_03_0002__b1856693175111">FAILED</strong> status.</li><li id="obs_03_0002__li1896562917467">Do not delete, overwrite object replicas in the destination bucket, or modify their ACLs, which may cause inconsistency of latest object versions or permission control settings between the destination bucket and the source bucket.</li><li id="obs_03_0002__li85430238574">After a replication with <strong id="obs_03_0002__b8262184619192">Synchronize Existing Objects</strong> enabled is complete, if the replication policy keeps unchanged, any ACL changes of source objects will be synchronized to object copies. However, ACL changes of source historical objects will not be synchronized to the copies of historical objects.</li><li id="obs_03_0002__li4682445174314">If a copied object in the destination bucket is deleted and a new replication rule that allows replication of existing objects is configured within three days of the deletion, the same version of the deleted object will not be replicated to the destination bucket again.<p id="obs_03_0002__p52843592481"><a name="obs_03_0002__li4682445174314"></a><a name="li4682445174314"></a>For example, you first configure cross-region replication rule <strong id="obs_03_0002__b853795965216">1</strong> to replicate the current version of object <strong id="obs_03_0002__b6279328185213">test.txt</strong> from the source bucket to the destination bucket. Later, you delete <strong id="obs_03_0002__b14688173613526">test.txt</strong> from the destination bucket and delete rule <strong id="obs_03_0002__b382515570526">1</strong>. Two days afterward, you create cross-region replication rule <strong id="obs_03_0002__b567832275313">2</strong> that allows replication of existing objects. In this case, <strong id="obs_03_0002__b6353145035320">test.txt</strong> will not be replicated to the destination bucket again.</p>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0002__section699799185319"><h4 class="sectiontitle">Important Notes</h4><ul id="obs_03_0002__ul154713235418"><li id="obs_03_0002__li647112125412">If the cross-region replication rule is enabled but the function of synchronizing existing objects is disabled, the rule takes effect several minutes later. Objects uploaded during this period may not be replicated.</li><li id="obs_03_0002__li1741132825717">If the cross-region replication rule and the function of synchronizing existing objects are both enabled, existing objects will be replicated 5 minutes later.</li></ul>
|
||||
<div class="section" id="obs_03_0002__section699799185319"><h4 class="sectiontitle">Important Notes</h4><ul id="obs_03_0002__ul154713235418"><li id="obs_03_0002__li647112125412">If the cross-region replication rule is enabled but the function of synchronizing existing objects is disabled, there is a delay of about five minutes to apply the rule. Objects uploaded during that delay may not be replicated.</li><li id="obs_03_0002__li1741132825717">If the cross-region replication rule and the function of synchronizing existing objects are both enabled, existing objects will be replicated 5 minutes later.</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
<h1 class="topictitle1">Configuring Cross-Region Replication</h1>
|
||||
<div id="body1516351604726"><p id="obs_03_0003__p131341258783">To replicate objects from a source bucket to a destination bucket in a different region, you can configure a single cross-region replication rule that is applied to all objects in the bucket, or you can configure multiple rules that are applied to a set of objects by specifying a prefix.</p>
|
||||
<div class="note" id="obs_03_0003__note16838440184619"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0003__p188381540184612">A cross-region replication rule may not take effect immediately upon its configuration. Accordingly, the objects that this rule is applied to may not be replicated immediately after the rule is configured.</p>
|
||||
<p id="obs_03_0003__p1658103193315">Buckets with WORM enabled do not support cross-region replication.</p>
|
||||
</div></div>
|
||||
<div class="section" id="obs_03_0003__section32125925213719"><h4 class="sectiontitle">Prerequisites</h4><p id="obs_03_0003__p117778964719">The source bucket version is 3.0 or later, and cross-region replication is available in the region of the source bucket. </p>
|
||||
</div>
|
||||
@ -23,7 +24,7 @@
|
||||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><p id="obs_03_0003__p1916994016120">Replicate</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.4.2.1.2.4.1.2 "><p id="obs_03_0003__p816934011115">Indicates the objects the rule will apply to.</p>
|
||||
<ul id="obs_03_0003__ul3169174015119"><li id="obs_03_0003__li316915403117"><strong id="obs_03_0003__b867020156">All objects</strong>: The rule applies to all objects in the bucket.</li><li id="obs_03_0003__li4169204013113"><strong id="obs_03_0003__b9219247824">Match by prefix</strong>: The rule applies only to objects with the specified prefix.</li></ul>
|
||||
<ul id="obs_03_0003__ul3169174015119"><li id="obs_03_0003__li316915403117"><strong id="obs_03_0003__b1066613031">All objects</strong>: The rule applies to all objects in the bucket.</li><li id="obs_03_0003__li4169204013113"><strong id="obs_03_0003__b9219247824">Match by prefix</strong>: The rule applies only to objects with the specified prefix.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0003__row41691340513"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><p id="obs_03_0003__p1216914401512">Prefix</p>
|
||||
|
||||
@ -6,7 +6,9 @@
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0009.html">Monitoring OBS</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0010.html">OBS Monitoring Metrics</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0010.html">Monitored OBS Metrics</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_063603.html">Monitored OBS Events</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -6,12 +6,12 @@
|
||||
<div class="fignone" id="obs_03_0009__fig203414262328"><span class="figcap"><b>Figure 1 </b>Cloud Eye monitoring</span><br><span><img id="obs_03_0009__image1944715455110" src="en-us_image_0198863546.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0009__section667020353411"><h4 class="sectiontitle">Setting Alarm Rules</h4><p id="obs_03_0009__p176015241700">In addition to automatic and real-time monitoring, you can configure alarm rules in Cloud Eye to receive alarm notifications when there are exceptions.</p>
|
||||
<p id="obs_03_0009__p2640168819">For details, see <a href="https://docs.otc.t-systems.com/cloud-eye/umn/using_the_alarm_function/creating_alarm_rules/index.html" target="_blank" rel="noopener noreferrer">Creating Alarm Rules</a> in <em id="obs_03_0009__i736314399519">Cloud Eye User Guide</em>.</p>
|
||||
<p id="obs_03_0009__obs_03_0009_p1154616512194">For details about how to configure alarm rules for monitoring over OBS, see <a href="https://docs.otc.t-systems.com/cloud-eye/umn/using_the_alarm_function/creating_alarm_rules/index.html" target="_blank" rel="noopener noreferrer">Creating Alarm Rules</a> in <em id="obs_03_0009__i149842181517">Cloud Eye User Guide</em>.</p>
|
||||
<p id="obs_03_0009__p775191975810">On Cloud Eye, you can configure alarm rules for events. When specified events happen, you will receive alarm notifications. For details, see section "Creating an Alarm Rule to Monitor an Event" in <em id="obs_03_0009__i49045426373">Cloud Eye User Guide</em>.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0009__section12135192795316"><h4 class="sectiontitle">Viewing OBS Monitoring Metrics</h4><p id="obs_03_0009__p15766163865313">Cloud Eye monitors <a href="obs_03_0010.html">OBS monitoring metrics</a> in real time. You can view detailed monitoring statistics of each metric on the console of Cloud Eye.</p>
|
||||
<p id="obs_03_0009__p1631113181197">For details, see <a href="https://docs.otc.t-systems.com/cloud-eye/umn/getting_started/querying_metrics_of_a_cloud_service.html" target="_blank" rel="noopener noreferrer">Querying Metrics of a Cloud Service</a> in <em id="obs_03_0009__i1074416409142">Cloud Eye User Guide</em>.</p>
|
||||
<p id="obs_03_0009__p229112311715">Cloud Eye monitors <a href="obs_03_0010.html#obs_03_0010__table8416453141519">OBS events</a> in real time. You can view the monitoring data on the Cloud Eye console. For details, see section "Viewing Event Monitoring Data" in <em id="obs_03_0009__i732953835715">Cloud Eye User Guide</em>.</p>
|
||||
<p id="obs_03_0009__obs_03_0009_p124837710207">For details about how to view OBS monitoring metrics, see <a href="https://docs.otc.t-systems.com/cloud-eye/umn/getting_started/querying_metrics_of_a_cloud_service.html" target="_blank" rel="noopener noreferrer">Querying Metrics of a Cloud Service</a> in <em id="obs_03_0009__i19555224192819">Cloud Eye User Guide</em>.</p>
|
||||
<p id="obs_03_0009__p229112311715">Cloud Eye monitors <a href="obs_03_063603.html#obs_03_063603__table13653193214714">OBS events</a> in real time. You can view the monitoring data on the Cloud Eye console. For details, see section "Viewing Event Monitoring Data" in <em id="obs_03_0009__i732953835715">Cloud Eye User Guide</em>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
<a name="obs_03_0032"></a><a name="obs_03_0032"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring a User-Defined Domain Name</h1>
|
||||
<div id="body0000001508343717"><div class="section" id="obs_03_0032__section541719774011"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0032__ol7482417101117"><li id="obs_03_0032__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0032__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0032__li13225103917434"><span>In the navigation pane, choose <strong id="obs_03_0032__b112571336227">Domain Name Mgmt</strong>.</span></li><li id="obs_03_0032__li1780214214274"><span>Click <strong id="obs_03_0032__b19612476319">Configure User Domain Name</strong> in the upper part of the page. Then, enter the domain name to configure, as shown in <a href="#obs_03_0032__fig53010339108">Figure 1</a>. </span><p><p id="obs_03_0032__p7863173592419">The suffix of a user-defined domain name can contain 2 to 6 uppercase or lowercase letters.</p>
|
||||
<div id="body0000001508343717"><div class="section" id="obs_03_0032__section541719774011"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0032__ol7482417101117"><li id="obs_03_0032__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0032__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0032__li13225103917434"><span>In the navigation pane, choose <strong id="obs_03_0032__b112571336227">Domain Name Mgmt</strong>.</span></li><li id="obs_03_0032__li1780214214274"><span>Click <strong id="obs_03_0032__b19612476319">Configure User Domain Name</strong> in the upper part of the page. Then, enter the domain name to configure, as shown in <a href="#obs_03_0032__fig53010339108">Figure 1</a>. </span><p><p id="obs_03_0032__p7863173592419">The suffix of a user-defined domain name can contain 2 to 6 uppercase or lowercase letters.</p>
|
||||
<div class="fignone" id="obs_03_0032__fig53010339108"><a name="obs_03_0032__fig53010339108"></a><a name="fig53010339108"></a><span class="figcap"><b>Figure 1 </b>Configuring a user-defined domain name</span><br><span><img id="obs_03_0032__image1886212815184" src="en-us_image_0000001458743966.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</p></li><li id="obs_03_0032__li417413617312"><span>Click <strong id="obs_03_0032__b514602912318">OK</strong>.</span></li><li id="obs_03_0032__li313135810364"><span>Configure a CNAME record on the DNS, and map the user-defined domain name (for example, <strong id="obs_03_0032__b148053833110">example.com</strong>) to the domain name of the bucket. </span><p><p id="obs_03_0032__p161095613225">The CNAME configuration varies depending on DNS providers. For details, contact your DNS provider.</p>
|
||||
</p></li></ol>
|
||||
|
||||
@ -175,7 +175,7 @@
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.5.1.2 "><p id="obs_03_0051__p18562202411317">Configures CORS for a bucket.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0051__row192012324247"><td class="cellrowborder" rowspan="2" valign="top" headers="mcps1.3.4.2.2.5.1.1 "><p id="obs_03_0051__p666632714125">Message notifications</p>
|
||||
<tr id="obs_03_0051__row192012324247"><td class="cellrowborder" rowspan="2" valign="top" headers="mcps1.3.4.2.2.5.1.1 "><p id="obs_03_0051__p666632714125">Event notifications</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.5.1.2 "><p id="obs_03_0051__p1857172417316">GetBucketNotification</p>
|
||||
</td>
|
||||
@ -232,12 +232,12 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.5.1.2 "><p id="obs_03_0051__p55751524631">GetEncryptionConfiguration</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.5.1.2 "><p id="obs_03_0051__p115754240310">Obtains the <span id="obs_03_0051__ph480463409">server-side encryption</span> configuration of a bucket.</p>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.5.1.2 "><p id="obs_03_0051__p115754240310">Obtains the <span id="obs_03_0051__ph770977283">server-side encryption</span> configuration of a bucket.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0051__row5149925131210"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.5.1.1 "><p id="obs_03_0051__p4575112416310">PutEncryptionConfiguration</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.5.1.2 "><p id="obs_03_0051__p35759247314">Configures <span id="obs_03_0051__ph825222578">server-side encryption</span> for a bucket.</p>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.5.1.2 "><p id="obs_03_0051__p35759247314">Configures <span id="obs_03_0051__ph1563752395">server-side encryption</span> for a bucket.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0051__row157051221165210"><td class="cellrowborder" rowspan="2" valign="top" headers="mcps1.3.4.2.2.5.1.1 "><p id="obs_03_0051__p37051721115217">Default bucket retention policy</p>
|
||||
|
||||
@ -24,6 +24,11 @@
|
||||
<td class="cellrowborder" valign="top" width="66%" headers="mcps1.3.2.2.3.1.2 "><p id="obs_03_0054__p163685064420">Encrypts objects on the server side to enhance the security of objects stored in OBS.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0054__row1444619623214"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_03_0054__p17447126133219"><a href="obs_03_0717.html">WORM</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66%" headers="mcps1.3.2.2.3.1.2 "><p id="obs_03_0054__p1044796153219">Protects objects from being deleted or tampered with within a specified period.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0054__row15997147101011"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_03_0054__p4032719153544"><a href="obs_03_0323.html">Object metadata</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="66%" headers="mcps1.3.2.2.3.1.2 "><p id="obs_03_0054__p58214831153544">Allows you to set properties for objects.</p>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<p id="obs_03_0081__p2058382155214">The following is an example about how to grant other accounts bucket access and object upload permissions.</p>
|
||||
<div class="note" id="obs_03_0081__note13614125415289"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0081__p10614165402811">To grant permissions to IAM users under other accounts, you need to configure both bucket policies and <span id="obs_03_0081__ph16990133392417">IAM policies</span>.</p>
|
||||
<ol id="obs_03_0081__ol7853716103516"><li id="obs_03_0081__li685301693514">Configure a bucket policy to allow IAM users to access the bucket.</li><li id="obs_03_0081__li888244323516">Configure <span id="obs_03_0081__ph135373523355">IAM policies</span> for the account where authorized IAM users belong, to allow the IAM users to access the bucket.</li></ol>
|
||||
<p id="obs_03_0081__p1345162763720">Only permissions that are allowed by both the bucket policy and <span id="obs_03_0081__ph5939236183712">IAM policies</span> can take effect.</p>
|
||||
<p id="obs_03_0081__p1345162763720">Only permissions that are allowed by both the bucket policy and <span style="color:#3D3F43;" id="obs_03_0081__ph5939236183712">IAM policies</span> can take effect.</p>
|
||||
</div></div>
|
||||
<div class="section" id="obs_03_0081__section678105933417"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0081__ol37231014359"><li id="obs_03_0081__li772421203518"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0081__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0081__li61722017207"><span>In the navigation pane, choose <strong id="obs_03_0081__b103483237186">Permissions</strong> > <strong id="obs_03_0081__b1634817239181">Bucket Policies</strong>.</span></li><li id="obs_03_0081__li516619375538"><span>Click <strong id="obs_03_0081__b144021546">Create</strong>.</span></li><li id="obs_03_0081__li175411318101914"><span>Configure parameters listed in the table below to grant other accounts the permissions to access the bucket (to list objects in the bucket) and to upload objects.</span><p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0081__table6375112782815" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for granting the object listing and upload permissions</caption><thead align="left"><tr id="obs_03_0081__row6375927132818"><th align="left" class="cellrowborder" valign="top" width="21.84%" id="mcps1.3.4.2.4.2.1.2.3.1.1"><p id="obs_03_0081__p53691664195">Parameter</p>
|
||||
|
||||
@ -80,7 +80,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0083__section14172191411423"><a name="obs_03_0083__section14172191411423"></a><a name="section14172191411423"></a><h4 class="sectiontitle">Inventory File Name</h4><p id="obs_03_0083__p13914676286">The name of an inventory file is in the following format:</p>
|
||||
<pre class="screen" id="obs_03_0083__screen295812410458">destinationPrefix/sourceBucketName/inventoryId/yyyy-MM-dd'T'HH-mm'Z'/files/UUID_index.csv</pre>
|
||||
<pre class="screen" id="obs_03_0083__screen295812410458"><span style="color:#FF0000;">destinationPrefix</span>/<span style="color:#FF0000;">sourceBucketName</span>/<span style="color:#FF0000;">inventoryId</span>/<span style="color:#FF0000;">yyyy-MM-dd'T'HH-mm'Z'</span>/files/<span style="color:#FF0000;">UUID_index</span>.csv</pre>
|
||||
<ul id="obs_03_0083__ul1947285194914"><li id="obs_03_0083__li14266125514491"><em id="obs_03_0083__i316019571683">destinationPrefix</em> indicates the prefix specified in the inventory configuration, which can be used to group inventory files. If no prefix is specified, the default prefix is <strong id="obs_03_0083__b129161247645">BucketInventory</strong>.</li><li id="obs_03_0083__li430385764915"><em id="obs_03_0083__i837963416113">sourceBucketName</em> indicates the source bucket for which the inventory is configured. This field can prevent conflicts when inventory files of different source buckets are saved to the same destination bucket.</li><li id="obs_03_0083__li12702105884919"><em id="obs_03_0083__i45955416161">inventoryId</em> can prevent conflicts when multiple inventory files of the same source bucket are sent to the same destination bucket.</li><li id="obs_03_0083__li20472115134916"><em id="obs_03_0083__i9633613171819">yyyy-MM-dd'T'HH-mm'Z'</em> indicates the start time and date when the inventory generation begins scanning the bucket. Objects uploaded to the source bucket after this time may not be listed in the inventory file.</li><li id="obs_03_0083__li134901541825"><strong id="obs_03_0083__b18969133216513">UUID_index.csv</strong> indicates one of the inventory files.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0083__section265932074213"><h4 class="sectiontitle">The manifest.json File</h4><p id="obs_03_0083__p112396417419">If there are a large number of objects in a bucket, multiple inventory files may be generated for a single inventory configuration. It takes some time to generate these files. For example, if there are 200,000 objects in a bucket, it will take about 1.5 minutes to generate all inventory files. One or two hours after all inventory files are generated, a <strong id="obs_03_0083__b1497103219496">manifest.json</strong> file will be generated. The <strong id="obs_03_0083__b79773214912">manifest.json</strong> file contains information about all inventory files generated this time, including:</p>
|
||||
@ -101,7 +101,7 @@
|
||||
}</pre>
|
||||
</div>
|
||||
<p id="obs_03_0083__p1940417175216">The name of the <strong id="obs_03_0083__b3622154919553">manifest.json</strong> file is as follows (for details about each field, see <a href="#obs_03_0083__section14172191411423">Inventory File Name</a>):</p>
|
||||
<pre class="screen" id="obs_03_0083__screen228016318523">destinationPrefix/sourceBucketName/inventoryId/yyyy-MM-dd'T'HH-mm'Z'/manifest.json</pre>
|
||||
<pre class="screen" id="obs_03_0083__screen228016318523"><span style="color:#FF0000;">destinationPrefix</span>/<span style="color:#FF0000;">sourceBucketName</span>/<span style="color:#FF0000;">inventoryId</span>/<span style="color:#FF0000;">yyyy-MM-dd'T'HH-mm'Z'</span>/manifest.json</pre>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0083__section1497633735818"><h4 class="sectiontitle">The symlink.txt File</h4><p id="obs_03_0083__p3585155511582">The <strong id="obs_03_0083__b934317263217">symlink.txt</strong> file records the path of an inventory file. It helps quickly find all inventory files in big data scenarios. Apache Hive is compatible with the <strong id="obs_03_0083__b346614171081">symlink.txt</strong> file. Hive can automatically find the <strong id="obs_03_0083__b1462242885">symlink.txt</strong> file and the inventory files recorded in it.</p>
|
||||
<p id="obs_03_0083__p77111930132917">The name of the <strong id="obs_03_0083__b1549120378515">symlink.txt</strong> file is as follows (for details about each field, see <a href="#obs_03_0083__section14172191411423">Inventory File Name</a>):</p>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</p></li><li id="obs_03_0084__li1559913210302"><span>Click <strong id="obs_03_0084__b164701118144317">Next</strong> to go to the <strong id="obs_03_0084__b13470191854311">Configure Report</strong> page.</span></li><li id="obs_03_0084__li14554324201319"><span>Configure the report.</span><p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0084__table2075795382319" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Report related parameters</caption><thead align="left"><tr id="obs_03_0084__row775813535231"><th align="left" class="cellrowborder" valign="top" width="29.360000000000003%" id="mcps1.3.1.2.6.2.1.2.3.1.1"><p id="obs_03_0084__p375875312236">Parameter</p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0084__table2075795382319" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters for configuring a report</caption><thead align="left"><tr id="obs_03_0084__row775813535231"><th align="left" class="cellrowborder" valign="top" width="29.360000000000003%" id="mcps1.3.1.2.6.2.1.2.3.1.1"><p id="obs_03_0084__p375875312236">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="70.64%" id="mcps1.3.1.2.6.2.1.2.3.1.2"><p id="obs_03_0084__p1875865316238">Description</p>
|
||||
</th>
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
<div id="body1551323631371"><p id="obs_03_0088__p725032142814">You can configure <span id="obs_03_0088__ph35853212352">server-side encryption</span> for an OBS bucket. Once configured, any objects you upload to the bucket will be encrypted with the specified KMS key by default.</p>
|
||||
<p id="obs_03_0088__p855995918245">You can enable <span id="obs_03_0088__ph76241255357">server-side encryption</span> when creating a bucket (see <a href="en-us_topic_0045853662.html">Creating a Bucket</a>). You can also enable or disable <span id="obs_03_0088__ph15299198203519">server-side encryption</span> for an existing bucket.</p>
|
||||
<p id="obs_03_0088__p4926171015014">OBS only encrypts the objects uploaded after <span id="obs_03_0088__ph2642131020355">server-side encryption</span> is enabled for the bucket, and does not encrypt those uploaded before. After <span id="obs_03_0088__ph9795412123510">server-side encryption</span> is disabled, encryption status of existing objects in the bucket remains unchanged, and you can still encrypt objects when you upload them.</p>
|
||||
<div class="section" id="obs_03_0088__section3892114117330"><h4 class="sectiontitle">Enabling <span id="obs_03_0088__ph1914818285355">Server-Side Encryption</span> for a Bucket</h4><ol id="obs_03_0088__ol93829311363"><li id="obs_03_0088__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0088__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0088__li15832125015014"><span>In the navigation pane, choose <strong id="obs_03_0088__obs_03_0143_b4304113864518">Overview</strong>.</span></li><li id="obs_03_0088__li18830181855820"><span>In the <strong id="obs_03_0088__b10552101324412">Basic Configurations</strong> area, click <strong id="obs_03_0088__b164344316445"><span id="obs_03_0088__ph1155833018354">Server-Side Encryption</span></strong>. The <strong id="obs_03_0088__b899434564413"><span id="obs_03_0088__ph17186171961312">Server-Side Encryption</span></strong> dialog box is displayed.</span></li><li id="obs_03_0088__li119331042183713"><span>Select <strong id="obs_03_0088__b1409193114">SSE-KMS</strong>.</span><p><p id="obs_03_0088__p452915569418">You can select <strong id="obs_03_0088__b5787204162314">Default</strong> to use the default key in the current region to encrypt the objects you upload. If you do not have a default key, OBS automatically creates one the first time you upload an object. You can also choose <strong id="obs_03_0088__b137101992420">Custom</strong> to use a custom key for encryption. If there is no custom key available, click <strong id="obs_03_0088__b14096811149">Create KMS Key</strong> to create one.</p>
|
||||
<div class="section" id="obs_03_0088__section3892114117330"><h4 class="sectiontitle">Enabling <span id="obs_03_0088__ph1914818285355">Server-Side Encryption</span> for a Bucket</h4><ol id="obs_03_0088__ol93829311363"><li id="obs_03_0088__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0088__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0088__li15832125015014"><span>In the navigation pane, choose <strong id="obs_03_0088__b32041644278">Overview</strong>.</span></li><li id="obs_03_0088__li18830181855820"><span>In the <strong id="obs_03_0088__b10552101324412">Basic Configurations</strong> area, click <strong id="obs_03_0088__b164344316445"><span id="obs_03_0088__ph1155833018354">Server-Side Encryption</span></strong>. The <strong id="obs_03_0088__b899434564413"><span id="obs_03_0088__ph17186171961312">Server-Side Encryption</span></strong> dialog box is displayed.</span></li><li id="obs_03_0088__li119331042183713"><span>Select <strong id="obs_03_0088__b1409193114">SSE-KMS</strong>.</span><p><p id="obs_03_0088__p452915569418">You can select <strong id="obs_03_0088__b5787204162314">Default</strong> to use the default key in the current region to encrypt the objects you upload. If you do not have a default key, OBS creates one the first time you upload an object. You can also choose <strong id="obs_03_0088__b137101992420">Custom</strong> to use a custom key for encryption. If there is no custom key available, click <strong id="obs_03_0088__b19803145113141">Create KMS Key</strong> to create one on the <span id="obs_03_0088__ph10411204110261">KMS</span> console. Then, go back here and choose the created key from the drop-down list.</p>
|
||||
</p></li><li id="obs_03_0088__li950544814498"><span>Click <strong id="obs_03_0088__b74262294910">OK</strong>.</span></li></ol>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0088__section1434134116310"><h4 class="sectiontitle">Disabling <span id="obs_03_0088__ph3271153543515">Server-Side Encryption</span> for a Bucket</h4><ol id="obs_03_0088__ol03353441319"><li id="obs_03_0088__li133617442311"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0088__obs_03_0307_b5948183711913_1">Objects</strong> page.</span></li><li id="obs_03_0088__li15253133115165"><span>In the navigation pane, choose <strong id="obs_03_0088__obs_03_0143_b4304113864518_1">Overview</strong>.</span></li><li id="obs_03_0088__li11336244153118"><span>In the <strong id="obs_03_0088__b1210912531711">Basic Configurations</strong> area, click <strong id="obs_03_0088__b4851101364518"><span id="obs_03_0088__ph12583437183520">Server-Side Encryption</span></strong>. The <strong id="obs_03_0088__b38355151457"><span id="obs_03_0088__ph12465113914353">Server-Side Encryption</span></strong> dialog box is displayed.</span></li><li id="obs_03_0088__li18336114433120"><span>Select <strong id="obs_03_0088__b622920587287">Disable</strong>.</span></li><li id="obs_03_0088__li93366443315"><span>Click <strong id="obs_03_0088__b1676279767">OK</strong>.</span></li></ol>
|
||||
<div class="section" id="obs_03_0088__section1434134116310"><h4 class="sectiontitle">Disabling <span id="obs_03_0088__ph3271153543515">Server-Side Encryption</span> for a Bucket</h4><ol id="obs_03_0088__ol03353441319"><li id="obs_03_0088__li133617442311"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0088__obs_03_0307_b5948183711913_1">Objects</strong> page.</span></li><li id="obs_03_0088__li14868130122019"><span>In the navigation pane, choose <strong id="obs_03_0088__b62014487712">Overview</strong>.</span></li><li id="obs_03_0088__li11336244153118"><span>In the <strong id="obs_03_0088__b1210912531711">Basic Configurations</strong> area, click <strong id="obs_03_0088__b4851101364518"><span id="obs_03_0088__ph12583437183520">Server-Side Encryption</span></strong>. The <strong id="obs_03_0088__b38355151457"><span id="obs_03_0088__ph12465113914353">Server-Side Encryption</span></strong> dialog box is displayed.</span></li><li id="obs_03_0088__li18336114433120"><span>Select <strong id="obs_03_0088__b622920587287">Disable</strong>.</span></li><li id="obs_03_0088__li93366443315"><span>Click <strong id="obs_03_0088__b1275285257">OK</strong>.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="obs_03_0102"></a><a name="obs_03_0102"></a>
|
||||
|
||||
<h1 class="topictitle1">About Object Metadata Content-Type</h1>
|
||||
<div id="body1555468610732"><p id="obs_03_0102__p8060118">When an object is uploaded to OBS, the system automatically matches the value of <strong id="obs_03_0102__b1993210171105">Content-Type</strong> based on the file name extension of the object. When you access an object through a web browser, the system specifies an application to open the object according to the value of <strong id="obs_03_0102__b1328749191110">Content-Type</strong>. You can modify the <strong id="obs_03_0102__b1022016021216">Content-Type</strong> of an object based on its file name extension.</p>
|
||||
<div id="body1555468610732"><p id="obs_03_0102__p8060118">When an object is uploaded to <span id="obs_03_0102__ph18231025193512">OBS</span>, OBS automatically assigns a <strong id="obs_03_0102__b196028164110">Content-Type</strong> based on the object's file name extension. When you access the object through a web browser, the browser relies on the <strong id="obs_03_0102__b1328749191110">Content-Type</strong> to decide how to handle or display the object. You can change the object's <strong id="obs_03_0102__b197692923815">Content-Type</strong> based on its file name extension.</p>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0102__table158781830912" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Common Content-Type values</caption><thead align="left"><tr id="obs_03_0102__row3878630816"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.5.1.1"><p id="obs_03_0102__p1478218955016">File Name Extension</p>
|
||||
</th>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0325.html">Relationship Between a Bucket ACL and a Bucket Policy</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0114.html">Which Permissions Apply When They Conflict?</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0114.html">Which Access Control Policies Apply When They Conflict?</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="obs_03_0114"></a><a name="obs_03_0114"></a>
|
||||
|
||||
<h1 class="topictitle1">Which Permissions Apply When They Conflict?</h1>
|
||||
<div id="body1557026128761"><ul id="obs_03_0114__ul1185245885810"><li id="obs_03_0114__li1485217585589">Based on the principle of least privilege, the default access control result is always deny, and an explicit deny statement always takes precedence over an allow statement.<p id="obs_03_0114__p2366102212325"><a name="obs_03_0114__li1485217585589"></a><a name="li1485217585589"></a>Suppose that <span id="obs_03_0114__ph9419171385810">IAM policies</span> grant a user the access to an object, a bucket policy denies the user's access to that object, and there is no ACL configured. Then user's access to the object will be denied.</p>
|
||||
<h1 class="topictitle1">Which Access Control Policies Apply When They Conflict?</h1>
|
||||
<div id="body1557026128761"><ul id="obs_03_0114__ul1185245885810"><li id="obs_03_0114__li1485217585589">According to the principle of least privilege, the default access control result is "Deny", and an explicit deny statement always takes precedence over an allow statement.<p id="obs_03_0114__p2366102212325"><a name="obs_03_0114__li1485217585589"></a><a name="li1485217585589"></a>Suppose that <span id="obs_03_0114__ph9419171385810">IAM policies</span> grant a user the access to an object, a bucket policy denies the user's access to that object, and there is no ACL configured. Then user's access to the object will be denied.</p>
|
||||
</li><li id="obs_03_0114__li571572145912">If no method specifies an allow statement, then the request will be denied by default. Only if no method specifies a deny statement and one or more methods specify an allow statement, will the request be allowed.<p id="obs_03_0114__p1416134111327"><a name="obs_03_0114__li571572145912"></a><a name="li571572145912"></a>For example, if a bucket has multiple bucket policies with allow statements, the adding of a new bucket policy with an allow statement will simply add the allowed permissions to the bucket, but the adding of a new bucket policy with a deny statement will result in a re-arrangement of the permissions. The deny statement will take precedence over allowed statements, even the denied permissions are allowed in other bucket policies.</p>
|
||||
</li></ul>
|
||||
<div class="fignone" id="obs_03_0114__fig137808145374"><span class="figcap"><b>Figure 1 </b>Authorization process</span><br><span><img id="obs_03_0114__image1291856165214" src="en-us_image_0168203499.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Configuring Fine-Grained Policies</h1>
|
||||
<div id="body1558000364828"><p id="obs_03_0121__p221854795715">Custom policies can be created to supplement the system-defined policies of OBS.</p>
|
||||
<p id="obs_03_0121__p12902144114010">For details, see <a href="https://docs.otc.t-systems.com/identity-access-management/umn/user_guide/fine-grained_policy_management/creating_a_custom_policy.html" target="_blank" rel="noopener noreferrer">Creating a Custom Policy</a>. The following provides examples of common OBS custom policies.</p>
|
||||
<p id="obs_03_0121__p12902144114010">For details, see <a href="https://docs.otc.t-systems.com/identity-access-management/umn/user_guide/permissions/creating_a_custom_policy.html" target="_blank" rel="noopener noreferrer">Creating a Custom Policy</a>. The following provides examples of common OBS custom policies.</p>
|
||||
<div class="section" id="obs_03_0121__section10809111016198"><h4 class="sectiontitle">Example Custom Policies</h4><ul id="obs_03_0121__ul10182135619226"><li id="obs_03_0121__li14253426192520">Example 1: Grant users all OBS permissions.<div class="p" id="obs_03_0121__p6249182711253"><a name="obs_03_0121__li14253426192520"></a><a name="li14253426192520"></a>This policy allows users to perform any operation on OBS.<pre class="screen" id="obs_03_0121__screen6554143215243">{
|
||||
"Version": "1.1",
|
||||
"Statement": [
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Configuring a Custom Bucket Policy (Common Mode)</h1>
|
||||
<div id="body1499753333226"><p id="obs_03_0123__p1877105055517">You can customize bucket policies based on your needs. A custom bucket policy consists of five basic elements: effect, principals, resources, actions, and conditions.</p>
|
||||
<p class="MsoNormal" id="obs_03_0123__p3712241">This section describes how to configure a custom bucket policy in common mode (GUI).</p>
|
||||
<div class="section" id="obs_03_0123__section863012106528"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0123__ol9130739125216"><li id="obs_03_0123__li3130173917521"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0123__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0123__li2130163985211"><span>In the navigation pane, choose <strong id="obs_03_0123__b195678483548">Permissions</strong> > <strong id="obs_03_0123__b1156754875415">Bucket Policies</strong>.</span></li><li id="obs_03_0123__li1613123917529"><span>Click <strong id="obs_03_0123__b971982869">Create</strong>.</span></li><li id="obs_03_0123__li113114397528"><span>Configure a bucket policy.</span><p><div class="fignone" id="obs_03_0123__fig162996487597"><span class="figcap"><b>Figure 1 </b>Configuring a bucket policy</span><br><span><img id="obs_03_0123__image12991848105914" src="en-us_image_0000002150539585.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
<div class="section" id="obs_03_0123__section863012106528"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0123__ol9130739125216"><li id="obs_03_0123__li3130173917521"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0123__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0123__li2130163985211"><span>In the navigation pane, choose <strong id="obs_03_0123__b195678483548">Permissions</strong> > <strong id="obs_03_0123__b1156754875415">Bucket Policies</strong>.</span></li><li id="obs_03_0123__li1613123917529"><span>Click <strong id="obs_03_0123__b990699267">Create</strong>.</span></li><li id="obs_03_0123__li113114397528"><span>Configure a bucket policy.</span><p><div class="fignone" id="obs_03_0123__fig162996487597"><span class="figcap"><b>Figure 1 </b>Configuring a bucket policy</span><br><span><img id="obs_03_0123__image12991848105914" src="en-us_image_0000002150539585.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0123__table1513123965211" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for configuring a custom bucket policy</caption><thead align="left"><tr id="obs_03_0123__row2131039105218"><th align="left" class="cellrowborder" valign="top" width="21.84%" id="mcps1.3.3.2.4.2.2.2.3.1.1"><p id="obs_03_0123__p31321633943">Parameter</p>
|
||||
</th>
|
||||
@ -23,7 +23,7 @@
|
||||
</tr>
|
||||
<tr id="obs_03_0123__row013133916528"><td class="cellrowborder" valign="top" width="21.84%" headers="mcps1.3.3.2.4.2.2.2.3.1.1 "><p id="obs_03_0123__p613183935210">Effect</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.16%" headers="mcps1.3.3.2.4.2.2.2.3.1.2 "><ul id="obs_03_0123__ul013119390521"><li id="obs_03_0123__li613173911524"><strong id="obs_03_0123__b185613388442">Allow</strong>: The policy allows the matched requests.</li><li id="obs_03_0123__li9131639115213"><strong id="obs_03_0123__b1198311712">Deny</strong>: The policy denies the matched requests.</li></ul>
|
||||
<td class="cellrowborder" valign="top" width="78.16%" headers="mcps1.3.3.2.4.2.2.2.3.1.2 "><ul id="obs_03_0123__ul013119390521"><li id="obs_03_0123__li613173911524"><strong id="obs_03_0123__b185613388442">Allow</strong>: The policy allows the matched requests.</li><li id="obs_03_0123__li9131639115213"><strong id="obs_03_0123__b805246742">Deny</strong>: The policy denies the matched requests.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0123__row16131173925212"><td class="cellrowborder" valign="top" width="21.84%" headers="mcps1.3.3.2.4.2.2.2.3.1.1 "><p id="obs_03_0123__p1713163975217">Principals</p>
|
||||
|
||||
@ -49,12 +49,12 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_03_0136__row811513258484"><td class="cellrowborder" valign="top" width="27.47%" headers="mcps1.3.3.2.7.2.1.2.3.1.1 "><p id="obs_03_0136__p9115142594814">Policy Mode</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="72.53%" headers="mcps1.3.3.2.7.2.1.2.3.1.2 "><p id="obs_03_0136__p1611542518488"><strong id="obs_03_0136__b1810077391">Customized</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="72.53%" headers="mcps1.3.3.2.7.2.1.2.3.1.2 "><p id="obs_03_0136__p1611542518488"><strong id="obs_03_0136__b1400823171">Customized</strong></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0136__row1711512514810"><td class="cellrowborder" valign="top" width="27.47%" headers="mcps1.3.3.2.7.2.1.2.3.1.1 "><p id="obs_03_0136__p511511252487">Effect</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="72.53%" headers="mcps1.3.3.2.7.2.1.2.3.1.2 "><p id="obs_03_0136__p711532510482"><strong id="obs_03_0136__b910843825">Allow</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="72.53%" headers="mcps1.3.3.2.7.2.1.2.3.1.2 "><p id="obs_03_0136__p711532510482"><strong id="obs_03_0136__b821720017">Allow</strong></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0136__row1115122518484"><td class="cellrowborder" valign="top" width="27.47%" headers="mcps1.3.3.2.7.2.1.2.3.1.1 "><p id="obs_03_0136__p1011552504817"><strong id="obs_03_0136__b7578192115249">Principal</strong></p>
|
||||
@ -64,12 +64,12 @@
|
||||
</tr>
|
||||
<tr id="obs_03_0136__row1811522524818"><td class="cellrowborder" valign="top" width="27.47%" headers="mcps1.3.3.2.7.2.1.2.3.1.1 "><p id="obs_03_0136__p31151725114811"><strong id="obs_03_0136__b9181154132420">Resources</strong></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="72.53%" headers="mcps1.3.3.2.7.2.1.2.3.1.2 "><ul id="obs_03_0136__ul71161425124816"><li id="obs_03_0136__li10116172511483"><strong id="obs_03_0136__b2053287429">Include</strong></li><li id="obs_03_0136__li17116825174815">Resource name: <strong id="obs_03_0136__b1360682014254">*</strong></li></ul>
|
||||
<td class="cellrowborder" valign="top" width="72.53%" headers="mcps1.3.3.2.7.2.1.2.3.1.2 "><ul id="obs_03_0136__ul71161425124816"><li id="obs_03_0136__li10116172511483"><strong id="obs_03_0136__b112893530">Include</strong></li><li id="obs_03_0136__li17116825174815">Resource name: <strong id="obs_03_0136__b1360682014254">*</strong></li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0136__row1111672520488"><td class="cellrowborder" valign="top" width="27.47%" headers="mcps1.3.3.2.7.2.1.2.3.1.1 "><p id="obs_03_0136__p1411622544813"><strong id="obs_03_0136__b13145211172519">Actions</strong></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="72.53%" headers="mcps1.3.3.2.7.2.1.2.3.1.2 "><ul id="obs_03_0136__ul16116225174814"><li id="obs_03_0136__li1116182512487"><strong id="obs_03_0136__b1248154043">Include</strong></li><li id="obs_03_0136__li13116182554813">GetObject</li><li id="obs_03_0136__li1311616250482">GetObjectVersion</li><li id="obs_03_0136__li911632516486">PutObject</li><li id="obs_03_0136__li1011682554816">DeleteObject</li><li id="obs_03_0136__li181165258489">DeleteObjectVersion</li></ul>
|
||||
<td class="cellrowborder" valign="top" width="72.53%" headers="mcps1.3.3.2.7.2.1.2.3.1.2 "><ul id="obs_03_0136__ul16116225174814"><li id="obs_03_0136__li1116182512487"><strong id="obs_03_0136__b649277935">Include</strong></li><li id="obs_03_0136__li13116182554813">GetObject</li><li id="obs_03_0136__li1311616250482">GetObjectVersion</li><li id="obs_03_0136__li911632516486">PutObject</li><li id="obs_03_0136__li1011682554816">DeleteObject</li><li id="obs_03_0136__li181165258489">DeleteObjectVersion</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
<a name="obs_03_0139"></a><a name="obs_03_0139"></a>
|
||||
|
||||
<h1 class="topictitle1">Can Deleted Data Be Recovered?</h1>
|
||||
<div id="body1557884410187"><ul id="obs_03_0139__ul1014711354619"><li id="obs_03_0139__li161474351066">If versioning is enabled for a bucket, deleted objects are saved to the <strong id="obs_03_0139__b1756531131517">Deleted Objects</strong> list. You can recover objects from the <strong id="obs_03_0139__b1460432718157">Deleted Objects</strong> list. For details, see <a href="en-us_topic_0066176932.html">Undeleting an Object</a>.</li><li id="obs_03_0139__li67511142763">If versioning is not enabled, deleted objects cannot be recovered.</li></ul>
|
||||
<div id="body1557884410187"><ul id="obs_03_0139__ul1014711354619"><li id="obs_03_0139__li4219152012518">Versioning enabled for a bucket:<ul id="obs_03_0139__ul6383532857"><li id="obs_03_0139__li15383132558">If the <strong id="obs_03_0139__b12832183755215">Historical Versions</strong> button is disabled, a deleted object is not displayed in the object list. After the button is enabled, the current object version with a delete marker and the deleted object (also the historical object version) are displayed in the object list. In this case, you can click <strong id="obs_03_0139__b9859184510526">Permanently Delete</strong> in the <strong id="obs_03_0139__b1486013458525">Operation</strong> column of the current object version with a delete marker to recover the deleted object.<div class="note" id="obs_03_0139__note151999014157"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0139__p1219915015155">If you delete an object from a versioning-enabled bucket, instead of deleting the object permanently, OBS inserts a delete marker, which becomes the current object version. The deleted object becomes the historical version. After that, if you enable the <strong id="obs_03_0139__b2492121710534">Historical Versions</strong> button above the object list, you can see the current object version with a delete marker and the deleted object that has become a historical version.</p>
|
||||
</div></div>
|
||||
</li><li id="obs_03_0139__li1084412158107">If the <strong id="obs_03_0139__b1855172375317">Historical Versions</strong> button is enabled, you choose <strong id="obs_03_0139__b1085582313534">More</strong> > <strong id="obs_03_0139__b78551023115311">Permanently Delete</strong> in the <strong id="obs_03_0139__b178554234534">Operation</strong> column of an object version other than the current one with a delete marker to permanently delete the object. The deleted object cannot be recovered.</li></ul>
|
||||
</li><li id="obs_03_0139__li67511142763">If versioning is disabled for a bucket, deleted objects cannot be recovered.</li></ul>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
|
||||
@ -2,32 +2,32 @@
|
||||
|
||||
<h1 class="topictitle1">Configuring a Custom Bucket Policy (Coding Mode)</h1>
|
||||
<div id="body1559010359272"><p id="obs_03_0141__p574083285011">You can configure a custom bucket policy by coding. The size of a custom bucket policy cannot exceed 20 KB.</p>
|
||||
<div class="section" id="obs_03_0141__section19588639165015"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0141__ol6696653205012"><li id="obs_03_0141__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0141__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0141__li832413175217"><span>In the navigation pane, choose <strong id="obs_03_0141__b9602124516101">Permissions</strong> > <strong id="obs_03_0141__b1660717459108">Bucket Policies</strong>.</span></li><li id="obs_03_0141__li16486113718713"><span>Click <strong id="obs_03_0141__b1782874317560">Create</strong> and click the <strong id="obs_03_0141__b46631258122614">JSON</strong> tab.</span></li><li id="obs_03_0141__li75805462519"><span>Edit the bucket policy. Below gives a bucket policy example in JSON:</span><p><pre class="screen" id="obs_03_0141__screen866121133215">{
|
||||
"Statement":[
|
||||
{
|
||||
"Action":[
|
||||
"CreateBucket",
|
||||
"DeleteBucket"
|
||||
],
|
||||
"Effect":"Allow",
|
||||
"Principal":{
|
||||
"ID":[
|
||||
<div class="section" id="obs_03_0141__section19588639165015"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0141__ol6696653205012"><li id="obs_03_0141__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0141__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0141__li832413175217"><span>In the navigation pane, choose <strong id="obs_03_0141__b9602124516101">Permissions</strong> > <strong id="obs_03_0141__b1660717459108">Bucket Policies</strong>.</span></li><li id="obs_03_0141__li16486113718713"><span>Click <strong id="obs_03_0141__b1782874317560">Create</strong> and click the <strong id="obs_03_0141__b46631258122614">JSON</strong> tab.</span></li><li id="obs_03_0141__li75805462519"><span>Edit the bucket policy. Below gives a bucket policy example in JSON:</span><p><pre class="screen" id="obs_03_0141__screen866121133215"><span style="color:#222222;">{</span>
|
||||
<span style="color:#222222;"> "Statement":[</span>
|
||||
<span style="color:#222222;"> {</span>
|
||||
<span style="color:#222222;"> "Action":[</span>
|
||||
<span style="color:#222222;"> "CreateBucket",</span>
|
||||
<span style="color:#222222;"> "DeleteBucket"</span>
|
||||
<span style="color:#222222;"> ],</span>
|
||||
<span style="color:#222222;"> "Effect":"Allow",</span>
|
||||
<span style="color:#222222;"> "Principal":{</span>
|
||||
<span style="color:#222222;"> "ID":[</span>
|
||||
"domain/<em id="obs_03_0141__i1129343493419">account ID</em>",
|
||||
"domain/<em id="obs_03_0141__i12293143410341">account ID</em>:user/<em id="obs_03_0141__i629313453411">User ID</em>"
|
||||
]
|
||||
},
|
||||
"Condition":{
|
||||
"NumericNotEquals":{
|
||||
"Referer":"sdf"
|
||||
},
|
||||
"StringNotLike":{
|
||||
"Delimiter":"ouio"
|
||||
}
|
||||
},
|
||||
"Resource":"000-02/key01"
|
||||
}
|
||||
]
|
||||
}</pre>
|
||||
<span style="color:#222222;"> ]</span>
|
||||
<span style="color:#222222;"> },</span>
|
||||
<span style="color:#222222;"> "Condition":{</span>
|
||||
<span style="color:#222222;"> "NumericNotEquals":{</span>
|
||||
<span style="color:#222222;"> "Referer":"sdf"</span>
|
||||
<span style="color:#222222;"> },</span>
|
||||
<span style="color:#222222;"> "StringNotLike":{</span>
|
||||
<span style="color:#222222;"> "Delimiter":"ouio"</span>
|
||||
<span style="color:#222222;"> }</span>
|
||||
<span style="color:#222222;"> },</span>
|
||||
<span style="color:#222222;"> "Resource":"000-02/key01"</span>
|
||||
<span style="color:#222222;"> }</span>
|
||||
<span style="color:#222222;"> ]</span>
|
||||
<span style="color:#222222;"> }</span></pre>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0141__table788413983114" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for creating a bucket policy in JSON</caption><thead align="left"><tr id="obs_03_0141__row3884698312"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.4.2.2.2.3.1.1"><p id="obs_03_0141__p1888415933115">Parameter</p>
|
||||
</th>
|
||||
@ -35,17 +35,17 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="obs_03_0141__row118844913113"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p988416916313">Action</p>
|
||||
<tbody><tr id="obs_03_0141__row118844913113"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p988416916313"><span style="color:#222222;">Action</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="obs_03_0141__p13885179143120">Actions the bucket policy applies to. For details, see <a href="obs_03_0051.html">Actions</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0141__row48856913118"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p68858920313">Effect</p>
|
||||
<tr id="obs_03_0141__row48856913118"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p68858920313"><span style="color:#222222;">Effect</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="obs_03_0141__p15885109173115">Effect of the bucket policy. For details, see <a href="obs_03_0115.html">Effect</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0141__row288519173115"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p11885594314">Principal</p>
|
||||
<tr id="obs_03_0141__row288519173115"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p11885594314"><span style="color:#222222;">Principal</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="obs_03_0141__p10473324123114">Users the bucket policy is applied to. You can obtain the user ID on the <strong id="obs_03_0141__b367616232377">My Credentials</strong> page by logging in to the console as the user to be authorized. Principals should be configured as follows:</p>
|
||||
<ul id="obs_03_0141__ul747322483120"><li id="obs_03_0141__li647313241315"><strong id="obs_03_0141__b5650145962716">domain/</strong><em id="obs_03_0141__i437117258387">Domain ID</em> (indicating that the principal is an account)</li><li id="obs_03_0141__li2473172419318"><strong id="obs_03_0141__b15584734182817">domain/</strong><em id="obs_03_0141__i1227313238390">Domain ID</em><strong id="obs_03_0141__b1734328283">:user/</strong><em id="obs_03_0141__i173421318163919">User ID</em> (indicating that the principal is a user under an account)</li></ul>
|
||||
@ -53,12 +53,12 @@
|
||||
</div></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0141__row10885189133118"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p48851198314">Condition</p>
|
||||
<tr id="obs_03_0141__row10885189133118"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p48851198314"><span style="color:#222222;">Condition</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="obs_03_0141__p1088519943110">Conditions under which the bucket policy takes effect. For details, see <a href="obs_03_0120.html">Conditions</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0141__row17885692319"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p488511933113">Resource</p>
|
||||
<tr id="obs_03_0141__row17885692319"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="obs_03_0141__p488511933113"><span style="color:#222222;">Resource</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="obs_03_0141__p588515943114">Resources the bucket policy is applied to. For details, see <a href="obs_03_0118.html">Resources</a>.</p>
|
||||
</td>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Configuring a Standard Bucket Policy</h1>
|
||||
<div id="body1559010359272"><p id="obs_03_0142__p20200132612322">OBS Console provides bucket policy templates for multiple typical scenarios. You can use these templates to quickly configure bucket policies.</p>
|
||||
<div class="section" id="obs_03_0142__section1614210512179"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0142__ol611152416181"><li id="obs_03_0142__li9111024191816"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0142__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0142__li201118242180"><span>In the navigation pane, choose <strong id="obs_03_0142__b2106127435">Permissions</strong> > <strong id="obs_03_0142__b645517738">Bucket Policies</strong>.</span></li><li id="obs_03_0142__li101182471819"><span>Click <strong id="obs_03_0142__b1521737815">Create</strong>.</span></li><li id="obs_03_0142__li1644715853617"><span>Choose a policy template. For details about the parameters, see <a href="en-us_topic_0045853745.html">Bucket Policies and Object Policies</a>.</span><p><div class="fignone" id="obs_03_0142__fig798818104157"><span class="figcap"><b>Figure 1 </b>Choosing the Public Read template</span><br><span><img id="obs_03_0142__image2098891061517" src="en-us_image_0000002149754337.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
<div class="section" id="obs_03_0142__section1614210512179"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0142__ol611152416181"><li id="obs_03_0142__li9111024191816"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0142__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0142__li201118242180"><span>In the navigation pane, choose <strong id="obs_03_0142__b1101566994">Permissions</strong> > <strong id="obs_03_0142__b1763041611">Bucket Policies</strong>.</span></li><li id="obs_03_0142__li101182471819"><span>Click <strong id="obs_03_0142__b1628037887">Create</strong>.</span></li><li id="obs_03_0142__li1644715853617"><span>Choose a policy template. For details about the parameters, see <a href="en-us_topic_0045853745.html">Bucket Policies and Object Policies</a>.</span><p><div class="fignone" id="obs_03_0142__fig798818104157"><span class="figcap"><b>Figure 1 </b>Choosing the Public Read template</span><br><span><img id="obs_03_0142__image2098891061517" src="en-us_image_0000002149754337.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
<div class="fignone" id="obs_03_0142__fig13572172121211"><span class="figcap"><b>Figure 2 </b>Choosing the Public Read/Write template</span><br><span><img id="obs_03_0142__image1457252131213" src="en-us_image_0000002269450037.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
<div class="fignone" id="obs_03_0142__fig1357624318271"><span class="figcap"><b>Figure 3 </b>Choosing the Bucket Read-Only template</span><br><span><img id="obs_03_0142__image35774436277" src="en-us_image_0000002234450870.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
<div class="fignone" id="obs_03_0142__fig11813172012116"><span class="figcap"><b>Figure 4 </b>Choosing the Bucket Read/Write template</span><br><span><img id="obs_03_0142__image58131220172119" src="en-us_image_0000002149763349.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="45.2%" headers="mcps1.3.1.2.4.1.2 "><p id="obs_03_0204__p82811913104517">Cloud Eye</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20.14%" headers="mcps1.3.1.2.4.1.3 "><p id="obs_03_0204__p7281913104512"><a href="obs_03_0010.html">OBS Monitoring Metrics</a></p>
|
||||
<td class="cellrowborder" valign="top" width="20.14%" headers="mcps1.3.1.2.4.1.3 "><p id="obs_03_0204__p7281913104512"><a href="obs_03_0010.html">Monitored OBS Metrics</a></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0204__row20243441361"><td class="cellrowborder" valign="top" width="34.660000000000004%" headers="mcps1.3.1.2.4.1.1 "><p id="obs_03_0204__p780201114414">CTS collects records of operations on OBS resources, facilitating querying, audits, and backtracking.</p>
|
||||
|
||||
@ -18,6 +18,8 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0321.html">Server-Side Encryption</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0717.html">WORM</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0323.html">Object Metadata</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_03_0082.html">Bucket Inventories</a></strong><br>
|
||||
|
||||
@ -40,13 +40,22 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.78%" headers="mcps1.3.3.2.2.2.1.2.3.1.2 "><p id="obs_03_0306__p13250952104514">Controls read and write permissions for buckets.</p>
|
||||
<ul id="obs_03_0306__ul1118618569194"><li id="obs_03_0306__li13186185612196"><strong id="obs_03_0306__b929114841213">Private</strong>: No access beyond the bucket ACL settings is granted.</li><li id="obs_03_0306__li181131478206"><strong id="obs_03_0306__b116813342311">Public Read</strong>: Anyone can read objects in the bucket.</li><li id="obs_03_0306__li147015152013"><strong id="obs_03_0306__b1492156122319">Public Read and Write</strong>: Anyone can read, write, or delete objects in the bucket.</li></ul>
|
||||
<p id="obs_03_0306__p7736227235">If your account does not have permission to create a bucket policy, a private bucket will be created even if you select <strong id="obs_03_0306__b18895451458">Public Read</strong> or <strong id="obs_03_0306__b389114554510">Public Read/Write</strong>. To create a public bucket, your account must have the <strong id="obs_03_0306__b190164514515">obs:bucket:PutBucketPolicy</strong> permission.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0306__row521061883619"><td class="cellrowborder" valign="top" width="20.22%" headers="mcps1.3.3.2.2.2.1.2.3.1.1 "><p id="obs_03_0306__p6210111812361"><span id="obs_03_0306__ph134131716113417">Server-Side Encryption</span></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.78%" headers="mcps1.3.3.2.2.2.1.2.3.1.2 "><p id="obs_03_0306__p101449501186">Choose <strong id="obs_03_0306__b320143716589">SSE-KMS</strong>. For the encryption key type, you can choose <strong id="obs_03_0306__b579443413814">Default</strong> or <strong id="obs_03_0306__b10118103743814">Custom</strong>. If <strong id="obs_03_0306__b115871031133912">Default</strong> is chosen, the default key of the current region will be used to encrypt your objects. If there is no such a default key, OBS creates one the first time you upload an object. If <strong id="obs_03_0306__b151748569424">Custom</strong> is chosen, you can choose a custom key you created on the KMS console to encrypt your objects.</p>
|
||||
<td class="cellrowborder" valign="top" width="79.78%" headers="mcps1.3.3.2.2.2.1.2.3.1.2 "><p id="obs_03_0306__p101449501186">Choose <strong id="obs_03_0306__b320143716589">SSE-KMS</strong>. For the encryption key type, you can choose <strong id="obs_03_0306__b579443413814">Default</strong> or <strong id="obs_03_0306__b10118103743814">Custom</strong>. If <strong id="obs_03_0306__b115871031133912">Default</strong> is chosen, the default key of the current region will be used to encrypt your objects. If there is no such a default key, OBS creates one the first time you upload an object. If <strong id="obs_03_0306__b151748569424">Custom</strong> is chosen, you can choose a custom key you created on the KMS console to encrypt your objects. If no custom key is available, click <strong id="obs_03_0306__b133826194478">Create KMS Key</strong> to create one.</p>
|
||||
<p id="obs_03_0306__p299191615618">If you do not need server-side encryption, keep the default selection of <strong id="obs_03_0306__b1395031416164">Disable</strong>.</p>
|
||||
<p id="obs_03_0306__p1112821912617">After you enable server-side encryption for the bucket, any object you upload to it will inherit encryption from the bucket by default. You can also configure new encryption with SSE-KMS for the object.</p>
|
||||
<p id="obs_03_0306__p5779020102016">For more information, see <a href="obs_03_0321.html">Server-Side Encryption</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0306__row9331144293312"><td class="cellrowborder" valign="top" width="20.22%" headers="mcps1.3.3.2.2.2.1.2.3.1.1 "><p id="obs_03_0306__p233184219333">WORM</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.78%" headers="mcps1.3.3.2.2.2.1.2.3.1.2 "><p id="obs_03_0306__p4331154213310">When you enable write-once-read-many (WORM), you can configure a retention policy for the current bucket. The object version which the retention policy is applied to cannot be deleted within a specified period. You can only enable WORM when you create a bucket. Once enabled for a bucket, WORM cannot be disabled. When you enable WORM, OBS automatically enables versioning for the bucket, and versioning cannot be suspended later for that bucket.</p>
|
||||
<p id="obs_03_0306__p1892145134120">If you choose to enable WORM, configure the following:</p>
|
||||
<ul id="obs_03_0306__ul198714174425"><li id="obs_03_0306__li128711517104218"><strong id="obs_03_0306__b13611728154617">Default Retention</strong>: You can configure it when creating a bucket or after creating a bucket.</li><li id="obs_03_0306__li165801812164310"><strong id="obs_03_0306__b1037143311468">Default Retention Mode</strong>: This parameter needs to be configured if <strong id="obs_03_0306__b96091856125618">Default Retention</strong> is set to <strong id="obs_03_0306__b12845195714">Configure</strong>. Only the compliance retention mode is currently supported. In this mode, no users can delete protected object versions or change their retention mode during the specified retention period.</li><li id="obs_03_0306__li79641245134312"><strong id="obs_03_0306__b153329382466">Default Retention Period</strong>: This parameter needs to be configured if <strong id="obs_03_0306__b2382182195818">Default Retention</strong> is set to <strong id="obs_03_0306__b1382152175812">Configure</strong>. During the specified period, OBS prevents WORM-protected object versions from being deleted. You can configure a retention period in either days (from <strong id="obs_03_0306__b1530074335813">1</strong> to <strong id="obs_03_0306__b1330034345814">36500</strong>) or years (from <strong id="obs_03_0306__b16300743185815">1</strong> to <strong id="obs_03_0306__b430094365810">100</strong>).</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0306__row179244845019"><td class="cellrowborder" valign="top" width="20.22%" headers="mcps1.3.3.2.2.2.1.2.3.1.1 "><p id="obs_03_0306__p1934488501">Tags</p>
|
||||
|
||||
@ -14,10 +14,13 @@
|
||||
</p></li><li id="obs_03_0307__li43271656164119"><span>In the <strong id="obs_03_0307__b120411138146">Upload Object</strong> area, drag and drop the files or folders you want to upload.</span><p><p id="obs_03_0307__p5316155610415">You can also click <strong id="obs_03_0307__b19478223144319">add files</strong> to select files.</p>
|
||||
</p></li><li id="obs_03_0307__li11660334854"><span><strong id="obs_03_0307__b11559122282918">Server-Side Encryption</strong>: Choose <strong id="obs_03_0307__b02401533192913">SSE-KMS</strong> or <strong id="obs_03_0307__b18527149193015">Disable</strong>. For details, see <a href="obs_03_0322.html">Enabling Server-Side Encryption When Uploading an Object</a>.</span><p><div class="note" id="obs_03_0307__note38259571352"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0307__p168251957113515">If the bucket has <span id="obs_03_0307__ph1865519323262">server-side encryption</span> configured, the object you upload will inherit encryption from the bucket by default.</p>
|
||||
</div></div>
|
||||
</p></li><li id="obs_03_0307__li1792591101316"><span>(Optional) To configure object tags, or metadata, click <strong id="obs_03_0307__b1542215535127">Next: (Optional) Configure Advanced Settings</strong>.</span><p><p id="obs_03_0307__p320061910302">Add metadata ContentDisposition, ContentLanguage, WebsiteRedirectLocation, ContentEncoding, or ContentType as needed. For more information, see <a href="en-us_topic_0049066876.html">Object Metadata</a>. Metadata is a set of name-value pairs. The metadata value cannot be left blank. You can add two or more metadata entries by clicking <strong id="obs_03_0307__b1143564625013">Add</strong>.</p>
|
||||
</p></li><li id="obs_03_0307__li1792591101316"><span>(Optional) To configure metadata, or WORM retention policies, or object tags, click <strong id="obs_03_0307__b5111636181410">Next: (Optional) Configure Advanced Settings</strong>.</span><p><div class="note" id="obs_03_0307__note16454112511210"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0307__p1645416251125">WORM retention policies can be configured in the advanced settings only when WORM is enabled for the bucket.</p>
|
||||
</div></div>
|
||||
<p id="obs_03_0307__p320061910302">Configuring metadata: Add metadata ContentDisposition, ContentLanguage, WebsiteRedirectLocation, ContentEncoding, or ContentType as needed. For more information, see <a href="en-us_topic_0049066876.html">Object Metadata</a>. Metadata is a set of name-value pairs. The metadata value cannot be left blank. You can add two or more metadata entries by clicking <strong id="obs_03_0307__b12249194871218">Add</strong>.</p>
|
||||
<p id="obs_03_0307__p19514191244911">Configuring WORM retention: Choose <strong id="obs_03_0307__b12435592301">Inherit from bucket</strong>, or choose <strong id="obs_03_0307__b672718167310">Configure</strong> and then specify a retention period, to automatically protect new objects uploaded to the bucket from being deleted.</p>
|
||||
<p id="obs_03_0307__en-us_topic_0000001874835297_p1941844972318">Configuring tags: Tags are used to identify objects with tag keys and values. For details, see <a href="obs_41_0054.html">Adding Tags to an Object</a>.</p>
|
||||
<div class="fignone" id="obs_03_0307__fig179571750154615"><span class="figcap"><b>Figure 1 </b>Configuring metadata, WORM retention, or object tags</span><br><span><img id="obs_03_0307__image19571050104614" src="en-us_image_0000002235397602.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</p></li><li id="obs_03_0307__li12125192695311"><span>Click <strong id="obs_03_0307__b1918611133719">Upload</strong>.</span></li></ol>
|
||||
</p></li><li id="obs_03_0307__li12125192695311"><span>Click <strong id="obs_03_0307__b1328112271010">Upload</strong>.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -2,8 +2,10 @@
|
||||
|
||||
<h1 class="topictitle1">Deleting an Object</h1>
|
||||
<div id="body1499758606806"><p id="obs_03_0309__p23374247205629">You can delete unnecessary files one by one or in a batch on OBS Console to save space and money.</p>
|
||||
<div class="note" id="obs_03_0309__note1834555519465"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0309__p1597684074316">When you enable WORM for a bucket, versioning is automatically enabled as well. If a WORM retention policy is configured, object versions cannot be permanently deleted during the retention period. On the object list page, you can enable <strong id="obs_03_0309__b1784265813516">Historical Versions</strong> and choose <span class="menucascade" id="obs_03_0309__menucascade4792123862912"><b><span class="uicontrol" id="obs_03_0309__uicontrol879263892911">More</span></b> > <b><span class="uicontrol" id="obs_03_0309__uicontrol1169224063915">Extend Retention Period</span></b></span> in the <strong id="obs_03_0309__b143437247368">Operation</strong> column of a specific object version to check whether this version is within the retention period. If no WORM retention policy is configured, you can delete object versions on the object list page with <strong id="obs_03_0309__b17453144513817">Historical Versions</strong> enabled.</p>
|
||||
</div></div>
|
||||
<div class="section" id="obs_03_0309__sbce25240b91d49e2a0d7b514a73a7da9"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0309__en-us_topic_0066036524_ol36405904"><li id="obs_03_0309__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0309__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0309__li1463890417452"><span>Select the file you want to delete, and choose <strong id="obs_03_0309__b152019501616">More</strong> > <strong id="obs_03_0309__b873616741617">Delete</strong> on the right.</span><p><p id="obs_03_0309__en-us_topic_0066036524_p18694614">You can select multiple files and click <strong id="obs_03_0309__b1919669813155639">Delete</strong> above the file list to batch delete them.</p>
|
||||
</p></li><li id="obs_03_0309__en-us_topic_0066036524_li34033799"><span>Click <strong id="obs_03_0309__b1757912477386">Yes</strong> to confirm the deletion.</span></li></ol>
|
||||
</p></li><li id="obs_03_0309__en-us_topic_0066036524_li34033799"><span>Click <strong id="obs_03_0309__b1757912477386">OK</strong> to confirm the deletion.</span></li></ol>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0309__section25814558719"><h4 class="sectiontitle">Important Notes</h4><p id="obs_03_0309__p17625135543210">In big data scenarios, parallel file systems usually have deep directory levels and each directory has a large number of files. In such case, deleting directories from parallel file systems may fail due to timeout. To address this problem, you are advised to configure <a href="obs_03_0335.html">a lifecycle rule</a> for directories so that they can be deleted in background based on the preset lifecycle rule.</p>
|
||||
</div>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<div class="section" id="obs_03_0310__s111a257ede9d42e9b5c09ea4c90c2f8c"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0310__en-us_topic_0066036516_ol54196626"><li id="obs_03_0310__en-us_topic_0066036516_li27850590"><span>In the bucket list on OBS Console, select the bucket you want to delete, and then click <strong id="obs_03_0310__b3280194512177">Delete</strong> on the right.</span><p><div class="note" id="obs_03_0310__en-us_topic_0066036516_note49328722"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0310__p1628503102210">The name of a deleted bucket can be reused for another bucket or parallel file system at least 30 minutes after the deletion.</p>
|
||||
</div></div>
|
||||
</p></li><li id="obs_03_0310__en-us_topic_0066036516_li18577973"><span>Click <strong id="obs_03_0310__b3793244396">Yes</strong> to confirm the deletion.</span></li></ol>
|
||||
</p></li><li id="obs_03_0310__en-us_topic_0066036516_li18577973"><span>Click <strong id="obs_03_0310__b484315515189">OK</strong> to confirm the deletion.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<div class="section" id="obs_03_0314__section37513361680"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0314__obs_03_0310_en-us_topic_0066036516_ol54196626"><li id="obs_03_0314__obs_03_0310_en-us_topic_0066036516_li27850590"><span>In the bucket list on OBS Console, select the bucket you want to delete, and then click <strong id="obs_03_0314__obs_03_0310_b3280194512177">Delete</strong> on the right.</span><p><div class="note" id="obs_03_0314__obs_03_0310_en-us_topic_0066036516_note49328722"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0314__obs_03_0310_p1628503102210">The name of a deleted bucket can be reused for another bucket or parallel file system at least 30 minutes after the deletion.</p>
|
||||
</div></div>
|
||||
</p></li><li id="obs_03_0314__obs_03_0310_en-us_topic_0066036516_li18577973"><span>Click <strong id="obs_03_0314__obs_03_0310_b3793244396">Yes</strong> to confirm the deletion.</span></li></ol>
|
||||
</p></li><li id="obs_03_0314__obs_03_0310_en-us_topic_0066036516_li18577973"><span>Click <strong id="obs_03_0314__obs_03_0310_b484315515189">OK</strong> to confirm the deletion.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
}</pre>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0322__section16043441174915"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0322__ol10173245174915"><li id="obs_03_0322__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0322__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0322__li19771827250"><span>Click <strong id="obs_03_0322__b1862315018546">Upload Object</strong>. The <strong id="obs_03_0322__b14624105005416">Upload Object</strong> dialog box is displayed.</span></li><li id="obs_03_0322__l44ccecac0c874e978aaf39cb51f2aee3"><span>Add the files to be uploaded.</span></li><li id="obs_03_0322__li179281758123714"><span>Choose <strong id="obs_03_0322__b1093912021517">SSE-KMS</strong>. You can select the default key in the current region to encrypt the objects you upload to the bucket. If you do not have a default key, OBS automatically creates one the first time you upload an object. You can also choose <strong id="obs_03_0322__b112657413509">Custom</strong> to use a custom key for encryption. If there is no custom key available, click <strong id="obs_03_0322__b92662414504">Create KMS Key</strong> to create one.</span><p><div class="note" id="obs_03_0322__note38259571352"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0322__p168251957113515">If the bucket has <span id="obs_03_0322__ph4158449133514">server-side encryption</span> configured, the object you upload will inherit encryption from the bucket by default.</p>
|
||||
<div class="section" id="obs_03_0322__section16043441174915"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0322__ol10173245174915"><li id="obs_03_0322__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0322__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0322__li19771827250"><span>Click <strong id="obs_03_0322__b1862315018546">Upload Object</strong>. The <strong id="obs_03_0322__b14624105005416">Upload Object</strong> dialog box is displayed.</span></li><li id="obs_03_0322__l44ccecac0c874e978aaf39cb51f2aee3"><span>Add the files to be uploaded.</span></li><li id="obs_03_0322__li179281758123714"><span>Choose <strong id="obs_03_0322__b1093912021517">SSE-KMS</strong>. You can select the default key in the current region to encrypt the objects you upload to the bucket. If you do not have a default key, OBS automatically creates one the first time you upload an object. You can also choose <strong id="obs_03_0322__b55841871834">Custom</strong> to use a custom key for encryption. If there is no custom key available, click <strong id="obs_03_0322__b205851871335">Create KMS Key</strong> to create one on the <span id="obs_03_0322__ph16586771319">KMS</span> console. Then, go back here and choose the created key from the drop-down list.</span><p><div class="note" id="obs_03_0322__note38259571352"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0322__p168251957113515">If the bucket has <span id="obs_03_0322__ph4158449133514">server-side encryption</span> configured, the object you upload will inherit encryption from the bucket by default.</p>
|
||||
</div></div>
|
||||
<div class="fignone" id="obs_03_0322__fig6980161282015"><span class="figcap"><b>Figure 1 </b>Encrypting an object to be uploaded</span><br><span><img id="obs_03_0322__image17981161216209" src="en-us_image_0000002113097516.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</p></li><li id="obs_03_0322__li12125192695311"><span>Click <strong id="obs_03_0322__b2095194211233">Upload</strong>.</span><p><p id="obs_03_0322__p1031815541623">After the object is uploaded, you can view its encryption status on its details page.</p>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
</div>
|
||||
<div class="section" id="obs_03_0326__section78301053161817"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0326__ol8641571181"><li id="obs_03_0326__li146445719183"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0326__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0326__li832413175217"><span>In the navigation pane, choose <strong id="obs_03_0326__b5912135131211">Permissions</strong> > <strong id="obs_03_0326__b39121035181214">Bucket ACLs</strong>.</span></li><li id="obs_03_0326__li1944464414418"><span>On the <strong id="obs_03_0326__b19710454192">Bucket ACLs</strong> page, choose <strong id="obs_03_0326__b11711195511101">Private</strong>, <strong id="obs_03_0326__b1278275891016">Public Read</strong>, or <strong id="obs_03_0326__b106704220115">Public Read/Write</strong> to grant the bucket ACL permission for anonymous users.</span><p><div class="note" id="obs_03_0326__note3121104592113"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="obs_03_0326__ul1980032218214"><li id="obs_03_0326__li98003225212">After you change <strong id="obs_03_0326__b213103314151">Public Read</strong> or <strong id="obs_03_0326__b101311233161515">Public Read/Write</strong> to <strong id="obs_03_0326__b5132113319154">Private</strong>, only the bucket owner or object owner has the access.</li><li id="obs_03_0326__li10800122219210">After you change <strong id="obs_03_0326__b9302165719176">Private</strong> to <strong id="obs_03_0326__b2838163189">Public Read</strong>, anyone can read objects in the bucket. No identity authentication is required.</li><li id="obs_03_0326__li168001221322">After you change <strong id="obs_03_0326__b1558533512196">Private</strong> to <strong id="obs_03_0326__b358510353191">Public Read/Write</strong>, anyone can read, write, and delete objects in the bucket. No identity authentication is required.</li></ul>
|
||||
</div></div>
|
||||
</p></li><li id="obs_03_0326__li6641457181816"><span>In the <strong id="obs_03_0326__b57895325810">Operation</strong> column, click <strong id="obs_03_0326__b4814133122412">Edit</strong> to grant the owner, anonymous user, or log delivery user required ACL permissions for the bucket.</span></li><li class="MsoNormal" id="obs_03_0326__li8651657151820"><span>In the middle of the page, click <strong id="obs_03_0326__b1353128112617">Export</strong> to get the bucket ACL configuration. The file includes the user type, account, bucket access, and ACL access.</span></li><li id="obs_03_0326__li12853145819166"><span>In the middle of the page, click <strong id="obs_03_0326__b172521533999">Add</strong> to apply specific ACL permissions to an account.</span><p><p id="obs_03_0326__p14854758141611">Enter an account ID and specify ACL permissions for the account. You can obtain the account ID from the <strong id="obs_03_0326__b990768969">My Credentials</strong> page.</p>
|
||||
</p></li><li id="obs_03_0326__li6641457181816"><span>In the <strong id="obs_03_0326__b57895325810">Operation</strong> column, click <strong id="obs_03_0326__b4814133122412">Edit</strong> to grant the owner, anonymous user, or log delivery user required ACL permissions for the bucket.</span></li><li class="MsoNormal" id="obs_03_0326__li8651657151820"><span>In the middle of the page, click <strong id="obs_03_0326__b1353128112617">Export</strong> to get the bucket ACL configuration. The file includes the user type, account, bucket access, and ACL access.</span></li><li id="obs_03_0326__li12853145819166"><span>In the middle of the page, click <strong id="obs_03_0326__b172521533999">Add</strong> to apply specific ACL permissions to an account.</span><p><p id="obs_03_0326__p14854758141611">Enter an account ID and specify ACL permissions for the account. You can obtain the account ID from the <strong id="obs_03_0326__b1378955506">My Credentials</strong> page.</p>
|
||||
<p id="obs_03_0326__p2416134314412">Click <strong id="obs_03_0326__b682313317290">OK</strong>.</p>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
<a name="obs_03_0327"></a><a name="obs_03_0327"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring Versioning</h1>
|
||||
<div id="body1499753333227"><div class="section" id="obs_03_0327__section3308025"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0327__ol34565553"><li id="obs_03_0327__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0327__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0327__li15832125015014"><span>In the navigation pane, choose <strong id="obs_03_0327__obs_03_0143_b4304113864518">Overview</strong>.</span></li><li id="obs_03_0327__li1590688162617"><span>In the <strong id="obs_03_0327__b1749612882312">Basic Configurations</strong> area, click <strong id="obs_03_0327__b1523722013234">Versioning</strong>.</span></li><li id="obs_03_0327__li10623171915411"><span>Select <strong id="obs_03_0327__b12470321010">Enable</strong>.</span></li><li id="obs_03_0327__li51646315152021"><span>Click <strong id="obs_03_0327__b18822184152021">OK</strong> to enable versioning for the bucket.</span></li><li id="obs_03_0327__li3984202755716"><span>Click an object to go to the object details page. On the <strong id="obs_03_0327__b1079974419171">Versions</strong> tab page, view all versions of the object.</span></li></ol>
|
||||
<div id="body1499753333227"><div class="section" id="obs_03_0327__section3308025"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0327__ol34565553"><li id="obs_03_0327__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0327__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0327__li15832125015014"><span>In the navigation pane, choose <strong id="obs_03_0327__obs_03_0088_b32041644278">Overview</strong>.</span></li><li id="obs_03_0327__li1590688162617"><span>In the <strong id="obs_03_0327__b1749612882312">Basic Configurations</strong> area, click <strong id="obs_03_0327__b1523722013234">Versioning</strong>.</span></li><li id="obs_03_0327__li10623171915411"><span>Select <strong id="obs_03_0327__b12470321010">Enable</strong>.</span></li><li id="obs_03_0327__li64921002"><span>Click <strong id="obs_03_0327__b86511617125015">OK</strong> to enable versioning for the bucket.</span></li><li id="obs_03_0327__li1513814316328"><span>In the navigation pane, choose <strong id="obs_03_0327__b827919524297">Objects</strong>. The object list page is displayed.</span></li><li id="obs_03_0327__li10521937343"><span>Above the search box, enable <strong id="obs_03_0327__b1930365717298">Historical Versions</strong> to view multiple versions of an object.</span></li></ol>
|
||||
</div>
|
||||
<div class="section" id="obs_03_0327__section29772226"><a name="obs_03_0327__section29772226"></a><a name="section29772226"></a><h4 class="sectiontitle">Related Operations</h4><p id="obs_03_0327__p15661521">After versioning is configured for a bucket, you can go to the object details page, click the <strong id="obs_03_0327__b63117542266">Versions</strong> tab, and then delete, share, and download object versions.</p>
|
||||
<ol id="obs_03_0327__ol1334083111349"><li id="obs_03_0327__li6429131612215"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0327__obs_03_0307_b5948183711913_1">Objects</strong> page.</span></li><li id="obs_03_0327__obs_03_0327_li78997391589"><span>In the object list, click the object you want to go to the object details page.</span></li><li id="obs_03_0327__obs_03_0327_li10984143614447"><span>On the <strong id="obs_03_0327__b75112415317">Versions</strong> tab page, view all versions of the object.</span></li><li id="obs_03_0327__li10400184575518"><span>Perform the following operations on object versions:</span><p><ol type="a" id="obs_03_0327__ol419614895510"><li id="obs_03_0327__li125843513550">Download a desired version of the object by clicking <strong id="obs_03_0327__b15906543141710">Download</strong> in the <strong id="obs_03_0327__b1354523113535">Operation</strong> column.<div class="note" id="obs_03_0327__note7478132910580"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0327__p126017219107">If the version you want to download is in the Cold storage class, restore it first.</p>
|
||||
<div class="section" id="obs_03_0327__section29772226"><a name="obs_03_0327__section29772226"></a><a name="section29772226"></a><h4 class="sectiontitle">Related Operations</h4><p id="obs_03_0327__p15661521">After versioning is enabled for a bucket, you can extend the retention period of a WORM-protected object version, as well as delete, share, and download object versions.</p>
|
||||
<ol id="obs_03_0327__ol1334083111349"><li id="obs_03_0327__li6429131612215"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0327__obs_03_0307_b5948183711913_1">Objects</strong> page.</span></li><li id="obs_03_0327__li18050160413"><span>Above the search box, enable <strong id="obs_03_0327__b915211914526">Historical Versions</strong> to view different versions of objects.</span></li><li id="obs_03_0327__li10400184575518"><span>Perform the following operations on object versions:</span><p><ol type="a" id="obs_03_0327__ol419614895510"><li id="obs_03_0327__li125843513550">Download a desired version of the object by clicking <strong id="obs_03_0327__b15906543141710">Download</strong> in the <strong id="obs_03_0327__b1354523113535">Operation</strong> column.<div class="note" id="obs_03_0327__note7478132910580"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0327__p126017219107">If the version you want to download is in the Cold storage class, restore it first.</p>
|
||||
</div></div>
|
||||
</li><li id="obs_03_0327__li599731220916">Share a version of the object by clicking <strong id="obs_03_0327__b1222785158151311">Share</strong> in the <strong id="obs_03_0327__b1294193755517">Operation</strong> column.</li><li id="obs_03_0327__li268519011718">Permanently delete a version of the object by choosing <strong id="obs_03_0327__b19619152612559">More</strong> > <strong id="obs_03_0327__b2072514812153">Delete</strong> in the <strong id="obs_03_0327__b12902108175610">Operation</strong> column. The deleted object version cannot be recovered. If you delete the latest version, the most recent version will become the latest version.</li></ol>
|
||||
</li><li id="obs_03_0327__li599731220916">Share a version of the object by clicking <strong id="obs_03_0327__b1222785158151311">Share</strong> in the <strong id="obs_03_0327__b1294193755517">Operation</strong> column.</li><li id="obs_03_0327__li268519011718">Permanently delete a version of the object by choosing <strong id="obs_03_0327__b196874304399">More</strong> > <strong id="obs_03_0327__b166878303396">Permanently</strong> <strong id="obs_03_0327__b106871030133915">Delete</strong> in the <strong id="obs_03_0327__b106875301391">Operation</strong> column. The deleted object version cannot be recovered. If you delete the latest version, the most recent version will become the latest version.<div class="note" id="obs_03_0327__note1487518543333"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0327__p17451553123414">In a WORM-enabled bucket, if an object has no retention policy configured or its retention policy has expired, you can delete a desired object version on the object list page. If the object version is within the retention period, it cannot be deleted.</p>
|
||||
</div></div>
|
||||
</li><li id="obs_03_0327__li1476419815135">Locate the object version for which you want to extend the retention period, choose <strong id="obs_03_0327__b2789157195513">More</strong> > <strong id="obs_03_0327__b140102155417">Extend Retention Period</strong>, and select a date. A retention period can be extended, but cannot be shortened.</li></ol>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
<div id="body1499758606807"><p id="obs_03_0329__p28293786">After logging is enabled for a bucket, OBS automatically converts bucket logs into objects following the naming rules and writes the objects into a target bucket.</p>
|
||||
<div class="section" id="obs_03_0329__section7336713418"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0329__ol52458695"><li id="obs_03_0329__li11242915363"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0329__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0329__li1220122713419"><span>In the navigation pane, choose <strong id="obs_03_0329__b842972222719">Overview</strong>.</span></li><li id="obs_03_0329__li18830181855820"><span>In the <strong id="obs_03_0329__b8424204161819">Basic Configurations</strong> area, click <strong id="obs_03_0329__b72721282265">Logging</strong>. The <strong id="obs_03_0329__b8323173412610">Logging</strong> dialog box is displayed.</span></li><li id="obs_03_0329__li18553115782415"><span>Select <strong id="obs_03_0329__b114732035103220">Enable</strong>.</span><p><div class="fignone" id="obs_03_0329__fig1591435513172"><span class="figcap"><b>Figure 1 </b>Logging</span><br><span><img id="obs_03_0329__image2091416554175" src="en-us_image_0000001226260767.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</p></li><li id="obs_03_0329__li199310841015"><span>Select an existing bucket where you want to store log files. Log delivery users of the selected bucket will be automatically granted the permissions to read the bucket ACL and write logs to the bucket.</span></li><li id="obs_03_0329__li11116359191114"><span>Enter a prefix for the <strong id="obs_03_0329__b1013214416211">Log File Name Prefix</strong>.</span><p><p id="obs_03_0329__p101162592117">After logging is enabled, generated logs are named in the following format:</p>
|
||||
<p id="obs_03_0329__p161169590114"><em id="obs_03_0329__i13116205971118"><Log File Name Prefix></em>YYYY-mm-DD-HH-MM-SS-<em id="obs_03_0329__i161162591113"><UniqueString></em></p>
|
||||
<ul id="obs_03_0329__ul16116195910111"><li id="obs_03_0329__li5116135991118"><em id="obs_03_0329__i2560034149"><Log File Name Prefix></em> is the shared prefix of log file names.</li><li id="obs_03_0329__li9116105920117"><strong id="obs_03_0329__b17511842134510">YYYY-mm-DD-HH-MM-SS</strong> indicates when the log is generated.</li><li id="obs_03_0329__li1711611596116"><em id="obs_03_0329__i19552638132513"><UniqueString></em> indicates a character string generated by OBS.</li></ul>
|
||||
<p id="obs_03_0329__p161169590114"><em id="obs_03_0329__i13116205971118"><Log File Name Prefix></em><em id="obs_03_0329__i13856156101017">YYYY-mm-DD-HH-MM-SS</em><strong id="obs_03_0329__b10835151051017">-</strong><em id="obs_03_0329__i161162591113"><UniqueString></em></p>
|
||||
<ul id="obs_03_0329__ul16116195910111"><li id="obs_03_0329__li5116135991118"><em id="obs_03_0329__i2560034149"><Log File Name Prefix></em> is the shared prefix of log file names.</li><li id="obs_03_0329__li9116105920117"><em id="obs_03_0329__i173581925121020">YYYY-mm-DD-HH-MM-SS</em> indicates the UTC time when the log was created.</li><li id="obs_03_0329__li1711611596116"><em id="obs_03_0329__i19552638132513"><UniqueString></em> indicates a character string generated by OBS.</li></ul>
|
||||
<p id="obs_03_0329__p10116159191115">On OBS Console, if the configured <em id="obs_03_0329__i145914442109"><Log File Name Prefix></em> ends with a slash (/), logs generated in the bucket are stored in the <em id="obs_03_0329__i5741133118464"><Log File Name Prefix></em> folder in the bucket, facilitating the management of log files.</p>
|
||||
<p id="obs_03_0329__p1511675981114">Example:</p>
|
||||
<ul id="obs_03_0329__ul0116155913116"><li id="obs_03_0329__li12116195981110">If the bucket named <strong id="obs_03_0329__b184811348710">bucket</strong> is used to save log files, and the log file name prefix is set to <strong id="obs_03_0329__b13814257812">bucket-log/</strong>, all log files delivered to this bucket are saved in the <strong id="obs_03_0329__b22749457817">bucket-log</strong> folder. A log file is named as follows: <strong id="obs_03_0329__b1454341506171617">2015-06-29-12-22-07-N7MXLAF1BDG7MPDV</strong>.</li><li id="obs_03_0329__li10116135911117">If the bucket named <strong id="obs_03_0329__b56011330299">bucket</strong> is used to save log files, and the log file name prefix is set to <strong id="obs_03_0329__b186011030293">bucket-log</strong>, all log files are saved in the root directory of the bucket. A log file is named as follows: <strong id="obs_03_0329__b783736649171726">bucket-log2015-06-29-12-22-07-N7MXLAF1BDG7MPDV</strong>.</li></ul>
|
||||
|
||||
@ -12,16 +12,16 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_03_0331__row1674164010218"><td class="cellrowborder" valign="top" width="18.8%" headers="mcps1.3.2.2.4.2.1.2.3.1.1 "><p id="obs_03_0331__p10674140192117">Key</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.2%" headers="mcps1.3.2.2.4.2.1.2.3.1.2 "><p id="obs_03_0331__p116741240172118">Specifies the key of the tag. Each tag of a bucket has a unique key. The value of the key can be self-defined or predefined by TMS.</p>
|
||||
<p id="obs_03_0331__p18689840142116">A tag key must comply with the following naming rules:</p>
|
||||
<ul id="obs_03_0331__ul1868918402218"><li id="obs_03_0331__li19689540152114">Must contain 1 to 36 characters.</li><li id="obs_03_0331__li6689134062117">Only digits, letters, underscores (_), hyphens (-) are allowed.</li></ul>
|
||||
<td class="cellrowborder" valign="top" width="81.2%" headers="mcps1.3.2.2.4.2.1.2.3.1.2 "><p id="obs_03_0331__p116741240172118">Specifies the key of the tag. The value of the key can be self-defined or predefined by TMS.</p>
|
||||
<p id="obs_03_0331__p1239741018398">Tag key constraints:</p>
|
||||
<ul id="obs_03_0331__ul791472112397"><li id="obs_03_0331__li8914112133911">If there are multiple tags specified for an object, each tag key must be unique.</li><li id="obs_03_0331__li15153224123915">A tag key must contain 1 to 36 characters and be case sensitive.</li><li id="obs_03_0331__li147351326103919">A tag key can't start or end with a space or contain the following characters: ,/|<>=*\</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="obs_03_0331__row1668974010210"><td class="cellrowborder" valign="top" width="18.8%" headers="mcps1.3.2.2.4.2.1.2.3.1.1 "><p id="obs_03_0331__p18689114092118">Value</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="81.2%" headers="mcps1.3.2.2.4.2.1.2.3.1.2 "><p id="obs_03_0331__p9689194011211">Specifies the value of the tag. Tags of a bucket can have repetitive or blank values.</p>
|
||||
<p id="obs_03_0331__p14689104032115">The tag value must comply with the following naming rules:</p>
|
||||
<ul id="obs_03_0331__ul96891340162118"><li id="obs_03_0331__li11689124012116">Must contain 0 to 43 characters.</li><li id="obs_03_0331__li2689640112116">Only digits, letters, underscores (_), hyphens (-) are allowed.</li></ul>
|
||||
<p id="obs_03_0331__p114261946133917">Tag value constraints:</p>
|
||||
<ul id="obs_03_0331__ul1156773134019"><li id="obs_03_0331__li195674311402">A tag value can contain 0 to 43 characters and must be case sensitive.</li><li id="obs_03_0331__li13784659409">A tag value can't contain the following characters: ,/|<>=*\</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<p id="obs_03_0333__p23919077152619">Use SMN to create a notification topic for OBS as follows:</p>
|
||||
<ol class="subitemlist" type="a" id="obs_03_0333__ol28294216"><li id="obs_03_0333__li53321357">Create an SMN topic.</li><li id="obs_03_0333__li10130173">Add a subscription.</li><li id="obs_03_0333__li24062695">Modify the topic policy. On the <strong id="obs_03_0333__b1380102915208">Configure Topic Policy</strong> page, select <strong id="obs_03_0333__b18947194133713">OBS</strong> under <strong id="obs_03_0333__b494844110376">Services that can publish messages to this topic</strong>.</li></ol>
|
||||
<p id="obs_03_0333__p65157251171238">For details, see <a href="en-us_topic_0066088963.html#en-us_topic_0066088963__aobs_console_0039_mmccppss_table01">Table 1</a>.</p>
|
||||
</p></li><li id="obs_03_0333__li27263768145631"><span>Go back to OBS Console.</span></li><li id="obs_03_0333__li18641241112811"><span>Configure an event notification rule.</span><p><ol type="a" id="obs_03_0333__ol1481103423417"><li id="obs_03_0333__li154360579345">In the bucket list, click the bucket that you have created in <a href="#obs_03_0333__li29947515">2</a>.</li><li id="obs_03_0333__li4748191423520">In the navigation pane, choose <strong id="obs_03_0333__b1112517095">Basic Configurations</strong> > <strong id="obs_03_0333__b2064346112">Event Notification</strong>. The <strong id="obs_03_0333__b169281671">Event Notification</strong> page is displayed.</li><li id="obs_03_0333__li10811134103420">Click <strong id="obs_03_0333__b12967145816545">Create</strong>. The <strong id="obs_03_0333__b53941245557">Create Event Notification</strong> dialog box is displayed.</li><li id="obs_03_0333__li1167181813353">Configure event notification parameters, as shown in <a href="#obs_03_0333__fig377201314360">Figure 3</a>. After the notification is configured, an employee will be informed of all specified operations on the <strong id="obs_03_0333__b27182011101310">SMN</strong> folder in bucket <strong id="obs_03_0333__b137191111131317">testbucket</strong>. For details about the parameters, see <a href="en-us_topic_0066088963.html#en-us_topic_0066088963__aobs_console_0039_mmccppss_table01">Table 1</a>.<div class="note" id="obs_03_0333__note15207644203711"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="obs_03_0333__en-us_topic_0066088963_ul75801343183518"><li id="obs_03_0333__en-us_topic_0066088963_li195809435352">A folder path ends with a slash (/). Therefore, if you want to configure event notification rules for operations on folders and you need to filter folders by suffix, the suffix must also end with a slash (/).</li><li id="obs_03_0333__en-us_topic_0066088963_li168661347193517">If neither the <strong id="obs_03_0333__en-us_topic_0066088963_b14649194213219">Prefix</strong> nor the <strong id="obs_03_0333__en-us_topic_0066088963_b16651104273212">Suffix</strong> is configured, the event notification rule applies to all objects in the bucket.</li></ul>
|
||||
</p></li><li id="obs_03_0333__li27263768145631"><span>Go back to OBS Console.</span></li><li id="obs_03_0333__li18641241112811"><span>Configure an event notification rule.</span><p><ol type="a" id="obs_03_0333__ol1481103423417"><li id="obs_03_0333__li154360579345">In the bucket list, click the bucket that you have created in <a href="#obs_03_0333__li29947515">2</a>.</li><li id="obs_03_0333__li4748191423520">In the navigation pane, choose <strong id="obs_03_0333__b1544852106">Basic Configurations</strong> > <strong id="obs_03_0333__b133283985">Event Notification</strong>. The <strong id="obs_03_0333__b719478040">Event Notification</strong> page is displayed.</li><li id="obs_03_0333__li10811134103420">Click <strong id="obs_03_0333__b12967145816545">Create</strong>. The <strong id="obs_03_0333__b53941245557">Create Event Notification</strong> dialog box is displayed.</li><li id="obs_03_0333__li1167181813353">Configure event notification parameters, as shown in <a href="#obs_03_0333__fig377201314360">Figure 3</a>. After the notification is configured, an employee will be informed of all specified operations on the <strong id="obs_03_0333__b27182011101310">SMN</strong> folder in bucket <strong id="obs_03_0333__b137191111131317">testbucket</strong>. For details about the parameters, see <a href="en-us_topic_0066088963.html#en-us_topic_0066088963__aobs_console_0039_mmccppss_table01">Table 1</a>.<div class="note" id="obs_03_0333__note15207644203711"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="obs_03_0333__en-us_topic_0066088963_ul75801343183518"><li id="obs_03_0333__en-us_topic_0066088963_li195809435352">A folder path ends with a slash (/). Therefore, if you want to configure event notification rules for operations on folders and you need to filter folders by suffix, the suffix must also end with a slash (/).</li><li id="obs_03_0333__en-us_topic_0066088963_li168661347193517">If neither the <strong id="obs_03_0333__en-us_topic_0066088963_b14649194213219">Prefix</strong> nor the <strong id="obs_03_0333__en-us_topic_0066088963_b16651104273212">Suffix</strong> is configured, the event notification rule applies to all objects in the bucket.</li></ul>
|
||||
</div></div>
|
||||
<div class="fignone" id="obs_03_0333__fig377201314360"><a name="obs_03_0333__fig377201314360"></a><a name="fig377201314360"></a><span class="figcap"><b>Figure 3 </b>Adding an event notification rule</span><br><span><img id="obs_03_0333__image18916112932717" src="en-us_image_0145403235.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li></ol>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user