OBS UMN DOC

Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
This commit is contained in:
zhangyue 2024-11-06 14:33:05 +00:00 committed by zuul
parent 6c7c1c9d99
commit 92e44874e7
144 changed files with 3437 additions and 1690 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -25,15 +25,15 @@
</tbody> </tbody>
</table> </table>
</div> </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>. The 404 error will be returned if attempts are made to access this deleted object.<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 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__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 is displayed either in the object list or the list of deleted objects. It will never be displayed in both the 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__b153159177404">A</strong> is uploaded and deleted, it will be displayed in the <strong id="en-us_topic_0045853504__b113718469401">Deleted Objects</strong> list. If you upload an object named <strong id="en-us_topic_0045853504__b109891246104011">A</strong> again, the object <strong id="en-us_topic_0045853504__b1991114619403">A</strong> will be displayed in the <strong id="en-us_topic_0045853504__b92871340114115">Objects</strong> list, and the previously deleted object <strong id="en-us_topic_0045853504__b149921646144011">A</strong> will no longer be displayed in the <strong id="en-us_topic_0045853504__b585482374119">Deleted Objects</strong> list. For details, see <a href="#en-us_topic_0045853504__fig1469714544377">Figure 4</a>.</p> </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> <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> </li></ul>
</div> </div>
<div class="section" id="en-us_topic_0045853504__section11792633194415"><h4 class="sectiontitle">Suspending Versioning</h4><p id="en-us_topic_0045853504__p19731415440">Once the versioning function is enabled, it can be suspended but cannot be disabled. Once versioning is suspended, version IDs will no longer be allocated to newly uploaded objects. If an object with the same name already exists and does not have a version ID, the object will be overwritten.</p> <div class="section" id="en-us_topic_0045853504__section11792633194415"><h4 class="sectiontitle">Suspending Versioning</h4><p id="en-us_topic_0045853504__p19731415440">Once versioning is enabled for a bucket, it cannot be disabled, but it can be suspended. When versioning is suspended, a null, not a specific version ID, will be allocated to a newly uploaded object. If the newly uploaded object has the same name as an existing object with a null version ID, the new object will overwrite the existing object.</p>
<div class="fignone" id="en-us_topic_0045853504__fig997719201937"><span class="figcap"><b>Figure 5 </b>Object versions in the scenario when versioning is suspended</span><br><span><img id="en-us_topic_0045853504__image2468523195917" src="en-us_image_0135715557.png" title="Click to enlarge" class="imgResize"></span></div> <div class="fignone" id="en-us_topic_0045853504__fig997719201937"><span class="figcap"><b>Figure 5 </b>Object versions in the scenario when versioning is suspended</span><br><span><img id="en-us_topic_0045853504__image2468523195917" src="en-us_image_0135715557.png" title="Click to enlarge" class="imgResize"></span></div>
<p id="en-us_topic_0045853504__p15453151459">If versions of objects in a bucket do not need to be controlled, you can suspend the versioning function.</p> <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">Historical versions will be retained in OBS. If you do not need these historical 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> <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>
<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 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> </div>

View File

@ -8,7 +8,7 @@
</div></div> </div></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__li475417311303"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0045853514__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0045853514__li1733753692411"><span>In the navigation pane, choose <strong id="en-us_topic_0045853514__obs_03_0307_b51941856151917">Objects</strong>.</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> <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__li475417311303"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0045853514__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0045853514__li1733753692411"><span>In the navigation pane, choose <strong id="en-us_topic_0045853514__obs_03_0307_b51941856151917">Objects</strong>.</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__b4651747135115">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">Yes</strong> to confirm the deletion.</span></li></ol>
</div> </div>
</div> </div>
<div> <div>

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">Deleting a File or Folder</h1> <h1 class="topictitle1">Deleting a File or Folder</h1>
<div id="body8662426"><p id="en-us_topic_0045853551__a5d783ea9127047b79846a7b383bcd3c9">This section describes how to delete a file or folder.</p> <div id="body8662426"><p id="en-us_topic_0045853551__a5d783ea9127047b79846a7b383bcd3c9">This section describes how to delete a file or folder.</p>
<div class="section" id="en-us_topic_0045853551__s365083ada63d40cfb193b867b568ff43"><h4 class="sectiontitle">Background Information</h4><p id="en-us_topic_0045853551__a63b1344a6643405ba946eb76b72c0aa2">Deleting a folder will delete all files in the folder. Ensure that all files in a folder can be deleted before deleting the folder.</p> <div class="section" id="en-us_topic_0045853551__s365083ada63d40cfb193b867b568ff43"><h4 class="sectiontitle">Background Information</h4><p id="en-us_topic_0045853551__a63b1344a6643405ba946eb76b72c0aa2">Deleting a folder will also delete the files in it. Ensure that all files in a folder are not needed before deleting the folder.</p>
<p id="en-us_topic_0045853551__a981a330c685e4af58417635c86c128ae">Deleting unnecessary files or folders saves space and costs.</p> <p id="en-us_topic_0045853551__a981a330c685e4af58417635c86c128ae">Deleting unnecessary files or folders saves space and costs.</p>
<p id="en-us_topic_0045853551__en-us_topic_0068417499_p499195171442">You can use the lifecycle management function to implement periodic deletion of unneeded files or batch delete all files or folders in OBS. For details, see <a href="obs_03_0425.html">Lifecycle Management Overview</a>.</p> <p id="en-us_topic_0045853551__en-us_topic_0068417499_p499195171442">You can use the lifecycle management function to implement periodic deletion of unneeded files or batch delete all files or folders in OBS. For details, see <a href="obs_03_0425.html">Lifecycle Management Overview</a>.</p>
</div> </div>

View File

@ -1,10 +1,10 @@
<a name="en-us_topic_0045853553"></a><a name="en-us_topic_0045853553"></a> <a name="en-us_topic_0045853553"></a><a name="en-us_topic_0045853553"></a>
<h1 class="topictitle1">Logging Overview</h1> <h1 class="topictitle1">Logging Overview</h1>
<div id="body1499758606807"><p class="MsoNormal" id="en-us_topic_0045853553__p6143187">You can enable logging to facilitate analysis or audit as required. Access logs enable a bucket owner to analyze the property, type, or trend of requests to the bucket in depth. When the logging function of a bucket is enabled, OBS will log access requests for the bucket automatically, and write the generated log files to the specified bucket (target bucket).</p> <div id="body1499758606807"><p class="MsoNormal" id="en-us_topic_0045853553__p6143187">You can enable logging to facilitate analysis or audit. Access logs enable a bucket owner to analyze the property, type, or trend of requests to the bucket in depth. When the logging function of a bucket is enabled, OBS will log access requests for the bucket automatically, and write the generated log files to the specified bucket (target bucket).</p>
<p id="en-us_topic_0045853553__p18521156142616">The logging function itself is offered for free, only the space occupied by log files is charged.</p> <p id="en-us_topic_0045853553__p18521156142616">The logging function itself is offered for free, only the space occupied by log files is charged.</p>
<p id="en-us_topic_0045853553__p16303104318137">After logging is enabled, the log delivery user group will be automatically granted the permission to read the bucket ACL and write the bucket where logs are saved. If you manually disable such permissions, bucket logging fails.</p> <p id="en-us_topic_0045853553__p16303104318137">After logging is enabled, the log delivery user group will be automatically granted the permission to read the bucket ACL and write the bucket where logs are saved. If you manually disable such permissions, bucket logging will fail.</p>
<p class="MsoNormal" id="en-us_topic_0045853553__p38187048">OBS can record bucket access requests in logs for request analysis and log audit.</p> <p class="MsoNormal" id="en-us_topic_0045853553__p38187048">OBS can log bucket access requests for further request analysis or log audit.</p>
<p class="MsoNormal" id="en-us_topic_0045853553__p8139116">Logs occupy the OBS storage that incurs costs, so OBS does not collect bucket access logs by default.</p> <p class="MsoNormal" id="en-us_topic_0045853553__p8139116">Logs occupy the OBS storage that incurs costs, so OBS does not collect bucket access logs by default.</p>
<p id="en-us_topic_0045853553__p348350094022">After logging is configured, you can view operation logs in the bucket that stores the logs in approximately fifteen minutes.</p> <p id="en-us_topic_0045853553__p348350094022">After logging is configured, you can view operation logs in the bucket that stores the logs in approximately fifteen minutes.</p>
<p class="MsoNormal" id="en-us_topic_0045853553__p64418911">The following shows an example access log of the target bucket:</p> <p class="MsoNormal" id="en-us_topic_0045853553__p64418911">The following shows an example access log of the target bucket:</p>
@ -26,7 +26,7 @@
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.10.2.4.1.2 "><p id="en-us_topic_0045853553__p11713161731">787f2f92b20943998a4fe2ab75eb09b8</p> <td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.10.2.4.1.2 "><p id="en-us_topic_0045853553__p11713161731">787f2f92b20943998a4fe2ab75eb09b8</p>
</td> </td>
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.10.2.4.1.3 "><p id="en-us_topic_0045853553__p1317111168312">Account ID of the bucket owner</p> <td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.10.2.4.1.3 "><p id="en-us_topic_0045853553__p1317111168312">Account ID of the bucket owner</p>
<p id="en-us_topic_0045853553__p16250135004910"><strong id="en-us_topic_0045853553__b575518588313">Account ID</strong> corresponds to <strong id="en-us_topic_0045853553__b41318815412">Domain ID</strong> on the <strong id="en-us_topic_0045853553__b1397315101441">My Credential</strong> page.</p> <p id="en-us_topic_0045853553__p16250135004910"><strong id="en-us_topic_0045853553__b575518588313">Account ID</strong> corresponds to <strong id="en-us_topic_0045853553__b41318815412">Domain ID</strong> on the <strong id="en-us_topic_0045853553__b1397315101441">My Credentials</strong> page.</p>
</td> </td>
</tr> </tr>
<tr id="en-us_topic_0045853553__row512113386112"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.10.2.4.1.1 "><p id="en-us_topic_0045853553__p1717113165312">Bucket</p> <tr id="en-us_topic_0045853553__row512113386112"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.10.2.4.1.1 "><p id="en-us_topic_0045853553__p1717113165312">Bucket</p>

View File

@ -30,7 +30,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.2.2.3.2.2.2.3.1.2 "><p id="en-us_topic_0045853630__af70fafbad2854bf6b27334eeeba60205">OBS uses multipart uploads by default. Objects larger than the specified part size (5 MB by default) will be uploaded using multipart upload in the background. You can adjust the size of each part as needed. The value of <strong id="en-us_topic_0045853630__b2101885531161958">Part Size (MB)</strong> can range from 5 MB to 5 GB.</p> <td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.2.2.3.2.2.2.3.1.2 "><p id="en-us_topic_0045853630__af70fafbad2854bf6b27334eeeba60205">OBS uses multipart uploads by default. Objects larger than the specified part size (5 MB by default) will be uploaded using multipart upload in the background. You can adjust the size of each part as needed. The value of <strong id="en-us_topic_0045853630__b2101885531161958">Part Size (MB)</strong> can range from 5 MB to 5 GB.</p>
<div class="note" id="en-us_topic_0045853630__n9e51b629c15d48a298363e92b7bf6dea"><span class="notetitle"> NOTE: </span><div class="notebody"><p class="textintable" id="en-us_topic_0045853630__a691932aa2cb04490bb10a8762bc8d051">Multipart upload is used by default. Recommended settings of <strong id="en-us_topic_0045853630__b35010965113018">Part Size (MB)</strong> are as follows:</p> <div class="note" id="en-us_topic_0045853630__n9e51b629c15d48a298363e92b7bf6dea"><span class="notetitle"> NOTE: </span><div class="notebody"><p class="textintable" id="en-us_topic_0045853630__a691932aa2cb04490bb10a8762bc8d051">Multipart upload is used by default. Recommended settings of <strong id="en-us_topic_0045853630__b35010965113018">Part Size (MB)</strong> are as follows:</p>
<p class="textintable" id="en-us_topic_0045853630__ad311b703bed74dbc9022d8020ecc98e7">To maximize client performance, set <strong id="en-us_topic_0045853630__a4b013af2e67c4b0a9010deead1b30e9b">Part Size (MB)</strong> based on the upload speed. You are advised to set the <strong id="en-us_topic_0045853630__b1353816100111817">Part Size (MB)</strong> value larger than the maximum upload speed. For example, if the maximum upload speed is 10 MB/s, set <strong id="en-us_topic_0045853630__a7d866fbffd3a406794b97a2bc6280517">Part Size (MB)</strong> to an integer greater than 10 MB. It is recommended that the part size be set to a value two to three times the maximum upload speed.</p> <p class="textintable" id="en-us_topic_0045853630__ad311b703bed74dbc9022d8020ecc98e7">To maximize client performance, set <strong id="en-us_topic_0045853630__a4b013af2e67c4b0a9010deead1b30e9b">Part Size (MB)</strong> based on the upload speed. You are advised to set the <strong id="en-us_topic_0045853630__b1353816100111817">Part Size (MB)</strong> value larger than the maximum upload speed. For example, if the maximum upload speed is 10 Mbps, set <strong id="en-us_topic_0045853630__b189931336112016">Part Size (MB)</strong> to an integer greater than 10 MB, usually an integer two to three times the size allowed by the maximum upload speed.</p>
</div></div> </div></div>
</td> </td>
</tr> </tr>

View File

@ -13,7 +13,7 @@
<p id="en-us_topic_0045853659__li60610947104121p0">You can specify the number of days after which objects that have been last updated and meet specified conditions are automatically transitioned to Warm or Cold, or are expired and then deleted.</p> <p id="en-us_topic_0045853659__li60610947104121p0">You can specify the number of days after which objects that have been last updated and meet specified conditions are automatically transitioned to Warm or Cold, or are expired and then deleted.</p>
<ul id="en-us_topic_0045853659__ul6734890111214"><li id="en-us_topic_0045853659__li54662143111210">Transition to Warm: This defines the number of days since the last object update after which objects meeting specified conditions are automatically transitioned to the Warm storage class.</li><li id="en-us_topic_0045853659__li13511407111232">Transition to Cold: This defines the number of days since the last object update after which objects meeting specified conditions are automatically transitioned to the Cold storage class.</li><li id="en-us_topic_0045853659__li3068995820145">Expiration time: This defines the number of days since the last object update after which objects meeting specified conditions are automatically expired and then deleted.</li></ul> <ul id="en-us_topic_0045853659__ul6734890111214"><li id="en-us_topic_0045853659__li54662143111210">Transition to Warm: This defines the number of days since the last object update after which objects meeting specified conditions are automatically transitioned to the Warm storage class.</li><li id="en-us_topic_0045853659__li13511407111232">Transition to Cold: This defines the number of days since the last object update after which objects meeting specified conditions are automatically transitioned to the Cold storage class.</li><li id="en-us_topic_0045853659__li3068995820145">Expiration time: This defines the number of days since the last object update after which objects meeting specified conditions are automatically expired and then deleted.</li></ul>
</li></ul> </li></ul>
<p id="en-us_topic_0045853659__p6016904211523">Objects can be transitioned to Warm at least 30 days after their last update. If you configure to transition objects first to Warm and then Cold, the objects must stay Warm at least 30 days before they can be transitioned to Cold. For example, if you configure to transition objects to Warm 33 days after their last update, the objects can be transitioned to Cold at least 63 days after their last update. If only transition to Cold is used, but transition to Warm is not, there is no limit on the number of days for transition. The number set for expiration time must be larger than that specified for any of the transition operations.</p> <p id="en-us_topic_0045853659__p6016904211523">Objects can be transitioned to Warm at least 30 days after their last update. If you configure to transition objects first to Warm and then Cold, the objects must stay Warm at least 30 days before they can be transitioned to Cold. For example, if you configure to transition objects to Warm 33 days after their last update, the objects can be transitioned to Cold at least 63 days after their last update. If transition to Cold is used, but transition to Warm is not, there is no limit on the number of days for transition. The number set for expiration time must be larger than that specified for any of the transition operations.</p>
</div> </div>
<div> <div>
<div class="familylinks"> <div class="familylinks">

View File

@ -23,7 +23,7 @@
</td> </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_p18210191820365">Name of the bucket. A bucket name must be unique across all accounts and regions. Once a bucket is created, its name cannot be changed.</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_p18210191820365">Name of the bucket. A bucket name must be unique across all accounts and regions. Once a bucket is created, its name cannot be changed.</p>
<p id="en-us_topic_0045853662__obs_03_0306_p404056794432">According to the globally applied DNS naming rules, an OBS bucket name:</p> <p id="en-us_topic_0045853662__obs_03_0306_p404056794432">According to the globally applied DNS naming rules, an OBS bucket name:</p>
<ul id="en-us_topic_0045853662__obs_03_0306_ul5989254594432"><li id="en-us_topic_0045853662__obs_03_0306_li82963331566">Must be unique across all accounts and regions. The name of a deleted bucket can be reused for another bucket or a parallel file system at least 30 minutes later after the deletion.</li><li id="en-us_topic_0045853662__obs_03_0306_li129710331567">Must be 3 to 63 characters long. Only lowercase letters, digits, hyphens (-), and periods (.) are allowed.</li><li id="en-us_topic_0045853662__obs_03_0306_li13300133317564">Cannot start or end with a period (.) or hyphen (-), and cannot contain two consecutive periods (..) or contain a period (.) and a hyphen (-) adjacent to each other.</li><li id="en-us_topic_0045853662__obs_03_0306_li2030213317560">Cannot be formatted as an IP address.<div class="note" id="en-us_topic_0045853662__obs_03_0306_note75966362413"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0045853662__obs_03_0306_p318821192413">When you access OBS through HTTPS using virtual hosted-style URLs, if the bucket name contains a period (.), the certificate verification will fail. To work around this issue, you are advised not to use periods (.) in bucket names.</p> <ul id="en-us_topic_0045853662__obs_03_0306_ul5989254594432"><li id="en-us_topic_0045853662__obs_03_0306_li82963331566">Must be unique across all accounts and regions. The name of a deleted bucket can be reused for another bucket or a parallel file system at least 30 minutes after the deletion.</li><li id="en-us_topic_0045853662__obs_03_0306_li129710331567">Must be 3 to 63 characters long. Only lowercase letters, digits, hyphens (-), and periods (.) are allowed.</li><li id="en-us_topic_0045853662__obs_03_0306_li13300133317564">Cannot start or end with a period (.) or hyphen (-), and cannot contain two consecutive periods (..) or contain a period (.) and a hyphen (-) adjacent to each other.</li><li id="en-us_topic_0045853662__obs_03_0306_li2030213317560">Cannot be formatted as an IP address.<div class="note" id="en-us_topic_0045853662__obs_03_0306_note75966362413"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0045853662__obs_03_0306_p318821192413">When you access OBS through HTTPS using virtual hosted-style URLs, if the bucket name contains a period (.), the certificate verification will fail. To work around this issue, you are advised not to use periods (.) in bucket names.</p>
</div></div> </div></div>
</li></ul> </li></ul>
</td> </td>
@ -42,10 +42,11 @@
<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> <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>
</td> </td>
</tr> </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">Default Encryption</p> <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>
<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_p15210151810365">After default encryption is enabled for a bucket, all objects uploaded to the bucket are automatically encrypted. The <strong id="en-us_topic_0045853662__obs_03_0306_b15699471529">obs/default</strong> key is used by default. You can also click <strong id="en-us_topic_0045853662__obs_03_0306_b10403540175312">Create KMS Key</strong> to create a key on the KMS console. Then select the created key on OBS Console for encryption.</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">Select <strong id="en-us_topic_0045853662__obs_03_0306_b29702053411">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>
<p id="en-us_topic_0045853662__obs_03_0306_p1759222844812">If the default encryption has been enabled for the bucket, uploaded objects are automatically encrypted.</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>
</td> </td>
</tr> </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> <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>

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">Uploading an Object</h1> <h1 class="topictitle1">Uploading an Object</h1>
<div id="body1499753333226"><p id="en-us_topic_0045853663__p11143994113759">This section describes how to upload local files to OBS over the Internet. These files can be texts, images, videos, or any other type of files.</p> <div id="body1499753333226"><p id="en-us_topic_0045853663__p11143994113759">This section describes how to upload local files to OBS over the Internet. These files can be texts, images, videos, or any other type of files.</p>
<div class="section" id="en-us_topic_0045853663__section37191890113846"><h4 class="sectiontitle">Limitations and Constraints</h4><ul id="en-us_topic_0045853663__ul861573411396"><li id="en-us_topic_0045853663__li146792038154119">OBS Console allows you to upload files in a batch. Up to 100 files can be uploaded at a time, with the total size of no more than 5 GB. If the file size exceeds 5 GB, use OBS Browser or the multipart upload of OBS SDKs and APIs for upload.</li><li id="en-us_topic_0045853663__li1616338124218">If versioning is disabled for your bucket and you upload a new file with the same name as the one you previously uploaded to your bucket, the new file automatically overwrites the previous file and does not retain its ACL information. If you upload a new folder using the same name that was used with a previous folder in the bucket, the two folders will be merged, and files in the new folder will overwrite namesake files in the previous folder.</li><li id="en-us_topic_0045853663__li2360182919422">After versioning is enabled for your bucket, if the new file you upload has the same name as the one you previously uploaded to the bucket, a new file version will be added in the bucket. For details, see <a href="en-us_topic_0045853504.html">Versioning Overview</a>.</li></ul> <div class="section" id="en-us_topic_0045853663__section37191890113846"><h4 class="sectiontitle">Constraints</h4><ul id="en-us_topic_0045853663__ul861573411396"><li id="en-us_topic_0045853663__li146792038154119">OBS Console allows you to upload files in a batch. Up to 100 files can be uploaded at a time, with the total size of no more than 5 GB. If the file size exceeds 5 GB, use OBS Browser or the multipart upload of OBS SDKs and APIs for upload.</li><li id="en-us_topic_0045853663__li1616338124218">If versioning is disabled for your bucket and you upload a new file with the same name as the one you previously uploaded to your bucket, the new file automatically overwrites the previous one and does not retain its ACL information. If you upload a new folder using the same name that was used with a previous folder in the bucket, the two folders will be merged, and files in the new folder will overwrite those with the same name in the previous folder.</li><li id="en-us_topic_0045853663__li2360182919422">After versioning is enabled for your bucket, if the new file you upload has the same name as the one you previously uploaded to the bucket, a new file version will be added in the bucket. For details, see <a href="en-us_topic_0045853504.html">Versioning Overview</a>.</li></ul>
</div> </div>
<div class="section" id="en-us_topic_0045853663__section1750515815466"><h4 class="sectiontitle">Prerequisites</h4><ul id="en-us_topic_0045853663__obs_03_0307_ul13735132573913"><li id="en-us_topic_0045853663__obs_03_0307_li16735122520395">At least one bucket has been created.</li><li id="en-us_topic_0045853663__obs_03_0307_li167391276399">If you want to classify files, you can create folders and upload files to different folders. For details, see <a href="obs_03_0316.html">Creating a Folder</a>.</li></ul> <div class="section" id="en-us_topic_0045853663__section1750515815466"><h4 class="sectiontitle">Prerequisites</h4><ul id="en-us_topic_0045853663__obs_03_0307_ul13735132573913"><li id="en-us_topic_0045853663__obs_03_0307_li16735122520395">At least one bucket has been created.</li><li id="en-us_topic_0045853663__obs_03_0307_li167391276399">If you want to classify files, you can create folders and upload files to different folders. For details, see <a href="obs_03_0316.html">Creating a Folder</a>.</li></ul>
</div> </div>
@ -12,17 +12,15 @@
<p id="en-us_topic_0045853663__obs_03_0307_p1430017260138"></p> <p id="en-us_topic_0045853663__obs_03_0307_p1430017260138"></p>
</p></li><li id="en-us_topic_0045853663__obs_03_0307_li8341913385"><span>Select a storage class. If you do not specify a storage class, the objects you upload inherit the default storage class of the bucket.</span><p><div class="note" id="en-us_topic_0045853663__obs_03_0307_note27281163408"><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_p15728186194013">An object can have a different storage class from its bucket. You can specify a storage class for an object when uploading it, or you can change the object storage class after the object is uploaded.</p> </p></li><li id="en-us_topic_0045853663__obs_03_0307_li8341913385"><span>Select a storage class. If you do not specify a storage class, the objects you upload inherit the default storage class of the bucket.</span><p><div class="note" id="en-us_topic_0045853663__obs_03_0307_note27281163408"><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_p15728186194013">An object can have a different storage class from its bucket. You can specify a storage class for an object when uploading it, or you can change the object storage class after the object is uploaded.</p>
</div></div> </div></div>
</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_b38354538523">add file</strong> in the <strong id="en-us_topic_0045853663__obs_03_0307_b064791710146">Upload Object</strong> area to select files.</p> </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_li74481344102111"><span>(Optional) Select <strong id="en-us_topic_0045853663__obs_03_0307_b16368281536">KMS encryption</strong> to encrypt the uploaded file. For details, see <a href="obs_03_0322.html">Uploading an Object in Server-Side Encryption Mode</a>.</span><p><div class="note" id="en-us_topic_0045853663__obs_03_0307_note610818411894"><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_obs_03_0306_p062133814520">If the default encryption has been enabled for the bucket, uploaded objects are automatically encrypted.</p> </p></li><li id="en-us_topic_0045853663__obs_03_0307_li74481344102111"><span>(Optional) Select <strong id="en-us_topic_0045853663__obs_03_0307_b16368281536">KMS encryption</strong> to encrypt the uploaded file. 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_note610818411894"><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_obs_03_0306_p062133814520">If the bucket has <span id="en-us_topic_0045853663__obs_03_0307_ph1851173616343">server-side encryption</span> enabled, any object you upload will inherit the KMS encryption from the bucket by default.</p>
</div></div> </div></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_b1918611133719">Upload</strong>.</span></li></ol>
</div> </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> <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__li94697228416"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0045853663__obs_03_0307_b144421021120_1">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0045853663__li1733753692411"><span>In the navigation pane, choose <strong id="en-us_topic_0045853663__obs_03_0307_b51941856151917_1">Objects</strong>.</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> &gt; <strong id="en-us_topic_0045853663__b4308642191184">Change Storage Class</strong> on the right.</span><p><p id="en-us_topic_0045853663__p7418134211011"></p> <ol id="en-us_topic_0045853663__ol54196626"><li id="en-us_topic_0045853663__li94697228416"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0045853663__obs_03_0307_b144421021120_1">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0045853663__li1733753692411"><span>In the navigation pane, choose <strong id="en-us_topic_0045853663__obs_03_0307_b51941856151917_1">Objects</strong>.</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> &gt; <strong id="en-us_topic_0045853663__b4308642191184">Change Storage Class</strong> on the right.</span><p><p id="en-us_topic_0045853663__p7418134211011"></p>
</p></li><li id="en-us_topic_0045853663__li65518593175554"><span>Select the desired storage class and click <strong id="en-us_topic_0045853663__b6082718214515">OK</strong>.</span></li></ol> </p></li><li id="en-us_topic_0045853663__li65518593175554"><span>Select the desired storage class and click <strong id="en-us_topic_0045853663__b6082718214515">OK</strong>.</span></li></ol>
<div class="note" id="en-us_topic_0045853663__note49933437105659"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="en-us_topic_0045853663__ul48955806162444"><li id="en-us_topic_0045853663__li18917418162447"><p id="en-us_topic_0045853663__p171189397011"><a name="en-us_topic_0045853663__li18917418162447"></a><a name="li18917418162447"></a>You can manually change objects between storage classes:</p> <div class="note" id="en-us_topic_0045853663__note49933437105659"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="en-us_topic_0045853663__ul48955806162444"><li id="en-us_topic_0045853663__li8253143619589">You can manually change objects between storage classes. <ul id="en-us_topic_0045853663__ul14731091714"><li id="en-us_topic_0045853663__li4530321719">From Standard to Warm or Cold</li><li id="en-us_topic_0045853663__li102675352115">From Warm to Standard or Cold</li><li id="en-us_topic_0045853663__li18917418162447">From Cold to Standard or Warm. Before changing Cold objects, you must restore them first.</li></ul>
<ul id="en-us_topic_0045853663__ul833112531605"><li id="en-us_topic_0045853663__li47961528215">From Standard to Warm, or Cold</li><li id="en-us_topic_0045853663__li294710252035">From Warm to Standard, or Cold</li><li id="en-us_topic_0045853663__li233213121444">From Cold to Standard, or Warm. Before changing Cold objects, you must restore them first.<p id="en-us_topic_0045853663__p11762134915516"><a name="en-us_topic_0045853663__li233213121444"></a><a name="li233213121444"></a>Changing objects from Warm or Cold to other storage classes incurs restore costs. Select an appropriate change option based on your actual needs.</p>
</li></ul>
</li><li id="en-us_topic_0045853663__li377814260432">After an object is changed to Cold, its restore status changes to <strong id="en-us_topic_0045853663__b6402207131517">Unrestored</strong>.</li><li id="en-us_topic_0045853663__li20206156162444">You can also configure a lifecycle rule to change the storage class of an object. For details, see <a href="obs_03_0335.html">Configuring a Lifecycle Rule</a>.</li></ul> </li><li id="en-us_topic_0045853663__li377814260432">After an object is changed to Cold, its restore status changes to <strong id="en-us_topic_0045853663__b6402207131517">Unrestored</strong>.</li><li id="en-us_topic_0045853663__li20206156162444">You can also configure a lifecycle rule to change the storage class of an object. For details, see <a href="obs_03_0335.html">Configuring a Lifecycle Rule</a>.</li></ul>
</div></div> </div></div>
</div> </div>

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">About OBS</h1> <h1 class="topictitle1">About OBS</h1>
<div id="body1499741335747"><p class="MsoNormal" id="en-us_topic_0045853681__p41141913182819">Object Storage Service (OBS) is a scalable service that provides secure, reliable, and cost-effective cloud storage for massive amounts of data. On OBS, you can easily manage your OBS resources, such as creating, modifying, and deleting buckets, or uploading, downloading, and deleting objects.</p> <div id="body1499741335747"><p class="MsoNormal" id="en-us_topic_0045853681__p41141913182819">Object Storage Service (OBS) is a scalable service that provides secure, reliable, and cost-effective cloud storage for massive amounts of data. On OBS, you can easily manage your OBS resources, such as creating, modifying, and deleting buckets, or uploading, downloading, and deleting objects.</p>
<p class="MsoNormal" id="en-us_topic_0045853681__p163741752183115">OBS provides unlimited storage capacity for objects of any format, catering to the needs of common users, websites, enterprises, and developers. There is no limitation on the storage capacity of the entire OBS system or of a single bucket, and any number of objects can be stored. As a web service, OBS supports APIs over Hypertext Transfer Protocol (HTTP) and Hypertext Transfer Protocol Secure (HTTPS). You can use OBS Console or OBS Browser+ to access and manage data stored in OBS anytime, anywhere. OBS supports SDKs and is compatible with the REST APIs of Amazon S3. With the SDKs and APIs, you can easily manage data stored in OBS and develop upper-layer applications. OBS Console and OBS Browser are only compatible with the Amazon S3 APIs.</p> <p class="MsoNormal" id="en-us_topic_0045853681__p163741752183115">OBS provides unlimited storage capacity for objects of any format, catering to the needs of common users, websites, enterprises, and developers. There is no limitation on the storage capacity of the entire OBS system or of a single bucket, and any number of objects can be stored. As a web service, OBS supports APIs over Hypertext Transfer Protocol (HTTP) and Hypertext Transfer Protocol Secure (HTTPS). You can use OBS Console or OBS Browser to access and manage data stored in OBS anytime, anywhere. OBS supports SDKs and is compatible with the REST APIs of Amazon S3. With the SDKs and APIs, you can easily manage data stored in OBS and develop upper-layer applications. OBS Console and OBS Browser are only compatible with the Amazon S3 APIs.</p>
<p class="MsoNormal" id="en-us_topic_0045853681__p2227137817531">Cloud service infrastructures can be deployed in multiple regions, delivering high scalability and reliability. You can deploy OBS in specific regions for faster access at an affordable price.</p> <p class="MsoNormal" id="en-us_topic_0045853681__p2227137817531">Cloud service infrastructures can be deployed in multiple regions, delivering high scalability and reliability. You can deploy OBS in specific regions for faster access at an affordable price.</p>
</div> </div>
<div> <div>

View File

@ -1,9 +1,9 @@
<a name="en-us_topic_0045853689"></a><a name="en-us_topic_0045853689"></a> <a name="en-us_topic_0045853689"></a><a name="en-us_topic_0045853689"></a>
<h1 class="topictitle1">URL Validation Overview</h1> <h1 class="topictitle1">URL Validation Overview</h1>
<div id="body1499753333227"><p id="en-us_topic_0045853689__p23599622102642">To reduce costs, some websites steal links from other websites to enrich their own contents. Link stealing not only damages interests of the original websites but also increases workloads on the original websites' servers. Therefore URL is used to resolve this problem.</p> <div id="body1499753333227"><p id="en-us_topic_0045853689__p23599622102642">Some rogue websites may steal links from other websites to enrich their content without any costs. Link stealing hurts the interests of the original websites and it is also a strain on their servers. URL validation is designed to address this issue.</p>
<p id="en-us_topic_0045853689__p45291699">In HTTP, a website can detect the web page that accesses a target web page using the <strong id="en-us_topic_0045853689__b37697677201719">Referer</strong> field. As the <strong id="en-us_topic_0045853689__b42207024201720">Referer</strong> field can trace sources, specific techniques can be used to block or return to specific web pages if the pages are not from the website. URL validation checks whether the <strong id="en-us_topic_0045853689__b51152427201722">Referer</strong> field in requests matches the whitelist or blacklist by setting <strong id="en-us_topic_0045853689__b62232876201723">Referers</strong>. If the field matches the whitelist, the requests are allowed. Otherwise, the requests are blocked or specific pages are displayed.</p> <p id="en-us_topic_0045853689__p45291699">In HTTP, the <strong id="en-us_topic_0045853689__b933521718102">Referer</strong> field allows websites and web servers to identify where people are visiting them from. URL validation of OBS utilizes this <strong id="en-us_topic_0045853689__b131551015122">Referer</strong> field. The idea is that once you find that a request to your resource is not originated from an authorized source, you can have the request blocked or redirected to a specific web page. This way, OBS prevents unauthorized access to data stored in buckets.</p>
<p id="en-us_topic_0045853689__p4972115">OBS supports URL validation based on the <strong id="en-us_topic_0045853689__b164831835185414">Referer</strong> header field in HTTP requests to prevent a user's data in OBS from being stolen by other users. OBS supports both whitelists and blacklists.</p> <p id="en-us_topic_0045853689__p4972115">Such authorization is controlled using both whitelists and blacklists.</p>
</div> </div>
<div> <div>
<div class="familylinks"> <div class="familylinks">

View File

@ -12,6 +12,8 @@
</li> </li>
<li class="ulchildlink"><strong><a href="obs_03_0045.html">Permissions Management</a></strong><br> <li class="ulchildlink"><strong><a href="obs_03_0045.html">Permissions Management</a></strong><br>
</li> </li>
<li class="ulchildlink"><strong><a href="obs_03_0360.html">Constraints</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="obs_03_0203.html">Using OBS</a></strong><br> <li class="ulchildlink"><strong><a href="obs_03_0203.html">Using OBS</a></strong><br>
</li> </li>
<li class="ulchildlink"><strong><a href="obs_03_0204.html">Related Services</a></strong><br> <li class="ulchildlink"><strong><a href="obs_03_0204.html">Related Services</a></strong><br>

View File

@ -60,7 +60,7 @@
<tr id="en-us_topic_0045853707__re157b39294c34983a344bdd2c19d3867"><td class="cellrowborder" valign="top" width="16.24%" headers="mcps1.3.2.2.3.2.3.2.4.1.1 "><p id="en-us_topic_0045853707__ad301d40b837a4d808b3ade5e40303f19">Action/NotAction</p> <tr id="en-us_topic_0045853707__re157b39294c34983a344bdd2c19d3867"><td class="cellrowborder" valign="top" width="16.24%" headers="mcps1.3.2.2.3.2.3.2.4.1.1 "><p id="en-us_topic_0045853707__ad301d40b837a4d808b3ade5e40303f19">Action/NotAction</p>
</td> </td>
<td class="cellrowborder" valign="top" width="76.24%" headers="mcps1.3.2.2.3.2.3.2.4.1.2 "><p id="en-us_topic_0045853707__afe04e5f242e546bb9ba2d0527af3d34c">OBS actions which the bucket policy is applied to.</p> <td class="cellrowborder" valign="top" width="76.24%" headers="mcps1.3.2.2.3.2.3.2.4.1.2 "><p id="en-us_topic_0045853707__afe04e5f242e546bb9ba2d0527af3d34c">OBS actions which the bucket policy is applied to.</p>
<p id="en-us_topic_0045853707__af08cacea86e44fceb08b23dcef32a160">Either <strong id="en-us_topic_0045853707__b208460462388">Action</strong> or <strong id="en-us_topic_0045853707__b1386164993816">NotAction</strong> must be selected to specify whether the bucket policy applies to the OBS action.</p> <p id="en-us_topic_0045853707__af08cacea86e44fceb08b23dcef32a160">Either <strong id="en-us_topic_0045853707__b208460462388">Action</strong> or <strong id="en-us_topic_0045853707__b1386164993816">NotAction</strong> must be selected to specify whether the bucket policy applies to the OBS actions.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.2.2.3.2.3.2.4.1.3 "><p id="en-us_topic_0045853707__a5cd8ed2c61f348de990ca923abf0b2ea">Mandatory</p> <td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.2.2.3.2.3.2.4.1.3 "><p id="en-us_topic_0045853707__a5cd8ed2c61f348de990ca923abf0b2ea">Mandatory</p>
</td> </td>

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">Managing Fragments</h1> <h1 class="topictitle1">Managing Fragments</h1>
<div id="body8662426"><div class="section" id="en-us_topic_0045853710__se3f4c5059d9b4121bf14b13aa64c29db"><h4 class="sectiontitle">Background Information</h4><p id="en-us_topic_0045853710__a2a4ccfb76d4340678b3ba68836829f7c">Data can be uploaded to OBS using multipart uploads. Fragments are generated, if a multipart upload fails because of the following reasons (included but not limited to):</p> <div id="body8662426"><div class="section" id="en-us_topic_0045853710__se3f4c5059d9b4121bf14b13aa64c29db"><h4 class="sectiontitle">Background Information</h4><p id="en-us_topic_0045853710__a2a4ccfb76d4340678b3ba68836829f7c">Data can be uploaded to OBS using multipart uploads. Fragments are generated, if a multipart upload fails because of the following reasons (included but not limited to):</p>
<ul id="en-us_topic_0045853710__u45896b86aa884440802b2bef5c26968c"><li id="en-us_topic_0045853710__lfee5ee18b16547208680a5eeacfa4a2d">The network is in poor condition, and connection to the OBS server is frequently interrupted.</li><li id="en-us_topic_0045853710__l3d09eb2793c64fcbb0e3e07ead3da14b">The upload task is manually suspended.</li><li id="en-us_topic_0045853710__ld7a264baa56d428c957ad36547ef4f86">The device is faulty.</li><li id="en-us_topic_0045853710__l1e9e9c926242487d9ad9fd34503bbd34">The device is powered off suddenly.</li></ul> <ul id="en-us_topic_0045853710__u45896b86aa884440802b2bef5c26968c"><li id="en-us_topic_0045853710__lfee5ee18b16547208680a5eeacfa4a2d">The network is in poor conditions, and the connection to the OBS server is interrupted frequently.</li><li id="en-us_topic_0045853710__l3d09eb2793c64fcbb0e3e07ead3da14b">The upload task is manually suspended.</li><li id="en-us_topic_0045853710__ld7a264baa56d428c957ad36547ef4f86">The device is faulty.</li><li id="en-us_topic_0045853710__l1e9e9c926242487d9ad9fd34503bbd34">The device is powered off suddenly.</li></ul>
<p id="en-us_topic_0045853710__p10677829175817">If a file fails to be uploaded or the upload task is suspended, fragments are generated and stored in OBS. You can resume the upload through task management. After the resumable upload completes, the fragments will be cleared automatically.</p> <p id="en-us_topic_0045853710__p10677829175817">If a file fails to be uploaded or the upload task is suspended, fragments are generated and stored in OBS. You can resume the upload through task management. After the resumable upload completes, the fragments will be cleared automatically.</p>
<p id="en-us_topic_0045853710__p667714295583">You can also use the fragment management function to clear fragments. If you resume an upload task after clearing the fragments, the upload progress will be lost and the task needs to be re-uploaded.</p> <p id="en-us_topic_0045853710__p667714295583">You can also use the fragment management function to clear fragments. If you resume an upload task after clearing the fragments, the upload progress will be lost and the task needs to be re-uploaded.</p>
<div class="notice" id="en-us_topic_0045853710__note72851911184012"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="en-us_topic_0045853710__p192915474576">The fragment storage in OBS is billed.</p> <div class="notice" id="en-us_topic_0045853710__note72851911184012"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="en-us_topic_0045853710__p192915474576">The fragment storage in OBS is billed.</p>

View File

@ -4,8 +4,8 @@
<div id="body8662426"><p id="en-us_topic_0045853737__a1b72ae5ef8104dc6b996c9a950566e73">OBS Browser supports the external bucket adding function.</p> <div id="body8662426"><p id="en-us_topic_0045853737__a1b72ae5ef8104dc6b996c9a950566e73">OBS Browser supports the external bucket adding function.</p>
<div class="section" id="en-us_topic_0045853737__s4bbb287fa76047df837ed4a670a3a8a3"><h4 class="sectiontitle">Prerequisites</h4><p id="en-us_topic_0045853737__ac9bad5b5bdcb47ef868ee6ce923b9464">You have obtained the permissions to read and write the external bucket that you want to add.</p> <div class="section" id="en-us_topic_0045853737__s4bbb287fa76047df837ed4a670a3a8a3"><h4 class="sectiontitle">Prerequisites</h4><p id="en-us_topic_0045853737__ac9bad5b5bdcb47ef868ee6ce923b9464">You have obtained the permissions to read and write the external bucket that you want to add.</p>
<p id="en-us_topic_0045853737__p17115102815012">For example: Account <strong id="en-us_topic_0045853737__b816675283516">A</strong> wants to add bucket <strong id="en-us_topic_0045853737__b2068981617361">testbucket</strong> of account <strong id="en-us_topic_0045853737__b361582517364">B</strong>. Account <strong id="en-us_topic_0045853737__b3245533183616">B</strong> must grant account <strong id="en-us_topic_0045853737__b19727340101713">A</strong> the permission to read bucket <strong id="en-us_topic_0045853737__b171481614193711">testbucket</strong>. If account <strong id="en-us_topic_0045853737__b998063243817">A</strong> needs to upload object to bucket <strong id="en-us_topic_0045853737__b183171502395">testbucket</strong>, account <strong id="en-us_topic_0045853737__b1543945521718">B</strong> needs to grant account <strong id="en-us_topic_0045853737__b362161915391">A</strong> the permission to write the bucket. Account <strong id="en-us_topic_0045853737__b2251194915409">A</strong> is the owner of the uploaded objects, and needs to grant account <strong id="en-us_topic_0045853737__b19674135310401">B</strong> the permission to read and write the objects.</p> <p id="en-us_topic_0045853737__p17115102815012">For example: Account <strong id="en-us_topic_0045853737__b816675283516">A</strong> wants to add bucket <strong id="en-us_topic_0045853737__b2068981617361">testbucket</strong> of account <strong id="en-us_topic_0045853737__b361582517364">B</strong>. Account <strong id="en-us_topic_0045853737__b3245533183616">B</strong> must grant account <strong id="en-us_topic_0045853737__b19727340101713">A</strong> the permission to read bucket <strong id="en-us_topic_0045853737__b171481614193711">testbucket</strong>. If account <strong id="en-us_topic_0045853737__b998063243817">A</strong> needs to upload object to bucket <strong id="en-us_topic_0045853737__b183171502395">testbucket</strong>, account <strong id="en-us_topic_0045853737__b1543945521718">B</strong> needs to grant account <strong id="en-us_topic_0045853737__b362161915391">A</strong> the permission to write the bucket. Account <strong id="en-us_topic_0045853737__b2251194915409">A</strong> is the owner of the uploaded objects, and needs to grant account <strong id="en-us_topic_0045853737__b19674135310401">B</strong> the permission to read and write the objects.</p>
<div class="note" id="en-us_topic_0045853737__note6797359112510"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853737__p739854516309">An external bucket (version 3.0 or later) can be added only when its standard bucket policy is set to <strong id="en-us_topic_0045853737__b376295711234">Public Read and Write</strong>.</p> <div class="note" id="en-us_topic_0045853737__note6797359112510"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853737__p739854516309">Only a bucket 3.0 or later can be added as an external bucket after its standard bucket policy is set to public read/write.</p>
<p id="en-us_topic_0045853737__p1279717592252">If the standard bucket policy of an external bucket is set to <strong id="en-us_topic_0045853737__b1889420276276">Public Read and Write</strong> upon its creation, you need to manually change the standard bucket policy to <strong id="en-us_topic_0045853737__b8848173714270">Private</strong> and then change it back to <strong id="en-us_topic_0045853737__b239954572718">Public Read and Write</strong> again, so that it can be added.</p> <p id="en-us_topic_0045853737__p1279717592252">Suppose a bucket's standard bucket policy is set to public read/write during the bucket creation. To add this bucket as an external bucket, its standard bucket policy must be manually changed to private and then changed back to public read/write.</p>
</div></div> </div></div>
</div> </div>
<div class="section" id="en-us_topic_0045853737__sed02728ed0884d3a93f42523c801b294"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0045853737__o3694f1e2852642eaa9b69b902f331890"><li id="en-us_topic_0045853737__l4b7405eee906443fbf78863c50e610ca"><span>Log in to OBS Browser.</span></li><li id="en-us_topic_0045853737__lc82457e25c0548d6bbabb6de63eb7732"><span>Click <strong id="en-us_topic_0045853737__b4655121710154">Add Bucket</strong> on the upper left corner of the page. The <strong id="en-us_topic_0045853737__b1470792731513">Add Bucket</strong> dialog box is displayed.</span></li><li id="en-us_topic_0045853737__la9ceacba80e54f22a68a7e5177d98bdc"><span>Select <strong id="en-us_topic_0045853737__b208582816164">Add external bucket</strong> and enter the bucket name.</span><p><div class="fignone" id="en-us_topic_0045853737__f6670af00503c4409a0d68693132a5926"><span class="figcap"><b>Figure 1 </b>Adding an external bucket</span><br><span><img id="en-us_topic_0045853737__image136561612133320" src="en-us_image_0129840536.png" title="Click to enlarge" class="imgResize"></span></div> <div class="section" id="en-us_topic_0045853737__sed02728ed0884d3a93f42523c801b294"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0045853737__o3694f1e2852642eaa9b69b902f331890"><li id="en-us_topic_0045853737__l4b7405eee906443fbf78863c50e610ca"><span>Log in to OBS Browser.</span></li><li id="en-us_topic_0045853737__lc82457e25c0548d6bbabb6de63eb7732"><span>Click <strong id="en-us_topic_0045853737__b4655121710154">Add Bucket</strong> on the upper left corner of the page. The <strong id="en-us_topic_0045853737__b1470792731513">Add Bucket</strong> dialog box is displayed.</span></li><li id="en-us_topic_0045853737__la9ceacba80e54f22a68a7e5177d98bdc"><span>Select <strong id="en-us_topic_0045853737__b208582816164">Add external bucket</strong> and enter the bucket name.</span><p><div class="fignone" id="en-us_topic_0045853737__f6670af00503c4409a0d68693132a5926"><span class="figcap"><b>Figure 1 </b>Adding an external bucket</span><br><span><img id="en-us_topic_0045853737__image136561612133320" src="en-us_image_0129840536.png" title="Click to enlarge" class="imgResize"></span></div>

View File

@ -1,7 +1,7 @@
<a name="en-us_topic_0045853744"></a><a name="en-us_topic_0045853744"></a> <a name="en-us_topic_0045853744"></a><a name="en-us_topic_0045853744"></a>
<h1 class="topictitle1">Configuring Logging</h1> <h1 class="topictitle1">Configuring Logging</h1>
<div id="body8662426"><p id="en-us_topic_0045853744__p16911746506">After logging is enabled for a bucket, OBS automatically converts the bucket's logs into objects in a fixed naming format and then writes these objects into a destination bucket.</p> <div id="body8662426"><p id="en-us_topic_0045853744__p16911746506">After logging is enabled for a bucket, OBS automatically converts the bucket's logs into an object in a fixed naming format and then writes the object to the specified bucket.</p>
<div class="section" id="en-us_topic_0045853744__sfe45c5a333f549f48ff1e9ba2d1e8454"><h4 class="sectiontitle">Prerequisites</h4><p id="en-us_topic_0045853744__a07a271eb678f4753b386d76b089fe5d2">The log delivery user group has the write and ACL view permissions for the destination bucket. For details, see <a href="en-us_topic_0045853509.html">Configuring a Bucket ACL</a>.</p> <div class="section" id="en-us_topic_0045853744__sfe45c5a333f549f48ff1e9ba2d1e8454"><h4 class="sectiontitle">Prerequisites</h4><p id="en-us_topic_0045853744__a07a271eb678f4753b386d76b089fe5d2">The log delivery user group has the write and ACL view permissions for the destination bucket. For details, see <a href="en-us_topic_0045853509.html">Configuring a Bucket ACL</a>.</p>
</div> </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> &gt; <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> <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> &gt; <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>

View File

@ -4,7 +4,7 @@
<div id="body1557026128761"><div class="section" id="en-us_topic_0045853745__section4574154145010"><h4 class="sectiontitle">Bucket Owner and Object Owner</h4><p id="en-us_topic_0045853745__p18002110210">The owner of a bucket is the account that created the bucket. If the bucket is created by an IAM user under the account, the bucket owner is the account instead of the IAM user.</p> <div id="body1557026128761"><div class="section" id="en-us_topic_0045853745__section4574154145010"><h4 class="sectiontitle">Bucket Owner and Object Owner</h4><p id="en-us_topic_0045853745__p18002110210">The owner of a bucket is the account that created the bucket. If the bucket is created by an IAM user under the account, the bucket owner is the account instead of the IAM user.</p>
<p id="en-us_topic_0045853745__p14995316180">The owner of an object is the account that uploads the object, who may not be the owner of the bucket to which the object belongs. For example, account <strong id="en-us_topic_0045853745__b195491217194518">B</strong> is granted the permission to access a bucket of account <strong id="en-us_topic_0045853745__b165491017134515">A</strong>, and account <strong id="en-us_topic_0045853745__b16549141713459">B</strong> uploads a file to the bucket. In that case, instead of the bucket owner account <strong id="en-us_topic_0045853745__b454941710457">A</strong>, account <strong id="en-us_topic_0045853745__b0549517184517">B</strong> is the owner of the object.</p> <p id="en-us_topic_0045853745__p14995316180">The owner of an object is the account that uploads the object, who may not be the owner of the bucket to which the object belongs. For example, account <strong id="en-us_topic_0045853745__b195491217194518">B</strong> is granted the permission to access a bucket of account <strong id="en-us_topic_0045853745__b165491017134515">A</strong>, and account <strong id="en-us_topic_0045853745__b16549141713459">B</strong> uploads a file to the bucket. In that case, instead of the bucket owner account <strong id="en-us_topic_0045853745__b454941710457">A</strong>, account <strong id="en-us_topic_0045853745__b0549517184517">B</strong> is the owner of the object.</p>
</div> </div>
<div class="section" id="en-us_topic_0045853745__section1825740772"><h4 class="sectiontitle">Bucket Policies</h4><p id="en-us_topic_0045853745__p859419124614">A bucket policy is attached to a bucket and objects in the bucket. By leveraging bucket policies, the owner of a bucket can grant IAM users or other accounts the permissions to operate the bucket and objects in the bucket.</p> <div class="section" id="en-us_topic_0045853745__section1825740772"><h4 class="sectiontitle">Bucket Policies</h4><p id="en-us_topic_0045853745__p859419124614">Bucket policies apply to buckets and the objects in them. By leveraging bucket policies, the owner of a bucket can grant IAM users or other accounts the permissions to operate the bucket and objects in the bucket.</p>
<p id="en-us_topic_0045853745__p116964110188"><strong id="en-us_topic_0045853745__b1310315411577">Application Scenarios</strong></p> <p id="en-us_topic_0045853745__p116964110188"><strong id="en-us_topic_0045853745__b1310315411577">Application Scenarios</strong></p>
<ul id="en-us_topic_0045853745__ul7761857101919"><li id="en-us_topic_0045853745__li10777579196">If no <span id="en-us_topic_0045853745__ph9419171385810">IAM policies</span> are used for access control and you want to grant other accounts the permissions to access your OBS resources, you can use bucket policies.</li><li id="en-us_topic_0045853745__li129735910199">You can configure bucket policies to grant IAM users different access permissions on buckets.</li><li id="en-us_topic_0045853745__li121708142011">You can also use bucket policies to grant other accounts the permissions to access your buckets.</li></ul> <ul id="en-us_topic_0045853745__ul7761857101919"><li id="en-us_topic_0045853745__li10777579196">If no <span id="en-us_topic_0045853745__ph9419171385810">IAM policies</span> are used for access control and you want to grant other accounts the permissions to access your OBS resources, you can use bucket policies.</li><li id="en-us_topic_0045853745__li129735910199">You can configure bucket policies to grant IAM users different access permissions on buckets.</li><li id="en-us_topic_0045853745__li121708142011">You can also use bucket policies to grant other accounts the permissions to access your buckets.</li></ul>
<p id="en-us_topic_0045853745__p108879396110"><strong id="en-us_topic_0045853745__b1738916595918">Standard Bucket Policies</strong></p> <p id="en-us_topic_0045853745__p108879396110"><strong id="en-us_topic_0045853745__b1738916595918">Standard Bucket Policies</strong></p>
@ -76,7 +76,7 @@
<p id="en-us_topic_0045853745__p102285401236"><strong id="en-us_topic_0045853745__b12791142219148">Custom Bucket Policies</strong></p> <p id="en-us_topic_0045853745__p102285401236"><strong id="en-us_topic_0045853745__b12791142219148">Custom Bucket Policies</strong></p>
<p id="en-us_topic_0045853745__p385655915198">The following three modes are provided to facilitate quick configuration:</p> <p id="en-us_topic_0045853745__p385655915198">The following three modes are provided to facilitate quick configuration:</p>
<ul id="en-us_topic_0045853745__ul8780438183815"><li id="en-us_topic_0045853745__li14780838163818"><strong id="en-us_topic_0045853745__b1579603411120">Read-only</strong>: With the <strong id="en-us_topic_0045853745__b149541244151111">Read-only</strong> mode, you only need to specify the <strong id="en-us_topic_0045853745__b154171455161115">Principal</strong> (authorized users). Then the authorized users have the read permission for the bucket and objects in the bucket, and can perform all GET operations on these resources.</li><li id="en-us_topic_0045853745__li11780438103816"><strong id="en-us_topic_0045853745__b14945201661218">Read and write</strong>: With the <strong id="en-us_topic_0045853745__b7774422121220">Read and write</strong> mode, you only need to specify the <strong id="en-us_topic_0045853745__b197141041313">Principal</strong> (authorized users). Then the authorized users have the full control permissions for the bucket and objects in the bucket, and can perform any operation on these resources.</li><li id="en-us_topic_0045853745__li15780138123814"><strong id="en-us_topic_0045853745__b16901182413136">Customized</strong>: With the <strong id="en-us_topic_0045853745__b1392612293135">Customized</strong> mode, you can define the specific operation permissions that you want to grant to users and accounts by configuring the <strong id="en-us_topic_0045853745__b1496317562136">Effect</strong>, <strong id="en-us_topic_0045853745__b14784013141">Principal</strong>, <strong id="en-us_topic_0045853745__b05277541415">Resources</strong>, <strong id="en-us_topic_0045853745__b21719971415">Actions</strong>, and <strong id="en-us_topic_0045853745__b143672163147">Conditions</strong> parameters. </li></ul> <ul id="en-us_topic_0045853745__ul8780438183815"><li id="en-us_topic_0045853745__li14780838163818"><strong id="en-us_topic_0045853745__b1579603411120">Read-only</strong>: With the <strong id="en-us_topic_0045853745__b149541244151111">Read-only</strong> mode, you only need to specify the <strong id="en-us_topic_0045853745__b154171455161115">Principal</strong> (authorized users). Then the authorized users have the read permission for the bucket and objects in the bucket, and can perform all GET operations on these resources.</li><li id="en-us_topic_0045853745__li11780438103816"><strong id="en-us_topic_0045853745__b14945201661218">Read and write</strong>: With the <strong id="en-us_topic_0045853745__b7774422121220">Read and write</strong> mode, you only need to specify the <strong id="en-us_topic_0045853745__b197141041313">Principal</strong> (authorized users). Then the authorized users have the full control permissions for the bucket and objects in the bucket, and can perform any operation on these resources.</li><li id="en-us_topic_0045853745__li15780138123814"><strong id="en-us_topic_0045853745__b16901182413136">Customized</strong>: With the <strong id="en-us_topic_0045853745__b1392612293135">Customized</strong> mode, you can define the specific operation permissions that you want to grant to users and accounts by configuring the <strong id="en-us_topic_0045853745__b1496317562136">Effect</strong>, <strong id="en-us_topic_0045853745__b14784013141">Principal</strong>, <strong id="en-us_topic_0045853745__b05277541415">Resources</strong>, <strong id="en-us_topic_0045853745__b21719971415">Actions</strong>, and <strong id="en-us_topic_0045853745__b143672163147">Conditions</strong> parameters. </li></ul>
<div class="note" id="en-us_topic_0045853745__note14398193912214"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853745__p639816399229">On OBS Console, when you use a custom bucket policy to grant other users the permissions to operate resources in a bucket, you also need to grant these users the bucket read permission <strong id="en-us_topic_0045853745__b1735213568396">ListBucket</strong> (leaving the resource name blank indicates that the policy takes effect on the entire bucket). Otherwise, the users may have no permission to access the bucket from OBS Console.</p> <div class="note" id="en-us_topic_0045853745__note14398193912214"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853745__p639816399229">On OBS Console, when you use a custom bucket policy to grant other users the permissions to operate resources in a bucket, you also need to grant these users the bucket read permission <strong id="en-us_topic_0045853745__b1735213568396">ListBucket</strong> (leaving the resource name blank indicates that the policy is applied to the entire bucket). Otherwise, the users may have no permission to access the bucket from OBS Console.</p>
</div></div> </div></div>
</div> </div>
<div class="section" id="en-us_topic_0045853745__section0354920819"><h4 class="sectiontitle">Object Policies</h4><p id="en-us_topic_0045853745__p139763410611">Object policies apply to objects in a bucket. A bucket policy is applicable to a set of objects (with the same object name prefix) or to all objects (specified by an asterisk <strong id="en-us_topic_0045853745__b2086119513210">*</strong>) in the bucket. To configure an object policy, select an object, and then configure a policy for it.</p> <div class="section" id="en-us_topic_0045853745__section0354920819"><h4 class="sectiontitle">Object Policies</h4><p id="en-us_topic_0045853745__p139763410611">Object policies apply to objects in a bucket. A bucket policy is applicable to a set of objects (with the same object name prefix) or to all objects (specified by an asterisk <strong id="en-us_topic_0045853745__b2086119513210">*</strong>) in the bucket. To configure an object policy, select an object, and then configure a policy for it.</p>

View File

@ -2,20 +2,20 @@
<h1 class="topictitle1">Configuring Static Website Hosting</h1> <h1 class="topictitle1">Configuring Static Website Hosting</h1>
<div id="body1499758606807"><p id="en-us_topic_0045853755__p30121176153913">You can configure static website hosting for a bucket and then use the bucket's domain name to access static websites hosted in the bucket.</p> <div id="body1499758606807"><p id="en-us_topic_0045853755__p30121176153913">You can configure static website hosting for a bucket and then use the bucket's domain name to access static websites hosted in the bucket.</p>
<p id="en-us_topic_0045853755__p885135018528">The configuration of static website hosting takes two minutes at most to take effect.</p> <p id="en-us_topic_0045853755__p885135018528">It can take up to two minutes for the configuration of static website hosting to take effect.</p>
<div class="section" id="en-us_topic_0045853755__section11221613153921"><h4 class="sectiontitle">Prerequisites</h4><p id="en-us_topic_0045853755__p1146611514350">Web page files required for static website hosting have been uploaded to the specified bucket.</p> <div class="section" id="en-us_topic_0045853755__section11221613153921"><h4 class="sectiontitle">Prerequisites</h4><p id="en-us_topic_0045853755__p1146611514350">Web page files required for static website hosting have been uploaded to the specified bucket.</p>
<p id="en-us_topic_0045853755__p1812645682117">The static website files hosted in the bucket are accessible to anonymous users.</p> <p id="en-us_topic_0045853755__p1812645682117">The static website files hosted in the bucket are accessible to anonymous users.</p>
<p id="en-us_topic_0045853755__p3350182614313">Static web page files in the Cold storage class have been restored. For more information, see <a href="obs_03_0320.html">Restoring Objects from the Cold Storage</a>.</p> <p id="en-us_topic_0045853755__p3350182614313">Static web page files in the Cold storage class have been restored. For more information, see <a href="obs_03_0320.html">Restoring an Object from Cold Storage</a>.</p>
</div> </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__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0045853755__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0045853755__li45818654181751"><span>(<strong id="en-us_topic_0045853755__b7869135132012">Optional</strong>) If the static website files in the bucket are not accessible to anonymous users, perform this step. If they are already accessible to everyone, skip this step.</span><p><p id="en-us_topic_0045853755__p18712161416268">Grant the read permission for static website files to anonymous users. For details, see <a href="obs_03_0132.html">Granting Anonymous Users Permission to Access Objects</a>.</p> <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__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0045853755__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0045853755__li45818654181751"><span>(<strong id="en-us_topic_0045853755__b7869135132012">Optional</strong>) If the static website files in the bucket are not accessible to anonymous users, perform this step. If they are already accessible to everyone, skip this step.</span><p><p id="en-us_topic_0045853755__p18712161416268">Grant the read permission for static website files to anonymous users. For details, see <a href="obs_03_0132.html">Granting Anonymous Users Permission to Access Objects</a>.</p>
<p id="en-us_topic_0045853755__p14415184985410">If the bucket contains only static website files, configure the <strong id="en-us_topic_0045853755__b63305532481">Public Read</strong> policy for the bucket so that all files in it can be accessed publicly.</p> <p id="en-us_topic_0045853755__p14415184985410">If the bucket contains only static website files, configure the <strong id="en-us_topic_0045853755__b1273611558518">Public Read</strong> policy for the bucket so that all files in it are publicly accessible.</p>
<ol type="a" id="en-us_topic_0045853755__ol56026477144312"><li id="en-us_topic_0045853755__li26219314144346">Choose <strong id="en-us_topic_0045853755__b1966141115407">Permissions</strong> &gt; <strong id="en-us_topic_0045853755__b7671191919400">Bucket Policies</strong>.</li><li id="en-us_topic_0045853755__li820711719166">In the <strong id="en-us_topic_0045853755__b137091459121110">Standard Bucket Policies</strong> area, select the <strong id="en-us_topic_0045853755__b8285215161211">Public Read</strong> policy for the bucket.</li><li id="en-us_topic_0045853755__li588503161565">Click <strong id="en-us_topic_0045853755__b9882162941218">Public Read</strong>. For details, see <a href="#en-us_topic_0045853755__fig15186794193556">Figure 1</a>. In the confirmation dialog box that is displayed, click <strong id="en-us_topic_0045853755__b1842219132">Yes</strong>.<div class="fignone" id="en-us_topic_0045853755__fig15186794193556"><a name="en-us_topic_0045853755__fig15186794193556"></a><a name="fig15186794193556"></a><span class="figcap"><b>Figure 1 </b>Configuring the public read permission</span><br><span><img id="en-us_topic_0045853755__image1956565091517" src="en-us_image_0129612765.png" title="Click to enlarge" class="imgResize"></span></div> <ol type="a" id="en-us_topic_0045853755__ol56026477144312"><li id="en-us_topic_0045853755__li26219314144346">Choose <strong id="en-us_topic_0045853755__b1966141115407">Permissions</strong> &gt; <strong id="en-us_topic_0045853755__b7671191919400">Bucket Policies</strong>.</li><li id="en-us_topic_0045853755__li820711719166">In the <strong id="en-us_topic_0045853755__b137091459121110">Standard Bucket Policies</strong> area, select the <strong id="en-us_topic_0045853755__b8285215161211">Public Read</strong> policy for the bucket.</li><li id="en-us_topic_0045853755__li588503161565">Click <strong id="en-us_topic_0045853755__b9882162941218">Public Read</strong>. For details, see <a href="#en-us_topic_0045853755__fig15186794193556">Figure 1</a>. In the confirmation dialog box that is displayed, click <strong id="en-us_topic_0045853755__b1842219132">Yes</strong>.<div class="fignone" id="en-us_topic_0045853755__fig15186794193556"><a name="en-us_topic_0045853755__fig15186794193556"></a><a name="fig15186794193556"></a><span class="figcap"><b>Figure 1 </b>Configuring the public read permission</span><br><span><img id="en-us_topic_0045853755__image1956565091517" src="en-us_image_0129612765.png" title="Click to enlarge" class="imgResize"></span></div>
</li></ol> </li></ol>
</p></li><li id="en-us_topic_0045853755__li18830181855820"><span>In the <strong id="en-us_topic_0045853755__b838813813356">Basic Configurations</strong> area, click <strong id="en-us_topic_0045853755__b14321164593516">Static Website Hosting</strong>. The <strong id="en-us_topic_0045853755__b1936125173510">Static Website Hosting</strong> page is displayed.</span><p><p id="en-us_topic_0045853755__p1732877134316">Alternatively, you can choose <strong id="en-us_topic_0045853755__b16921115721615">Basic Configurations</strong> &gt; <strong id="en-us_topic_0045853755__b8474115171713">Static Website Hosting</strong> from the navigation pane on the left.</p> </p></li><li id="en-us_topic_0045853755__li18830181855820"><span>In the <strong id="en-us_topic_0045853755__b838813813356">Basic Configurations</strong> area, click <strong id="en-us_topic_0045853755__b14321164593516">Static Website Hosting</strong>. The <strong id="en-us_topic_0045853755__b1936125173510">Static Website Hosting</strong> page is displayed.</span><p><p id="en-us_topic_0045853755__p1732877134316">Alternatively, you can choose <strong id="en-us_topic_0045853755__b16921115721615">Basic Configurations</strong> &gt; <strong id="en-us_topic_0045853755__b8474115171713">Static Website Hosting</strong> from the navigation pane on the left.</p>
</p></li><li id="en-us_topic_0045853755__li16425445133613"><span>Click <strong id="en-us_topic_0045853755__b145689166565">Configure Static Website Hosting</strong>. The <strong id="en-us_topic_0045853755__b16569201612565">Configure Static Website Hosting</strong> dialog box is displayed.</span></li><li id="en-us_topic_0045853755__li16729105453"><span>Enable <strong id="en-us_topic_0045853755__b6575121121913">Status</strong>.</span></li><li id="en-us_topic_0045853755__li13201511640"><span>Set the hosting type to the current bucket. For details, see <a href="#en-us_topic_0045853755__fig1131112528711">Figure 2</a>.</span><p><div class="fignone" id="en-us_topic_0045853755__fig1131112528711"><a name="en-us_topic_0045853755__fig1131112528711"></a><a name="fig1131112528711"></a><span class="figcap"><b>Figure 2 </b>Configuring static website hosting</span><br><span><img id="en-us_topic_0045853755__image27411688519" src="en-us_image_0145846197.png" title="Click to enlarge" class="imgResize"></span></div> </p></li><li id="en-us_topic_0045853755__li16425445133613"><span>Click <strong id="en-us_topic_0045853755__b145689166565">Configure Static Website Hosting</strong>. The <strong id="en-us_topic_0045853755__b16569201612565">Configure Static Website Hosting</strong> dialog box is displayed.</span></li><li id="en-us_topic_0045853755__li16729105453"><span>Enable <strong id="en-us_topic_0045853755__b6575121121913">Status</strong>.</span></li><li id="en-us_topic_0045853755__li13201511640"><span>Set the hosting type to the current bucket. For details, see <a href="#en-us_topic_0045853755__fig1131112528711">Figure 2</a>.</span><p><div class="fignone" id="en-us_topic_0045853755__fig1131112528711"><a name="en-us_topic_0045853755__fig1131112528711"></a><a name="fig1131112528711"></a><span class="figcap"><b>Figure 2 </b>Configuring static website hosting</span><br><span><img id="en-us_topic_0045853755__image27411688519" src="en-us_image_0145846197.png" title="Click to enlarge" class="imgResize"></span></div>
<p id="en-us_topic_0045853755__p261473213246"></p> <p id="en-us_topic_0045853755__p261473213246"></p>
</p></li><li id="en-us_topic_0045853755__li65471095155127"><span>Configure the homepage and 404 error page.</span><p> </p></li><li id="en-us_topic_0045853755__li65471095155127"><span>Configure the homepage and 404 error page.</span><p>
<ul id="en-us_topic_0045853755__ul58086424"><li id="en-us_topic_0045853755__li44406302"><strong id="en-us_topic_0045853755__b875491074">Home Page</strong>: specifies the default homepage of the static website. When OBS Console is used to configure static website hosting, only HTML web pages are supported. When APIs are used to configure static website hosting, OBS does not have such a restriction, but the object <strong id="en-us_topic_0045853755__b95712271369">Content-Type</strong> must be specified.<p id="en-us_topic_0045853755__p64112402">OBS only allows files such as <strong id="en-us_topic_0045853755__b7877104162117">index.html</strong> in the root directory of a bucket to function as the default homepage. Do not set the default homepage with a multi-level directory structure (for example, <strong id="en-us_topic_0045853755__b887715452112">/page/index.html</strong>).</p> <ul id="en-us_topic_0045853755__ul58086424"><li id="en-us_topic_0045853755__li44406302"><strong id="en-us_topic_0045853755__b1133390286">Home Page</strong>: specifies the default homepage of the static website. When OBS Console is used to configure static website hosting, only HTML web pages are supported. When APIs are used to configure static website hosting, OBS does not have such a restriction, but the object <strong id="en-us_topic_0045853755__b95712271369">Content-Type</strong> must be specified.<p id="en-us_topic_0045853755__p64112402">OBS only allows files such as <strong id="en-us_topic_0045853755__b7877104162117">index.html</strong> in the root directory of a bucket to function as the default homepage. Do not set the default homepage with a multi-level directory structure (for example, <strong id="en-us_topic_0045853755__b887715452112">/page/index.html</strong>).</p>
</li><li id="en-us_topic_0045853755__li40140706"><strong id="en-us_topic_0045853755__b1074981173714">404 Error Page</strong>: specifies the error page returned when an error occurs during static website access. When OBS Console is used to configure static website hosting, only HTML, JPG, PNG, BMP, and WebP files under the root directory are supported. When APIs are used to configure static website hosting, OBS does not have such a restriction, but the object <strong id="en-us_topic_0045853755__b12328101310377">Content-Type</strong> must be specified.</li></ul> </li><li id="en-us_topic_0045853755__li40140706"><strong id="en-us_topic_0045853755__b1074981173714">404 Error Page</strong>: specifies the error page returned when an error occurs during static website access. When OBS Console is used to configure static website hosting, only HTML, JPG, PNG, BMP, and WebP files under the root directory are supported. When APIs are used to configure static website hosting, OBS does not have such a restriction, but the object <strong id="en-us_topic_0045853755__b12328101310377">Content-Type</strong> must be specified.</li></ul>
</p></li><li id="en-us_topic_0045853755__li53951195155255"><span><strong id="en-us_topic_0045853755__b67601913142610">Optional</strong>: In <strong id="en-us_topic_0045853755__b1499976005142610">Redirection Rules</strong>, configure redirection rules. Requests that comply with the redirection rules are redirected to the specific host or page.</span><p><p id="en-us_topic_0045853755__p2518484920120">A redirection rule is compiled in the JSON or XML format. Each rule contains a <strong id="en-us_topic_0045853755__b261716153396">Condition</strong> and a <strong id="en-us_topic_0045853755__b16476172503913">Redirect</strong>. The parameters are described in <a href="#en-us_topic_0045853755__table59166151447">Table 1</a>.</p> </p></li><li id="en-us_topic_0045853755__li53951195155255"><span><strong id="en-us_topic_0045853755__b67601913142610">Optional</strong>: In <strong id="en-us_topic_0045853755__b1499976005142610">Redirection Rules</strong>, configure redirection rules. Requests that comply with the redirection rules are redirected to the specific host or page.</span><p><p id="en-us_topic_0045853755__p2518484920120">A redirection rule is compiled in the JSON or XML format. Each rule contains a <strong id="en-us_topic_0045853755__b261716153396">Condition</strong> and a <strong id="en-us_topic_0045853755__b16476172503913">Redirect</strong>. The parameters are described in <a href="#en-us_topic_0045853755__table59166151447">Table 1</a>.</p>

View File

@ -2,15 +2,15 @@
<h1 class="topictitle1">Managing Accounts</h1> <h1 class="topictitle1">Managing Accounts</h1>
<div id="body8662426"><p id="en-us_topic_0045853764__p1588588471">Account names on OBS Browser are used to distinguish one from another, which are irrelevant to the registered cloud service account. An OBS Browser account has one pair of AK and SK, but a pair of AK and SK can be used by multiple OBS Browser accounts. A maximum of 10 accounts can be added to OBS Browser.</p> <div id="body8662426"><p id="en-us_topic_0045853764__p1588588471">Account names on OBS Browser are used to distinguish one from another, which are irrelevant to the registered cloud service account. An OBS Browser account has one pair of AK and SK, but a pair of AK and SK can be used by multiple OBS Browser accounts. A maximum of 10 accounts can be added to OBS Browser.</p>
<p id="en-us_topic_0045853764__a9ee1baf545504fa18b4420f79aa0f577">OBS Browser uses the AK and SK for identity authentication. AKs and SKs are the access keys created by on the management console (on <strong id="en-us_topic_0045853764__b8823171081715">My Credential</strong> page) by cloud service accounts and IAM users. For details, see <a href="obs_03_0405.html">Creating Access Keys (AK and SK)</a>.</p> <p id="en-us_topic_0045853764__a9ee1baf545504fa18b4420f79aa0f577">OBS Browser uses the AK and SK for identity authentication. AKs and SKs are the access keys created by cloud service accounts or IAM users on the <strong id="en-us_topic_0045853764__b8823171081715">My Credentials</strong> page of the management console. For details, see <a href="obs_03_0405.html">Creating Access Keys (AK and SK)</a>.</p>
<ol id="en-us_topic_0045853764__ol361251681120"><li id="en-us_topic_0045853764__li18612116151113">AKs and SKs are required for logging in to OBS Browser to access OBS resources.</li><li id="en-us_topic_0045853764__li175911247191220">Once an AK and SK are entered, IAM receives the AK and SK, finds the cloud service account or IAM user that owns the pair of AK and SK, and checks which OBS permissions the account or IAM user has.</li><li id="en-us_topic_0045853764__li181713282136">Then IAM grants the user who tries to log in to OBS Browser the OBS permissions accordingly.</li><li id="en-us_topic_0045853764__li98531228131418">The user can access OBS resources through OBS Browser.</li></ol> <ol id="en-us_topic_0045853764__ol361251681120"><li id="en-us_topic_0045853764__li18612116151113">AKs and SKs are required for logging in to OBS Browser to access OBS resources.</li><li id="en-us_topic_0045853764__li175911247191220">Once an AK and SK are entered, IAM receives the AK and SK, finds the cloud service account or IAM user that owns the pair of AK and SK, and checks which OBS permissions the account or IAM user has.</li><li id="en-us_topic_0045853764__li181713282136">Then IAM grants the user who tries to log in to OBS Browser the OBS permissions accordingly.</li><li id="en-us_topic_0045853764__li98531228131418">The user can access OBS resources through OBS Browser.</li></ol>
<div class="section" id="en-us_topic_0045853764__s37e0eea035fc48e29b93c6ffbe9fadf1"><h4 class="sectiontitle">Adding an Account</h4><ol id="en-us_topic_0045853764__o1adf60176e5245a1b5bf9e5b5c08b162"><li id="en-us_topic_0045853764__l7096fd15c7994190817554b5beab8f4a"><span>Log in to OBS Browser.</span></li><li id="en-us_topic_0045853764__l88c0336e2493418ea0debd3d164e2387"><span>In the upper right corner of OBS Browser, click the account name, and select <strong id="en-us_topic_0045853764__b3948634124020">Manage Account</strong>.</span></li><li id="en-us_topic_0045853764__l37dea8e1cb904a2ebe28ef6bc85995cd"><span>In the <strong id="en-us_topic_0045853764__b112859381404">Manage Account</strong> dialog box that is displayed, click <strong id="en-us_topic_0045853764__b628563844013">Add Account</strong>.</span></li><li id="en-us_topic_0045853764__l18583f81bd3a49f3ad0a226ee5c06df2"><span>In the <strong id="en-us_topic_0045853764__b7739103917402">Add Account</strong> dialog box, enter the account information.</span><p><p id="en-us_topic_0045853764__a6e73c586e39d4fa299c471dd6adf5b89">The following parameters need to be configured:</p> <div class="section" id="en-us_topic_0045853764__s37e0eea035fc48e29b93c6ffbe9fadf1"><h4 class="sectiontitle">Adding an Account</h4><ol id="en-us_topic_0045853764__o1adf60176e5245a1b5bf9e5b5c08b162"><li id="en-us_topic_0045853764__l7096fd15c7994190817554b5beab8f4a"><span>Log in to OBS Browser.</span></li><li id="en-us_topic_0045853764__l88c0336e2493418ea0debd3d164e2387"><span>In the upper right corner of OBS Browser, click the account name, and select <strong id="en-us_topic_0045853764__b3948634124020">Manage Account</strong>.</span></li><li id="en-us_topic_0045853764__l37dea8e1cb904a2ebe28ef6bc85995cd"><span>In the <strong id="en-us_topic_0045853764__b112859381404">Manage Account</strong> dialog box that is displayed, click <strong id="en-us_topic_0045853764__b628563844013">Add Account</strong>.</span></li><li id="en-us_topic_0045853764__l18583f81bd3a49f3ad0a226ee5c06df2"><span>In the <strong id="en-us_topic_0045853764__b7739103917402">Add Account</strong> dialog box, enter the account information.</span><p><p id="en-us_topic_0045853764__a6e73c586e39d4fa299c471dd6adf5b89">The following parameters need to be configured:</p>
<ul id="en-us_topic_0045853764__u914059a5a7d64ab19c290c246d3bd062"><li id="en-us_topic_0045853764__l9576f9cf380643d28dcf77fa3bdddc52">Account name: The account name is used only to uniquely identify an account and can be different from the OBS account registered with the cloud services. The account name cannot exceed 50 characters.</li><li id="en-us_topic_0045853764__lc7358cc5b57242fb90e8c0122b9c64c0">Service: OBS Browser can connect to <strong id="en-us_topic_0045853764__b527345151111">OBS</strong> or <strong id="en-us_topic_0045853764__b1334662033714">Other object storage services</strong>.<ul id="en-us_topic_0045853764__uc8d766687532494b94e750276a344909"><li id="en-us_topic_0045853764__lba533434db614035b07ed0ea0e66ab11">When connecting OBS Browser to OBS, select <strong id="en-us_topic_0045853764__b0145191812468">OBS</strong>. For details, see <a href="#en-us_topic_0045853764__f7b99ff29dc1543b4b16e69c9db5bd5af">Figure 1</a>.<div class="fignone" id="en-us_topic_0045853764__f7b99ff29dc1543b4b16e69c9db5bd5af"><a name="en-us_topic_0045853764__f7b99ff29dc1543b4b16e69c9db5bd5af"></a><a name="f7b99ff29dc1543b4b16e69c9db5bd5af"></a><span class="figcap"><b>Figure 1 </b>Adding a new account - OBS</span><br><span><img id="en-us_topic_0045853764__image1531731141011" src="en-us_image_0129866022.png" title="Click to enlarge" class="imgResize"></span></div> <ul id="en-us_topic_0045853764__u914059a5a7d64ab19c290c246d3bd062"><li id="en-us_topic_0045853764__l9576f9cf380643d28dcf77fa3bdddc52">Account name: The account name is used only to uniquely identify an account and can be different from the OBS account registered with the cloud services. The account name cannot exceed 50 characters.</li><li id="en-us_topic_0045853764__lc7358cc5b57242fb90e8c0122b9c64c0">Service: OBS Browser can connect to <strong id="en-us_topic_0045853764__b527345151111">OBS</strong> or <strong id="en-us_topic_0045853764__b1334662033714">Other object storage services</strong>.<ul id="en-us_topic_0045853764__uc8d766687532494b94e750276a344909"><li id="en-us_topic_0045853764__lba533434db614035b07ed0ea0e66ab11">When connecting OBS Browser to OBS, select <strong id="en-us_topic_0045853764__b0145191812468">OBS</strong>. For details, see <a href="#en-us_topic_0045853764__f7b99ff29dc1543b4b16e69c9db5bd5af">Figure 1</a>.<div class="fignone" id="en-us_topic_0045853764__f7b99ff29dc1543b4b16e69c9db5bd5af"><a name="en-us_topic_0045853764__f7b99ff29dc1543b4b16e69c9db5bd5af"></a><a name="f7b99ff29dc1543b4b16e69c9db5bd5af"></a><span class="figcap"><b>Figure 1 </b>Adding a new account - OBS</span><br><span><img id="en-us_topic_0045853764__image1531731141011" src="en-us_image_0129866022.png" title="Click to enlarge" class="imgResize"></span></div>
</li><li id="en-us_topic_0045853764__li285564717611">When connecting OBS Browser to any other object storage service, select <strong id="en-us_topic_0045853764__b3827135813398">Other object storage services</strong>. For details, see <a href="#en-us_topic_0045853764__f8c588f27619148c78257359a12e609a7">Figure 2</a>.<div class="p" id="en-us_topic_0045853764__p5451174810619">Specify <strong id="en-us_topic_0045853764__b2911520132713">Server Address</strong>. You can enter the IP address or domain name in the following format: <em id="en-us_topic_0045853764__i1397895382710">server IP address or domain name:server port</em> (the protocol port of HTTPS is <strong id="en-us_topic_0045853764__b588332213282">443</strong> and that of HTTP is <strong id="en-us_topic_0045853764__b104262033152811">80</strong>). The HTTPS server is used by default. If you want to use the HTTP server, click <span><img id="en-us_topic_0045853764__image1047861716599" src="en-us_image_0237530299.png"></span> in the upper right corner and click <strong id="en-us_topic_0045853764__b1395258867">System Configuration</strong>. In the <strong id="en-us_topic_0045853764__b1063289226">System Configuration</strong> dialog box that is displayed, deselect <strong id="en-us_topic_0045853764__b1101492717">Enable HTTPS</strong>.<div class="fignone" id="en-us_topic_0045853764__f8c588f27619148c78257359a12e609a7"><a name="en-us_topic_0045853764__f8c588f27619148c78257359a12e609a7"></a><a name="f8c588f27619148c78257359a12e609a7"></a><span class="figcap"><b>Figure 2 </b>Adding a new account - Other object storage services</span><br><span><img id="en-us_topic_0045853764__image198085231010" src="en-us_image_0129867278.png" title="Click to enlarge" class="imgResize"></span></div> </li><li id="en-us_topic_0045853764__li285564717611">When connecting OBS Browser to any other object storage service, select <strong id="en-us_topic_0045853764__b3827135813398">Other object storage services</strong>. For details, see <a href="#en-us_topic_0045853764__f8c588f27619148c78257359a12e609a7">Figure 2</a>.<div class="p" id="en-us_topic_0045853764__p5451174810619">Specify <strong id="en-us_topic_0045853764__b2911520132713">Server Address</strong>. You can enter the IP address or domain name in the following format: <em id="en-us_topic_0045853764__i1397895382710">server IP address or domain name:server port</em> (the protocol port of HTTPS is <strong id="en-us_topic_0045853764__b588332213282">443</strong> and that of HTTP is <strong id="en-us_topic_0045853764__b104262033152811">80</strong>). The HTTPS server is used by default. If you want to use the HTTP server, click <span><img id="en-us_topic_0045853764__image1047861716599" src="en-us_image_0237530299.png"></span> in the upper right corner and click <strong id="en-us_topic_0045853764__b1452934338">System Configuration</strong>. In the <strong id="en-us_topic_0045853764__b1170570662">System Configuration</strong> dialog box that is displayed, deselect <strong id="en-us_topic_0045853764__b376569082">Enable HTTPS</strong>.<div class="fignone" id="en-us_topic_0045853764__f8c588f27619148c78257359a12e609a7"><a name="en-us_topic_0045853764__f8c588f27619148c78257359a12e609a7"></a><a name="f8c588f27619148c78257359a12e609a7"></a><span class="figcap"><b>Figure 2 </b>Adding a new account - Other object storage services</span><br><span><img id="en-us_topic_0045853764__image198085231010" src="en-us_image_0129867278.png" title="Click to enlarge" class="imgResize"></span></div>
</div> </div>
</li></ul> </li></ul>
</li></ul> </li></ul>
<ul id="en-us_topic_0045853764__u572053b0e7ff4ed685591e480985f3cd"><li id="en-us_topic_0045853764__l5c80bedd86344e13bd40047b1c26d5ad">AK and SK: Enter the AK and SK created on the <strong id="en-us_topic_0045853764__b20850133574217">My Credential</strong> page after you register with a cloud service. For details about how to obtain AKs and SKs, see <a href="obs_03_0405.html">Creating Access Keys (AK and SK)</a>.</li><li id="en-us_topic_0045853764__lc2cea96b02214ece991f6ec890dd3cbb"><strong id="en-us_topic_0045853764__b820451112395">Remember my secret access key</strong> is selected by default. If you do not select <strong id="en-us_topic_0045853764__b1756312299397">Remember my secret access key</strong>, you must input the secret access key each time you log in to OBS Browser.</li></ul> <ul id="en-us_topic_0045853764__u572053b0e7ff4ed685591e480985f3cd"><li id="en-us_topic_0045853764__l5c80bedd86344e13bd40047b1c26d5ad">AK and SK: Enter the AK and SK created on the <strong id="en-us_topic_0045853764__b20850133574217">My Credentials</strong> page after you sign up with a cloud service. For details about how to obtain AKs and SKs, see <a href="obs_03_0405.html">Creating Access Keys (AK and SK)</a>.</li><li id="en-us_topic_0045853764__lc2cea96b02214ece991f6ec890dd3cbb"><strong id="en-us_topic_0045853764__b19181102601413">Remember my secret access key</strong> is selected by default. If you deselect it, you must enter the secret access key each time you log in to OBS Browser.</li></ul>
</p></li><li id="en-us_topic_0045853764__l19d4fa56d7b74843a0479b35df05e9fe"><span>Click <strong id="en-us_topic_0045853764__en-us_topic_0068417475_en-us_topic_0045853764_b44623710141918">OK</strong>.</span><p><p id="en-us_topic_0045853764__a8d495b004d46497f9836b182ff6898cd">After saving the account information, you can click the account name in the upper corner of the page and the newly added account is displayed in the account name drop-down list. You can click the desired account to switch to that account from the current login account.</p> </p></li><li id="en-us_topic_0045853764__l19d4fa56d7b74843a0479b35df05e9fe"><span>Click <strong id="en-us_topic_0045853764__en-us_topic_0068417475_en-us_topic_0045853764_b44623710141918">OK</strong>.</span><p><p id="en-us_topic_0045853764__a8d495b004d46497f9836b182ff6898cd">After saving the account information, you can click the account name in the upper corner of the page and the newly added account is displayed in the account name drop-down list. You can click the desired account to switch to that account from the current login account.</p>
</p></li></ol> </p></li></ol>
</div> </div>

View File

@ -7,13 +7,16 @@
</li><li id="en-us_topic_0045853854__obs_03_0335_li5729884015841"><strong id="en-us_topic_0045853854__obs_03_0335_b2914155715841">Rule Name</strong>: <p id="en-us_topic_0045853854__obs_03_0335_p2310122815842">It identifies a lifecycle rule. A rule name can contain a maximum of 255 characters.</p> </li><li id="en-us_topic_0045853854__obs_03_0335_li5729884015841"><strong id="en-us_topic_0045853854__obs_03_0335_b2914155715841">Rule Name</strong>: <p id="en-us_topic_0045853854__obs_03_0335_p2310122815842">It identifies a lifecycle rule. A rule name can contain a maximum of 255 characters.</p>
</li><li id="en-us_topic_0045853854__obs_03_0335_li61432666143253"><strong id="en-us_topic_0045853854__obs_03_0335_b1443569572145115">Applies To</strong>: Can be set to <strong id="en-us_topic_0045853854__obs_03_0335_b948338085145115">Object name prefix</strong> or <strong id="en-us_topic_0045853854__obs_03_0335_b405387834145115">Bucket</strong>.<ul id="en-us_topic_0045853854__obs_03_0335_ul4702430145854"><li id="en-us_topic_0045853854__obs_03_0335_li34845172143258"><strong id="en-us_topic_0045853854__obs_03_0335_b194117256424">Object name prefix</strong>: Objects with this specified prefix will be managed by the lifecycle rule. The prefix cannot start with a slash (/) or contain two consecutive slashes (//), and cannot contain the following special characters: \ : * ? " &lt; &gt; |</li><li id="en-us_topic_0045853854__obs_03_0335_li43762555113418"><strong id="en-us_topic_0045853854__obs_03_0335_b261482711145141">Bucket</strong>: All objects in the bucket will be managed by the lifecycle rule.</li></ul> </li><li id="en-us_topic_0045853854__obs_03_0335_li61432666143253"><strong id="en-us_topic_0045853854__obs_03_0335_b1443569572145115">Applies To</strong>: Can be set to <strong id="en-us_topic_0045853854__obs_03_0335_b948338085145115">Object name prefix</strong> or <strong id="en-us_topic_0045853854__obs_03_0335_b405387834145115">Bucket</strong>.<ul id="en-us_topic_0045853854__obs_03_0335_ul4702430145854"><li id="en-us_topic_0045853854__obs_03_0335_li34845172143258"><strong id="en-us_topic_0045853854__obs_03_0335_b194117256424">Object name prefix</strong>: Objects with this specified prefix will be managed by the lifecycle rule. The prefix cannot start with a slash (/) or contain two consecutive slashes (//), and cannot contain the following special characters: \ : * ? " &lt; &gt; |</li><li id="en-us_topic_0045853854__obs_03_0335_li43762555113418"><strong id="en-us_topic_0045853854__obs_03_0335_b261482711145141">Bucket</strong>: All objects in the bucket will be managed by the lifecycle rule.</li></ul>
</li></ul> </li></ul>
<div class="note" id="en-us_topic_0045853854__obs_03_0335_note35283025"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="en-us_topic_0045853854__obs_03_0335_ul49111773"><li id="en-us_topic_0045853854__obs_03_0335_li39352775">If the specified prefix is overlapping with the prefix set in an existing lifecycle rule, OBS regards these two rules as one and forbids you to configure the one you are configuring. For example, if there is already a rule with prefix <strong id="en-us_topic_0045853854__obs_03_0335_b54296197">abc</strong> in OBS, you cannot configure another rule whose prefix starts with <strong id="en-us_topic_0045853854__obs_03_0335_b18903728">abc</strong>.</li><li id="en-us_topic_0045853854__obs_03_0335_li18630656">If there is already a lifecycle rule based on an object prefix, you are not allowed to configure another rule that is applied to the entire bucket.</li><li id="en-us_topic_0045853854__obs_03_0335_li33458177">If a lifecycle rule has been configured for the entire bucket, no more rules that apply to object name prefix can be added.</li></ul> <div class="note" id="en-us_topic_0045853854__obs_03_0335_note35283025"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="en-us_topic_0045853854__obs_03_0335_ul49111773"><li id="en-us_topic_0045853854__obs_03_0335_li39352775">If the specified prefix overlaps with the prefix of an existing lifecycle rule, OBS regards these two rules as one and forbids you to configure the one you are configuring. For example, if there is already a rule with prefix <strong id="en-us_topic_0045853854__obs_03_0335_b54296197">abc</strong> in OBS, you cannot configure another rule whose prefix starts with <strong id="en-us_topic_0045853854__obs_03_0335_b18903728">abc</strong>.</li><li id="en-us_topic_0045853854__obs_03_0335_li18630656">If there is already a lifecycle rule based on an object prefix, you are not allowed to configure another rule that is applied to the entire bucket.</li><li id="en-us_topic_0045853854__obs_03_0335_li33458177">If a lifecycle rule has been configured for the entire bucket, no more rules that apply to object name prefix can be added.</li></ul>
</div></div> </div></div>
</div> </div>
<p id="en-us_topic_0045853854__obs_03_0335_p4329302814373"><strong id="en-us_topic_0045853854__obs_03_0335_b1106642753145428">Current Version</strong> or <strong id="en-us_topic_0045853854__obs_03_0335_b49163472145428">Historical Version</strong>:</p> <p id="en-us_topic_0045853854__obs_03_0335_p4329302814373"><strong id="en-us_topic_0045853854__obs_03_0335_b1106642753145428">Current Version</strong> or <strong id="en-us_topic_0045853854__obs_03_0335_b49163472145428">Historical Version</strong>:</p>
<div class="note" id="en-us_topic_0045853854__obs_03_0335_note16805850"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="en-us_topic_0045853854__obs_03_0335_ul3456553515453"><li class="NotesText" id="en-us_topic_0045853854__obs_03_0335_li6309484515453"><strong id="en-us_topic_0045853854__obs_03_0335_b55775843115041">Current Version</strong> and <strong id="en-us_topic_0045853854__obs_03_0335_b10717756115044">Historical Version</strong> are two concepts for versioning. If versioning is enabled for a bucket, uploading objects with the same name to the bucket creates different object versions. The last uploaded object is called the current version, while those previously uploaded are called historical versions. </li><li id="en-us_topic_0045853854__obs_03_0335_li555179501550">You can configure either the <strong id="en-us_topic_0045853854__obs_03_0335_b1735055012614">Current Version</strong> or <strong id="en-us_topic_0045853854__obs_03_0335_b111680576617">Historical Version</strong>, or both of them.</li></ul> <div class="note" id="en-us_topic_0045853854__obs_03_0335_note16805850"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="en-us_topic_0045853854__obs_03_0335_ul3456553515453"><li class="NotesText" id="en-us_topic_0045853854__obs_03_0335_li6309484515453"><strong id="en-us_topic_0045853854__obs_03_0335_b55775843115041">Current Version</strong> and <strong id="en-us_topic_0045853854__obs_03_0335_b10717756115044">Historical Version</strong> are two concepts for versioning. If versioning is enabled for a bucket, uploading objects with the same name to the bucket creates different object versions. The last uploaded object is called the current version, while those previously uploaded are called historical versions. </li><li id="en-us_topic_0045853854__obs_03_0335_li555179501550">You can configure either the <strong id="en-us_topic_0045853854__obs_03_0335_b1735055012614">Current Version</strong> or <strong id="en-us_topic_0045853854__obs_03_0335_b111680576617">Historical Version</strong>, or both of them.</li></ul>
</div></div> </div></div>
<ul id="en-us_topic_0045853854__obs_03_0335_ul944841515351"><li id="en-us_topic_0045853854__obs_03_0335_li53535400204050"><strong id="en-us_topic_0045853854__obs_03_0335_b162314240584">Transition to Warm</strong>: After this number of days since the last update, objects meeting specified conditions will be transitioned to Warm. This number must be at least 30.</li><li id="en-us_topic_0045853854__obs_03_0335_li40553341204057"><strong id="en-us_topic_0045853854__obs_03_0335_b9401121715914">Transition to Cold</strong>: After this number of days since the last update, objects meeting specified conditions will be transitioned to Cold. If you configure to transition objects first to Warm and then Cold, the objects must stay Warm at least 30 days before they can be transitioned to Cold. If only transition to Cold is used, but transition to Warm is not, there is no limit on the number of days for transition.</li><li id="en-us_topic_0045853854__obs_03_0335_li3114893515420"><strong id="en-us_topic_0045853854__obs_03_0335_b185768348720">Delete Objects After (Days)</strong>: After this number of days since the last update, objects meeting certain conditions will be expired and then deleted. This number must be larger than that specified for any of the transition operations.</li></ul> <ul id="en-us_topic_0045853854__obs_03_0335_ul944841515351"><li id="en-us_topic_0045853854__obs_03_0335_li53535400204050"><strong id="en-us_topic_0045853854__obs_03_0335_b162314240584">Transition to Warm</strong>: After this number of days since the last update, objects meeting specified conditions will be transitioned to Warm. This number must be at least 30.</li><li id="en-us_topic_0045853854__obs_03_0335_li40553341204057"><strong id="en-us_topic_0045853854__obs_03_0335_b9401121715914">Transition to Cold</strong>: After this number of days since the last update, objects meeting specified conditions will be transitioned to Cold. If you configure to transition objects first to Warm and then Cold, the objects must stay Warm at least 30 days before they can be transitioned to Cold. If transition to Cold is used, but transition to Warm is not, there is no limit on the number of days for transition.</li><li id="en-us_topic_0045853854__obs_03_0335_li3114893515420"><strong id="en-us_topic_0045853854__obs_03_0335_b185768348720">Delete Objects After (Days)</strong>: After this number of days since the last update, objects meeting certain conditions will be expired and then deleted. This number must be an integer larger than that specified for any of the transition operations.</li></ul>
<div class="note" id="en-us_topic_0045853854__obs_03_0335_note17119151216521"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853854__obs_03_0335_p575322013116">The object update time refers to when common objects were uploaded or when historical objects became historical.</p>
</div></div>
<div class="p" id="en-us_topic_0045853854__obs_03_0335_p50988061113345">For example, on January 7, 2015, you saved the following files in OBS:<ul id="en-us_topic_0045853854__obs_03_0335_ul466294043312"><li id="en-us_topic_0045853854__obs_03_0335_li28459613">log/test1.log</li><li id="en-us_topic_0045853854__obs_03_0335_li54809927">log/test2.log</li><li id="en-us_topic_0045853854__obs_03_0335_li23527303">doc/example.doc</li><li id="en-us_topic_0045853854__obs_03_0335_li10419141">doc/good.txt</li></ul> <div class="p" id="en-us_topic_0045853854__obs_03_0335_p50988061113345">For example, on January 7, 2015, you saved the following files in OBS:<ul id="en-us_topic_0045853854__obs_03_0335_ul466294043312"><li id="en-us_topic_0045853854__obs_03_0335_li28459613">log/test1.log</li><li id="en-us_topic_0045853854__obs_03_0335_li54809927">log/test2.log</li><li id="en-us_topic_0045853854__obs_03_0335_li23527303">doc/example.doc</li><li id="en-us_topic_0045853854__obs_03_0335_li10419141">doc/good.txt</li></ul>
</div> </div>
<div class="MsoNormal" id="en-us_topic_0045853854__obs_03_0335_p26663410">On January 10, 2015, you saved another four files:<ul id="en-us_topic_0045853854__obs_03_0335_ul1877348103412"><li id="en-us_topic_0045853854__obs_03_0335_li12252614">log/clientlog.log</li><li id="en-us_topic_0045853854__obs_03_0335_li43164662">log/serverlog.log</li><li id="en-us_topic_0045853854__obs_03_0335_li52937641">doc/work.doc</li><li id="en-us_topic_0045853854__obs_03_0335_li19422124114310">doc/travel.txt</li></ul> <div class="MsoNormal" id="en-us_topic_0045853854__obs_03_0335_p26663410">On January 10, 2015, you saved another four files:<ul id="en-us_topic_0045853854__obs_03_0335_ul1877348103412"><li id="en-us_topic_0045853854__obs_03_0335_li12252614">log/clientlog.log</li><li id="en-us_topic_0045853854__obs_03_0335_li43164662">log/serverlog.log</li><li id="en-us_topic_0045853854__obs_03_0335_li52937641">doc/work.doc</li><li id="en-us_topic_0045853854__obs_03_0335_li19422124114310">doc/travel.txt</li></ul>
@ -21,7 +24,7 @@
<p id="en-us_topic_0045853854__obs_03_0335_p513573918258">On January 10, 2015, you set the objects prefixed with <strong id="en-us_topic_0045853854__obs_03_0335_b1466203810337">log</strong> to expire one day later. You might encounter the following situations:</p> <p id="en-us_topic_0045853854__obs_03_0335_p513573918258">On January 10, 2015, you set the objects prefixed with <strong id="en-us_topic_0045853854__obs_03_0335_b1466203810337">log</strong> to expire one day later. You might encounter the following situations:</p>
<ul id="en-us_topic_0045853854__obs_03_0335_ul144381629142811"><li id="en-us_topic_0045853854__obs_03_0335_li343932952810">Objects <strong id="en-us_topic_0045853854__obs_03_0335_b86511511153712">log/test1.log</strong> and <strong id="en-us_topic_0045853854__obs_03_0335_b0309616103717">log/test2.log</strong> uploaded on January 7, 2015 might be deleted after the last system scan. The deletion could happen on January 10, 2015 or January 11, 2015, depending on the time of the last system scan.</li><li id="en-us_topic_0045853854__obs_03_0335_li49041356113017">Objects <strong id="en-us_topic_0045853854__obs_03_0335_b15317154311425">log/clientlog.log</strong> and <strong id="en-us_topic_0045853854__obs_03_0335_b93695478426">log/serverlog.log</strong> uploaded on January 10, 2015 might be deleted on January 11, 2015 or January 12, 2015, depending on whether they have been stored for over one day (since their last update) when the system scan happened.</li></ul> <ul id="en-us_topic_0045853854__obs_03_0335_ul144381629142811"><li id="en-us_topic_0045853854__obs_03_0335_li343932952810">Objects <strong id="en-us_topic_0045853854__obs_03_0335_b86511511153712">log/test1.log</strong> and <strong id="en-us_topic_0045853854__obs_03_0335_b0309616103717">log/test2.log</strong> uploaded on January 7, 2015 might be deleted after the last system scan. The deletion could happen on January 10, 2015 or January 11, 2015, depending on the time of the last system scan.</li><li id="en-us_topic_0045853854__obs_03_0335_li49041356113017">Objects <strong id="en-us_topic_0045853854__obs_03_0335_b15317154311425">log/clientlog.log</strong> and <strong id="en-us_topic_0045853854__obs_03_0335_b93695478426">log/serverlog.log</strong> uploaded on January 10, 2015 might be deleted on January 11, 2015 or January 12, 2015, depending on whether they have been stored for over one day (since their last update) when the system scan happened.</li></ul>
<p id="en-us_topic_0045853854__obs_03_0335_p182057154316">On the day of operation, you can set the objects with the name prefix <strong id="en-us_topic_0045853854__obs_03_0335_b164031732111017">log</strong> to be transitioned to <strong id="en-us_topic_0045853854__obs_03_0335_b8404123211010">Warm</strong> 30 days later, transitioned to <strong id="en-us_topic_0045853854__obs_03_0335_b104045322101">Cold</strong> 60 days later, and deleted 100 days later, then OBS will transition <strong id="en-us_topic_0045853854__obs_03_0335_b8404123201014">log/clientlog.log</strong>, <strong id="en-us_topic_0045853854__obs_03_0335_b17404123211013">log/serverlog.log</strong>, <strong id="en-us_topic_0045853854__obs_03_0335_b340433291011">log/test1.log</strong>, and <strong id="en-us_topic_0045853854__obs_03_0335_b1940443211020">log/test2.log</strong> to <strong id="en-us_topic_0045853854__obs_03_0335_b20404133212104">Warm</strong> when their storage duration exceeds 30 days, transition them to <strong id="en-us_topic_0045853854__obs_03_0335_b11404183261014">Cold</strong> when their storage duration exceeds 60 days, and delete them when their storage duration exceeds 100 days, respectively.</p> <p id="en-us_topic_0045853854__obs_03_0335_p182057154316">On the day of operation, you can set the objects with the name prefix <strong id="en-us_topic_0045853854__obs_03_0335_b164031732111017">log</strong> to be transitioned to <strong id="en-us_topic_0045853854__obs_03_0335_b8404123211010">Warm</strong> 30 days later, transitioned to <strong id="en-us_topic_0045853854__obs_03_0335_b104045322101">Cold</strong> 60 days later, and deleted 100 days later, then OBS will transition <strong id="en-us_topic_0045853854__obs_03_0335_b8404123201014">log/clientlog.log</strong>, <strong id="en-us_topic_0045853854__obs_03_0335_b17404123211013">log/serverlog.log</strong>, <strong id="en-us_topic_0045853854__obs_03_0335_b340433291011">log/test1.log</strong>, and <strong id="en-us_topic_0045853854__obs_03_0335_b1940443211020">log/test2.log</strong> to <strong id="en-us_topic_0045853854__obs_03_0335_b20404133212104">Warm</strong> when their storage duration exceeds 30 days, transition them to <strong id="en-us_topic_0045853854__obs_03_0335_b11404183261014">Cold</strong> when their storage duration exceeds 60 days, and delete them when their storage duration exceeds 100 days, respectively.</p>
<div class="note" id="en-us_topic_0045853854__obs_03_0335_note8551937154317"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853854__obs_03_0335_p1656615482483">In theory, it takes 24 hours at most to execute a lifecycle rule. Because OBS calculates the lifecycle of an object from the next 00:00 (UTC time) after the object is uploaded, there may be a delay in transitioning objects between storage classes and deleting expired objects. Generally, the delay does not exceed 48 hours. If you make changes to an existing lifecycle rule, the rule will take effect again.</p> <div class="note" id="en-us_topic_0045853854__obs_03_0335_note8551937154317"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853854__obs_03_0335_p1656615482483">In theory, it takes 24 hours at most to execute a lifecycle rule. After an object is updated, OBS calculates its lifecycle from the next 00:00 (UTC time), so there may be a delay of up to 48 hours in transitioning objects between storage classes or deleting expired objects. If you make changes to an existing lifecycle rule, the rule will take effect again.</p>
</div></div> </div></div>
</p></li><li id="en-us_topic_0045853854__li2060992818615"><span>Click <strong id="en-us_topic_0045853854__b11317349112312">Save</strong>.</span></li><li id="en-us_topic_0045853854__l4ac88903b3ce4de080616e61796a9321"><span>In the <strong id="en-us_topic_0045853854__b1416255842810">Create Lifecycle Rule</strong> dialog box, click <strong id="en-us_topic_0045853854__b133142085298">Save</strong>.</span></li><li id="en-us_topic_0045853854__li944717573486"><span>In the displayed dialog box, click <strong id="en-us_topic_0045853854__obs_03_0022_b19371431195919">Close</strong> to close the dialog box.</span></li></ol> </p></li><li id="en-us_topic_0045853854__li2060992818615"><span>Click <strong id="en-us_topic_0045853854__b11317349112312">Save</strong>.</span></li><li id="en-us_topic_0045853854__l4ac88903b3ce4de080616e61796a9321"><span>In the <strong id="en-us_topic_0045853854__b1416255842810">Create Lifecycle Rule</strong> dialog box, click <strong id="en-us_topic_0045853854__b133142085298">Save</strong>.</span></li><li id="en-us_topic_0045853854__li944717573486"><span>In the displayed dialog box, click <strong id="en-us_topic_0045853854__obs_03_0022_b19371431195919">Close</strong> to close the dialog box.</span></li></ol>
</div> </div>

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">Configuring CORS</h1> <h1 class="topictitle1">Configuring CORS</h1>
<div id="body8662426"><p id="en-us_topic_0045853860__a31bcd128aa4b449d980504a401069944">This section describes how to use CORS in HTML5 to implement cross-origin access.</p> <div id="body8662426"><p id="en-us_topic_0045853860__a31bcd128aa4b449d980504a401069944">This section describes how to use CORS in HTML5 to implement cross-origin access.</p>
<div class="section" id="en-us_topic_0045853860__s933c5484fd734428b5e2e24bf708a8e5"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0045853860__o862d87949b3749b8999099e7b0e994b8"><li id="en-us_topic_0045853860__l14c09c87ed8e4d6d825df226fcb4e8a0"><span>Log in to OBS Browser.</span></li><li id="en-us_topic_0045853860__l28ced4c89d6348f388c6282a4b38028f"><span>Select the bucket to be configured and click <strong id="en-us_topic_0045853860__b1150693314344">More</strong> &gt; <strong id="en-us_topic_0045853860__b1715819392344">Configure CORS Rule</strong>.</span></li><li id="en-us_topic_0045853860__ldcffbc589f1641eb9cf4cd4a382d948a"><span>Click <strong id="en-us_topic_0045853860__b607881205161513">Add</strong>.</span><p><div class="note" id="en-us_topic_0045853860__n2de05562b8b243afaa8bdf04aa70141b"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853860__a912094b8b3c34376a437bde131f54db7">You can set a maximum of 100 CORS rules for one bucket.</p> <div class="section" id="en-us_topic_0045853860__s933c5484fd734428b5e2e24bf708a8e5"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0045853860__o862d87949b3749b8999099e7b0e994b8"><li id="en-us_topic_0045853860__l14c09c87ed8e4d6d825df226fcb4e8a0"><span>Log in to OBS Browser.</span></li><li id="en-us_topic_0045853860__l28ced4c89d6348f388c6282a4b38028f"><span>Select the bucket to be configured and click <strong id="en-us_topic_0045853860__b1150693314344">More</strong> &gt; <strong id="en-us_topic_0045853860__b1715819392344">Configure CORS Rule</strong>.</span></li><li id="en-us_topic_0045853860__ldcffbc589f1641eb9cf4cd4a382d948a"><span>Click <strong id="en-us_topic_0045853860__b607881205161513">Add</strong>.</span><p><div class="note" id="en-us_topic_0045853860__n2de05562b8b243afaa8bdf04aa70141b"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0045853860__a912094b8b3c34376a437bde131f54db7">A bucket can have a maximum of 100 CORS rules configured.</p>
</div></div> </div></div>
</p></li><li id="en-us_topic_0045853860__ld376f10636be4cfbbe4e7a7beabb99b9"><span>In the <strong id="en-us_topic_0045853860__b31769315353">Add CORS Rule</strong> dialog box that is displayed, enter CORS rules.</span><p><div class="fignone" id="en-us_topic_0045853860__fe30e6fe056434c66a690c9063d04e6bb"><span class="figcap"><b>Figure 1 </b>Adding a CORS rule</span><br><span><img id="en-us_topic_0045853860__image9932163915310" src="en-us_image_0129834236.png" title="Click to enlarge" class="imgResize"></span></div> </p></li><li id="en-us_topic_0045853860__ld376f10636be4cfbbe4e7a7beabb99b9"><span>In the <strong id="en-us_topic_0045853860__b31769315353">Add CORS Rule</strong> dialog box that is displayed, enter CORS rules.</span><p><div class="fignone" id="en-us_topic_0045853860__fe30e6fe056434c66a690c9063d04e6bb"><span class="figcap"><b>Figure 1 </b>Adding a CORS rule</span><br><span><img id="en-us_topic_0045853860__image9932163915310" src="en-us_image_0129834236.png" title="Click to enlarge" class="imgResize"></span></div>
<p id="en-us_topic_0045853860__a75de0ac8ec7f4961b07a5097182bd1f9"><a href="#en-us_topic_0045853860__t810c07199d9d4fb4949e45cc402582a0">Table 1</a> describes parameters in CORS rules.</p> <p id="en-us_topic_0045853860__a75de0ac8ec7f4961b07a5097182bd1f9"><a href="#en-us_topic_0045853860__t810c07199d9d4fb4949e45cc402582a0">Table 1</a> describes parameters in CORS rules.</p>

View File

@ -3,12 +3,12 @@
<h1 class="topictitle1">Storage Classes Overview</h1> <h1 class="topictitle1">Storage Classes Overview</h1>
<div id="body1499758606806"><p id="en-us_topic_0050937852__p5495173433013">OBS supports tiered storage classes at the bucket level and object level.</p> <div id="body1499758606806"><p id="en-us_topic_0050937852__p5495173433013">OBS supports tiered storage classes at the bucket level and object level.</p>
<p id="en-us_topic_0050937852__p59654135102119">OBS provides the following storage classes: Standard, Warm, and Cold.</p> <p id="en-us_topic_0050937852__p59654135102119">OBS provides the following storage classes: Standard, Warm, and Cold.</p>
<div class="p" id="en-us_topic_0050937852__p2914586010533">These storage classes can meet different needs for storage performance and costs.<ul id="en-us_topic_0050937852__ul3992358810533"><li id="en-us_topic_0050937852__li1693337310533">Standard: The Standard storage class features low latency and high throughput. It is therefore good for storing frequently (multiple times per month) accessed files or small files (less than 1 MB). Its application scenarios include big data analytics, mobile apps, hot videos, and social apps.</li><li id="en-us_topic_0050937852__li61152206154814">Warm: The Warm storage class is for storing data that is infrequently (less than 12 times per year) accessed, but when needed, the access has to be fast. It can be used for file synchronization, file sharing, enterprise backups, and many other scenarios.</li><li id="en-us_topic_0050937852__li57040773154825">Cold: The Cold storage class is ideal for storing data that is rarely (once per year) accessed. Its application scenarios include data archive and long-term backups. The Cold storage class is secure, durable, and inexpensive, and can be used to replace tape libraries. To keep cost low, it may take hours to restore data from the Cold storage class.</li></ul> <div class="p" id="en-us_topic_0050937852__p2914586010533">These storage classes can meet different needs for storage performance and costs.<ul id="en-us_topic_0050937852__ul3992358810533"><li id="en-us_topic_0050937852__li1693337310533">Standard: The Standard storage class features low latency and high throughput. It is therefore good for storing frequently (multiple times per month) accessed files or small files (less than 1 MB). Its application scenarios include big data analytics, mobile apps, hot videos, and social apps.</li><li id="en-us_topic_0050937852__li61152206154814">Warm: The Warm storage class is for storing data that is infrequently (less than 12 times per year) accessed, but when needed, the access has to be fast. It can be used for file synchronization, file sharing, enterprise backups, and many other scenarios.</li><li id="en-us_topic_0050937852__li57040773154825">Cold: The Cold storage class is ideal for storing data that is rarely (once per year) accessed. Its application scenarios include data archive and long-term backups. The Cold storage class is secure, durable, and inexpensive, so it can be used to replace tape libraries. To keep cost low, it may take hours to restore data from the Cold storage class.</li></ul>
</div> </div>
<div class="section" id="en-us_topic_0050937852__section510051131514"><h4 class="sectiontitle">Bucket Storage Classes vs. Object Storage Classes</h4><p id="en-us_topic_0050937852__p8262771203">When an object is uploaded, it inherits the storage class of the bucket by default, but you can change the default storage class when you upload the object.</p> <div class="section" id="en-us_topic_0050937852__section510051131514"><h4 class="sectiontitle">Bucket Storage Classes vs. Object Storage Classes</h4><p id="en-us_topic_0050937852__p8262771203">When an object is uploaded, it inherits the storage class of the bucket by default, but you can change the storage class when you upload the object.</p>
<p id="en-us_topic_0050937852__p15587122093216">Changing the storage class of a bucket does not change the storage classes of existing objects in the bucket, but newly uploaded objects will inherit the new storage class.</p> <p id="en-us_topic_0050937852__p15587122093216">Changing the storage class of a bucket does not change the storage class of existing objects in the bucket. However, any new objects uploaded to the bucket will inherit the bucket's new storage class.</p>
</div> </div>
<div class="section" id="en-us_topic_0050937852__section64461132193015"><h4 class="sectiontitle">Comparison of Storage Classes</h4> <div class="section" id="en-us_topic_0050937852__section64461132193015"><a name="en-us_topic_0050937852__section64461132193015"></a><a name="section64461132193015"></a><h4 class="sectiontitle">Comparison of Storage Classes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0050937852__table1410941163116" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0050937852__row1410174113319"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.1.1"><p id="en-us_topic_0050937852__p1110194153116">Compared Item</p> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0050937852__table1410941163116" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0050937852__row1410174113319"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.1.1"><p id="en-us_topic_0050937852__p1110194153116">Compared Item</p>
</th> </th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.1.2"><p id="en-us_topic_0050937852__p51064110319">Standard</p> <th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.1.2"><p id="en-us_topic_0050937852__p51064110319">Standard</p>
@ -25,7 +25,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.3 "><p id="en-us_topic_0050937852__p83181416352">Reliable, inexpensive storage with real-time access</p> <td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.3 "><p id="en-us_topic_0050937852__p83181416352">Reliable, inexpensive storage with real-time access</p>
</td> </td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="en-us_topic_0050937852__p19318134103517">Long-term storage for Cold data at a low cost</p> <td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="en-us_topic_0050937852__p19318134103517">Long-term, inexpensive storage for Cold data</p>
</td> </td>
</tr> </tr>
<tr id="en-us_topic_0050937852__row265162715348"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.1 "><p id="en-us_topic_0050937852__p46642711342">Application scenarios</p> <tr id="en-us_topic_0050937852__row265162715348"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.1 "><p id="en-us_topic_0050937852__p46642711342">Application scenarios</p>
@ -59,6 +59,16 @@
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="en-us_topic_0050937852__p10654165783617">90 days</p> <td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="en-us_topic_0050937852__p10654165783617">90 days</p>
</td> </td>
</tr> </tr>
<tr id="en-us_topic_0050937852__row4743551153610"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.1 "><p id="en-us_topic_0050937852__p874305112369">Data restore</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.2 "><p id="en-us_topic_0050937852__p123631293392">N/A</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.3 "><p id="en-us_topic_0050937852__p1743105193610">Billed for each GB restored.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="en-us_topic_0050937852__p11743205133616">Data can be restored at an expedited or a standard or bulk speed.</p>
<p id="en-us_topic_0050937852__p982264124713">Billed for each GB restored.</p>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@ -3,7 +3,7 @@
<h1 class="topictitle1">Static Website Hosting Overview</h1> <h1 class="topictitle1">Static Website Hosting Overview</h1>
<div id="body1499758606806"><p id="en-us_topic_0066036537__p18256128426">You can upload the content files of static websites to your bucket on OBS, authorize anonymous users the permission to read these files, and configure static website hosting for the bucket to host these files.</p> <div id="body1499758606806"><p id="en-us_topic_0066036537__p18256128426">You can upload the content files of static websites to your bucket on OBS, authorize anonymous users the permission to read these files, and configure static website hosting for the bucket to host these files.</p>
<p id="en-us_topic_0066036537__p41261859114115">Static websites contain static web pages and some scripts that can run on clients, such as JavaScript and Flash. Different from static websites, dynamic websites rely on servers to process scripts, including PHP, JSP, and ASP.NET. OBS does not support scripts running on servers.</p> <p id="en-us_topic_0066036537__p41261859114115">Static websites contain static web pages and some scripts that can run on clients, such as JavaScript and Flash. Different from static websites, dynamic websites rely on servers to process scripts, including PHP, JSP, and ASP.NET. OBS does not support scripts running on servers.</p>
<p class="MsoNormal" id="en-us_topic_0066036537__p64117212">The configuration of static website hosting takes effect within two minutes. After the static website hosting is effective in OBS, you can access the static website by using the URL provided by OBS.</p> <p class="MsoNormal" id="en-us_topic_0066036537__p64117212">It can take up to two minutes for the configuration of static website hosting to take effect. After the static website hosting is effective in OBS, you can access the static website by using the URL provided by OBS.</p>
<div class="fignone" id="en-us_topic_0066036537__fig4961082014460"><span class="figcap"><b>Figure 1 </b>Static website hosting</span><br><span><img id="en-us_topic_0066036537__image11372108164616" src="en-us_image_0136405078.png" title="Click to enlarge" class="imgResize"></span></div> <div class="fignone" id="en-us_topic_0066036537__fig4961082014460"><span class="figcap"><b>Figure 1 </b>Static website hosting</span><br><span><img id="en-us_topic_0066036537__image11372108164616" src="en-us_image_0136405078.png" title="Click to enlarge" class="imgResize"></span></div>
</div> </div>
<div> <div>

View File

@ -44,7 +44,7 @@ https://*.vbs.example.com</pre>
</td> </td>
<td class="cellrowborder" valign="top" width="68%" headers="mcps1.3.3.2.4.2.1.2.3.1.2 "><p id="en-us_topic_0066036542__p32426730153840">Optional</p> <td class="cellrowborder" valign="top" width="68%" headers="mcps1.3.3.2.4.2.1.2.3.1.2 "><p id="en-us_topic_0066036542__p32426730153840">Optional</p>
<p id="en-us_topic_0066036542__p309847910721">Specifies the exposed headers in CORS responses, providing additional information for clients.</p> <p id="en-us_topic_0066036542__p309847910721">Specifies the exposed headers in CORS responses, providing additional information for clients.</p>
<p id="en-us_topic_0066036542__p27193935815">By default, a browser can access only headers <strong id="en-us_topic_0066036542__b1748822114214">Content-Length</strong> and <strong id="en-us_topic_0066036542__b649832315426">Content-Type</strong>. If the browser wants to access other headers, you need to configure those headers in this parameter.</p> <p id="en-us_topic_0066036542__p27193935815">By default, a browser can access only headers <strong id="en-us_topic_0066036542__b1748822114214">Content-Length</strong> and <strong id="en-us_topic_0066036542__b649832315426">Content-Type</strong>. If the browser wants to access other headers, you need to configure them in this parameter. </p>
<p id="en-us_topic_0066036542__p162724431079">You can enter multiple exposed headers (one per line). Spaces and special characters including <strong id="en-us_topic_0066036542__b5125223280">*&amp;:&lt;</strong> are not allowed.</p> <p id="en-us_topic_0066036542__p162724431079">You can enter multiple exposed headers (one per line). Spaces and special characters including <strong id="en-us_topic_0066036542__b5125223280">*&amp;:&lt;</strong> are not allowed.</p>
</td> </td>
</tr> </tr>
@ -57,10 +57,8 @@ https://*.vbs.example.com</pre>
</tbody> </tbody>
</table> </table>
</div> </div>
</p></li><li id="en-us_topic_0066036542__li32190482"><span>Click <strong id="en-us_topic_0066036542__b51291972">OK</strong>.</span><p><p id="en-us_topic_0066036542__p21278887">Message "The CORS rule created successfully." is displayed. The CORS configuration takes effect within two minutes.</p> </p></li><li id="en-us_topic_0066036542__li32190482"><span>Click <strong id="en-us_topic_0066036542__b51291972">OK</strong>.</span><p><p id="en-us_topic_0066036542__p21278887">Message "The CORS rule created successfully." is displayed. The CORS configuration will take effect within two minutes.</p>
<p id="en-us_topic_0066036542__p4122287715475">After CORS is successfully configured, only the addresses specified in <strong id="en-us_topic_0066036542__b52937069154642">Allowed Origin</strong> can access a bucket in OBS using the methods specified in <strong id="en-us_topic_0066036542__b6671576154642">Allowed Method</strong>. For example, you can configure CORS parameters for bucket <strong id="en-us_topic_0066036542__b842352706154754">testbucket</strong> as follows:</p> <p id="en-us_topic_0066036542__p64360423151542">Then, only the addresses specified in <strong id="en-us_topic_0066036542__b842352706154222">Allowed Origin</strong> can access the OBS bucket over the methods specified in <strong id="en-us_topic_0066036542__b842352706154237">Allowed Method</strong>. Suppose you need to configure a CORS rule for bucket <strong id="en-us_topic_0066036542__b1258516194017">testbucket</strong> and you set <strong id="en-us_topic_0066036542__b13858175233218">Allowed Origin</strong> to <strong id="en-us_topic_0066036542__b391719711339">https://www.example.com</strong>, <strong id="en-us_topic_0066036542__b11563153323317">Allowed Method</strong> to <strong id="en-us_topic_0066036542__b1354193613310">GET</strong>, <strong id="en-us_topic_0066036542__b15112555103513">Allowed Header</strong> and <strong id="en-us_topic_0066036542__b14594845363">Exposed Header</strong> both to <strong id="en-us_topic_0066036542__b3142101412362">*</strong>, and <strong id="en-us_topic_0066036542__b16726113063712">Cache Duration (s)</strong> to <strong id="en-us_topic_0066036542__b74533113715">100</strong>. Then, only GET requests from <strong id="en-us_topic_0066036542__b184801140113914">https://www.example.com</strong> are allowed to access bucket <strong id="en-us_topic_0066036542__b1830216468394">testbucket</strong>. In addition, there are no limits put on headers in the requests, and the client where the requests are from can cache the CORS response for 100 seconds.</p>
<ul id="en-us_topic_0066036542__ul62505518154627"><li id="en-us_topic_0066036542__li20204262154651"><strong id="en-us_topic_0066036542__b84235270615484">Allowed Origin</strong>: <strong id="en-us_topic_0066036542__b84235270615489">https://www.example.com</strong></li><li id="en-us_topic_0066036542__li27910770154655"><strong id="en-us_topic_0066036542__b842352706154814">Allowed Method</strong>: <strong id="en-us_topic_0066036542__b842352706154826">GET</strong></li><li id="en-us_topic_0066036542__li56306823154657"><strong id="en-us_topic_0066036542__b842352706154822">Allowed Header</strong>: *</li><li id="en-us_topic_0066036542__li482933015472"><strong id="en-us_topic_0066036542__b842352706154834">Exposed Header</strong>: *</li><li id="en-us_topic_0066036542__li14401598154627"><strong id="en-us_topic_0066036542__b842352706154842">Cache Duration (s)</strong>: <strong id="en-us_topic_0066036542__b842352706154846">100</strong></li></ul>
<p id="en-us_topic_0066036542__p1737051413398">By doing so, OBS only allows GET requests from <strong id="en-us_topic_0066036542__b10171133114014">https://www.example.com</strong> to access bucket <strong id="en-us_topic_0066036542__b686913114405">testbucket</strong>, without restrictions on request headers. The client can cache CORS responses for 100 seconds.</p>
</p></li></ol> </p></li></ol>
</div> </div>
</div> </div>

View File

@ -4,12 +4,12 @@
<div id="body1499758606807"><p id="en-us_topic_0066088957__p30121176153913">You can redirect all requests for a bucket to another bucket or URL by configuring redirection rules.</p> <div id="body1499758606807"><p id="en-us_topic_0066088957__p30121176153913">You can redirect all requests for a bucket to another bucket or URL by configuring redirection rules.</p>
<div class="section" id="en-us_topic_0066088957__section6167532661"><h4 class="sectiontitle">Prerequisites</h4><p id="en-us_topic_0066088957__en-us_topic_0045853755_p1146611514350">Web page files required for static website hosting have been uploaded to the specified bucket.</p> <div class="section" id="en-us_topic_0066088957__section6167532661"><h4 class="sectiontitle">Prerequisites</h4><p id="en-us_topic_0066088957__en-us_topic_0045853755_p1146611514350">Web page files required for static website hosting have been uploaded to the specified bucket.</p>
<p id="en-us_topic_0066088957__en-us_topic_0045853755_p1812645682117">The static website files hosted in the bucket are accessible to anonymous users.</p> <p id="en-us_topic_0066088957__en-us_topic_0045853755_p1812645682117">The static website files hosted in the bucket are accessible to anonymous users.</p>
<p id="en-us_topic_0066088957__en-us_topic_0045853755_p3350182614313">Static web page files in the Cold storage class have been restored. For more information, see <a href="obs_03_0320.html">Restoring Objects from the Cold Storage</a>.</p> <p id="en-us_topic_0066088957__en-us_topic_0045853755_p3350182614313">Static web page files in the Cold storage class have been restored. For more information, see <a href="obs_03_0320.html">Restoring an Object from Cold Storage</a>.</p>
</div> </div>
<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__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0066088957__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0066088957__li18830181855820"><span>In the <strong id="en-us_topic_0066088957__b105231578574">Basic Configurations</strong> area, click <strong id="en-us_topic_0066088957__b19523117125713">Static Website Hosting</strong>. The <strong id="en-us_topic_0066088957__b852320795717">Static Website Hosting</strong> page is displayed.</span><p><p id="en-us_topic_0066088957__p1732877134316">Alternatively, you can choose <strong id="en-us_topic_0066088957__b5238144012014">Basic Configurations</strong> &gt; <strong id="en-us_topic_0066088957__b1024004072014">Static Website Hosting</strong> from the navigation pane on the left.</p> <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__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0066088957__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0066088957__li18830181855820"><span>In the <strong id="en-us_topic_0066088957__b105231578574">Basic Configurations</strong> area, click <strong id="en-us_topic_0066088957__b19523117125713">Static Website Hosting</strong>. The <strong id="en-us_topic_0066088957__b852320795717">Static Website Hosting</strong> page is displayed.</span><p><p id="en-us_topic_0066088957__p1732877134316">Alternatively, you can choose <strong id="en-us_topic_0066088957__b5238144012014">Basic Configurations</strong> &gt; <strong id="en-us_topic_0066088957__b1024004072014">Static Website Hosting</strong> from the navigation pane on the left.</p>
</p></li><li id="en-us_topic_0066088957__li720344934317"><span>Click <strong id="en-us_topic_0066088957__b5556142185612">Configure Static Website Hosting</strong>. The <strong id="en-us_topic_0066088957__b17556942185614">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__li265648184614"><span>Set <strong id="en-us_topic_0066088957__b23336411105">Hosting By</strong> to <strong id="en-us_topic_0066088957__b571910302110">Redirection</strong>, as shown in <a href="#en-us_topic_0066088957__fig965144815468">Figure 1</a>. In the text box of <strong id="en-us_topic_0066088957__b137976411110">Redirect To</strong>, enter the bucket's access domain name or URL.</span><p><div class="fignone" id="en-us_topic_0066088957__fig965144815468"><a name="en-us_topic_0066088957__fig965144815468"></a><a name="fig965144815468"></a><span class="figcap"><b>Figure 1 </b>Configuring redirection</span><br><span><img id="en-us_topic_0066088957__image146644814611" src="en-us_image_0000001801955289.png" title="Click to enlarge" class="imgResize"></span></div> </p></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__li265648184614"><span>Set <strong id="en-us_topic_0066088957__b23336411105">Hosting By</strong> to <strong id="en-us_topic_0066088957__b571910302110">Redirection</strong>, as shown in <a href="#en-us_topic_0066088957__fig965144815468">Figure 1</a>. In the text box of <strong id="en-us_topic_0066088957__b137976411110">Redirect To</strong>, enter the bucket's access domain name or URL.</span><p><div class="fignone" id="en-us_topic_0066088957__fig965144815468"><a name="en-us_topic_0066088957__fig965144815468"></a><a name="fig965144815468"></a><span class="figcap"><b>Figure 1 </b>Configuring redirection</span><br><span><img id="en-us_topic_0066088957__image146644814611" src="en-us_image_0000001801955289.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__li45818654181751"><span>(<strong id="en-us_topic_0066088957__en-us_topic_0045853755_b7869135132012">Optional</strong>) If the static website files in the bucket are not accessible to anonymous users, 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_p18712161416268">Grant the read permission for static website files to anonymous users. For details, see <a href="obs_03_0132.html">Granting Anonymous Users Permission to Access Objects</a>.</p> </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__li45818654181751"><span>(<strong id="en-us_topic_0066088957__en-us_topic_0045853755_b7869135132012">Optional</strong>) If the static website files in the bucket are not accessible to anonymous users, 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_p18712161416268">Grant the read permission for static website files to anonymous users. For details, 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_p14415184985410">If the bucket contains only static website files, configure the <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b63305532481">Public Read</strong> policy for the bucket so that all files in it can be accessed publicly.</p> <p id="en-us_topic_0066088957__en-us_topic_0045853755_p14415184985410">If the bucket contains only static website files, configure the <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b1273611558518">Public Read</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_ol56026477144312"><li id="en-us_topic_0066088957__en-us_topic_0045853755_li26219314144346">Choose <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b1966141115407">Permissions</strong> &gt; <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b7671191919400">Bucket Policies</strong>.</li><li id="en-us_topic_0066088957__en-us_topic_0045853755_li820711719166">In the <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b137091459121110">Standard Bucket Policies</strong> area, select the <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b8285215161211">Public Read</strong> policy for the bucket.</li><li id="en-us_topic_0066088957__en-us_topic_0045853755_li588503161565">Click <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b9882162941218">Public Read</strong>. For details, see <a href="#en-us_topic_0066088957__en-us_topic_0045853755_fig15186794193556">Figure 2</a>. In the confirmation dialog box that is displayed, click <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b1842219132">Yes</strong>.<div class="fignone" id="en-us_topic_0066088957__en-us_topic_0045853755_fig15186794193556"><a name="en-us_topic_0066088957__en-us_topic_0045853755_fig15186794193556"></a><a name="en-us_topic_0045853755_fig15186794193556"></a><span class="figcap"><b>Figure 2 </b>Configuring the public read permission</span><br><span><img id="en-us_topic_0066088957__en-us_topic_0045853755_image1956565091517" src="en-us_image_0129612765.png" title="Click to enlarge" class="imgResize"></span></div> <ol type="a" id="en-us_topic_0066088957__en-us_topic_0045853755_ol56026477144312"><li id="en-us_topic_0066088957__en-us_topic_0045853755_li26219314144346">Choose <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b1966141115407">Permissions</strong> &gt; <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b7671191919400">Bucket Policies</strong>.</li><li id="en-us_topic_0066088957__en-us_topic_0045853755_li820711719166">In the <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b137091459121110">Standard Bucket Policies</strong> area, select the <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b8285215161211">Public Read</strong> policy for the bucket.</li><li id="en-us_topic_0066088957__en-us_topic_0045853755_li588503161565">Click <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b9882162941218">Public Read</strong>. For details, see <a href="#en-us_topic_0066088957__en-us_topic_0045853755_fig15186794193556">Figure 2</a>. In the confirmation dialog box that is displayed, click <strong id="en-us_topic_0066088957__en-us_topic_0045853755_b1842219132">Yes</strong>.<div class="fignone" id="en-us_topic_0066088957__en-us_topic_0045853755_fig15186794193556"><a name="en-us_topic_0066088957__en-us_topic_0045853755_fig15186794193556"></a><a name="en-us_topic_0045853755_fig15186794193556"></a><span class="figcap"><b>Figure 2 </b>Configuring the public read permission</span><br><span><img id="en-us_topic_0066088957__en-us_topic_0045853755_image1956565091517" src="en-us_image_0129612765.png" title="Click to enlarge" class="imgResize"></span></div>
</li></ol> </li></ol>
</p></li><li id="en-us_topic_0066088957__li19484318154414"><span><strong id="en-us_topic_0066088957__b862293812442">Verification</strong>: Input the access domain name of the bucket in the web browser and press <strong id="en-us_topic_0066088957__b9751164710445">Enter</strong>. The bucket or URL to which requests are redirected will be displayed.</span><p><div class="note" id="en-us_topic_0066088957__note41738653155935"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0066088957__p25433685155943">In some conditions, you may need to clear the browser cache before the expected results are displayed.</p> </p></li><li id="en-us_topic_0066088957__li19484318154414"><span><strong id="en-us_topic_0066088957__b862293812442">Verification</strong>: Input the access domain name of the bucket in the web browser and press <strong id="en-us_topic_0066088957__b9751164710445">Enter</strong>. The bucket or URL to which requests are redirected will be displayed.</span><p><div class="note" id="en-us_topic_0066088957__note41738653155935"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="en-us_topic_0066088957__p25433685155943">In some conditions, you may need to clear the browser cache before the expected results are displayed.</p>

View File

@ -1,7 +1,7 @@
<a name="en-us_topic_0066088963"></a><a name="en-us_topic_0066088963"></a> <a name="en-us_topic_0066088963"></a><a name="en-us_topic_0066088963"></a>
<h1 class="topictitle1">Configuring SMN-Enabled Event Notification</h1> <h1 class="topictitle1">Configuring SMN-Enabled Event Notification</h1>
<div id="body1499758606807"><p id="en-us_topic_0066088963__p1195915314414">This topic describes how to configure an SMN-enabled event notification rule on OBS Console.</p> <div id="body1499758606807"><p id="en-us_topic_0066088963__p1195915314414">This section describes how to configure an SMN-enabled event notification rule on OBS Console.</p>
<div class="section" id="en-us_topic_0066088963__section72855457345"><h4 class="sectiontitle">Background Information</h4><p id="en-us_topic_0066088963__p76811548103411">For details, see <a href="en-us_topic_0045853816.html">SMN-Enabled Event Notifications</a>.</p> <div class="section" id="en-us_topic_0066088963__section72855457345"><h4 class="sectiontitle">Background Information</h4><p id="en-us_topic_0066088963__p76811548103411">For details, see <a href="en-us_topic_0045853816.html">SMN-Enabled Event Notifications</a>.</p>
</div> </div>
<div class="section" id="en-us_topic_0066088963__section4422459618019"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0066088963__ol6247704518019"><li id="en-us_topic_0066088963__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0066088963__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0066088963__li18830181855820"><span>In the <strong id="en-us_topic_0066088963__b98291154185118">Basic Configurations</strong> area, click <strong id="en-us_topic_0066088963__b1082935455110">Event Notification</strong>. The <strong id="en-us_topic_0066088963__b1482955414517">Event Notification</strong> page is displayed.</span><p><p id="en-us_topic_0066088963__p471425117139">Alternatively, you can choose <strong id="en-us_topic_0066088963__b37321058164212">Basic Configurations</strong> &gt; <strong id="en-us_topic_0066088963__b167381858114211">Event Notification</strong> in the navigation pane.</p> <div class="section" id="en-us_topic_0066088963__section4422459618019"><h4 class="sectiontitle">Procedure</h4><ol id="en-us_topic_0066088963__ol6247704518019"><li id="en-us_topic_0066088963__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0066088963__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0066088963__li18830181855820"><span>In the <strong id="en-us_topic_0066088963__b98291154185118">Basic Configurations</strong> area, click <strong id="en-us_topic_0066088963__b1082935455110">Event Notification</strong>. The <strong id="en-us_topic_0066088963__b1482955414517">Event Notification</strong> page is displayed.</span><p><p id="en-us_topic_0066088963__p471425117139">Alternatively, you can choose <strong id="en-us_topic_0066088963__b37321058164212">Basic Configurations</strong> &gt; <strong id="en-us_topic_0066088963__b167381858114211">Event Notification</strong> in the navigation pane.</p>
@ -21,7 +21,7 @@
<tr id="en-us_topic_0066088963__row13110201"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.3.2.4.2.1.2.3.1.1 "><p id="en-us_topic_0066088963__p55293359">Events</p> <tr id="en-us_topic_0066088963__row13110201"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.3.2.4.2.1.2.3.1.1 "><p id="en-us_topic_0066088963__p55293359">Events</p>
</td> </td>
<td class="cellrowborder" valign="top" width="66%" headers="mcps1.3.3.2.4.2.1.2.3.1.2 "><p id="en-us_topic_0066088963__p49577065">Various types of events. Currently, OBS supports event notification for the following types of events:</p> <td class="cellrowborder" valign="top" width="66%" headers="mcps1.3.3.2.4.2.1.2.3.1.2 "><p id="en-us_topic_0066088963__p49577065">Various types of events. Currently, OBS supports event notification for the following types of events:</p>
<ul id="en-us_topic_0066088963__ul43540403"><li id="en-us_topic_0066088963__li27132010154639"><strong id="en-us_topic_0066088963__b1048514225810">ObjectCreated</strong>: Indicates all kinds of object creation operations, including PUT, POST, and COPY of objects, as well as the merging of parts.<ul id="en-us_topic_0066088963__ul1323810371222"><li id="en-us_topic_0066088963__li30342728173714"><strong id="en-us_topic_0066088963__b67958315317">Put</strong>: Creates or overwrites an object using the PUT method.</li><li id="en-us_topic_0066088963__li1115034173727"><strong id="en-us_topic_0066088963__b1820810923211">Post</strong>: Creates or overwrites an object using the POST (browser-based upload) method.</li><li id="en-us_topic_0066088963__li56319311"><strong id="en-us_topic_0066088963__b7694413123218">Copy</strong>: Creates or overwrites an object using the COPY method.</li><li id="en-us_topic_0066088963__li197831545173313"><strong id="en-us_topic_0066088963__b157561432376">CompleteMultipartUpload</strong>: Merges parts of a multipart upload.</li></ul> <ul id="en-us_topic_0066088963__ul43540403"><li id="en-us_topic_0066088963__li27132010154639"><strong id="en-us_topic_0066088963__b1299204055715">ObjectCreated</strong>: all kinds of object creation operations, including PUT, POST, COPY, and part assembling<ul id="en-us_topic_0066088963__ul1323810371222"><li id="en-us_topic_0066088963__li30342728173714"><strong id="en-us_topic_0066088963__b67958315317">Put</strong>: Creates or overwrites an object using the PUT method.</li><li id="en-us_topic_0066088963__li1115034173727"><strong id="en-us_topic_0066088963__b1820810923211">Post</strong>: Creates or overwrites an object using the POST (browser-based upload) method.</li><li id="en-us_topic_0066088963__li56319311"><strong id="en-us_topic_0066088963__b7694413123218">Copy</strong>: Creates or overwrites an object using the COPY method.</li><li id="en-us_topic_0066088963__li197831545173313"><strong id="en-us_topic_0066088963__b157561432376">CompleteMultipartUpload</strong>: Assembles parts of a multipart upload.</li></ul>
</li><li id="en-us_topic_0066088963__li17115829154654"><strong id="en-us_topic_0066088963__b1247145233716">ObjectRemoved</strong>: Deletes an object.<ul id="en-us_topic_0066088963__ul119351546723"><li id="en-us_topic_0066088963__li39439006"><strong id="en-us_topic_0066088963__b102321594591">Delete</strong>: Deletes an object with a specified version ID.</li><li id="en-us_topic_0066088963__li54653604"><strong id="en-us_topic_0066088963__b146469154595">DeleteMarkerCreated</strong>: Deletes an object without specifying a version ID.</li></ul> </li><li id="en-us_topic_0066088963__li17115829154654"><strong id="en-us_topic_0066088963__b1247145233716">ObjectRemoved</strong>: Deletes an object.<ul id="en-us_topic_0066088963__ul119351546723"><li id="en-us_topic_0066088963__li39439006"><strong id="en-us_topic_0066088963__b102321594591">Delete</strong>: Deletes an object with a specified version ID.</li><li id="en-us_topic_0066088963__li54653604"><strong id="en-us_topic_0066088963__b146469154595">DeleteMarkerCreated</strong>: Deletes an object without specifying a version ID.</li></ul>
</li></ul> </li></ul>
<p id="en-us_topic_0066088963__p64865822">Multiple event types can be applied to the same object. For example, if you have selected <strong id="en-us_topic_0066088963__b2091313193599">Put</strong>, <strong id="en-us_topic_0066088963__b1691461905913">Copy</strong>, and <strong id="en-us_topic_0066088963__b1591591955916">Delete</strong> in the same event notification rule, a notification will be sent to you when the specified object is uploaded to, copied to, or deleted from the bucket. <strong id="en-us_topic_0066088963__b10982172711591">ObjectCreated</strong> contains <strong id="en-us_topic_0066088963__b9983132755917">Put</strong>, <strong id="en-us_topic_0066088963__b15984827185911">Post</strong>, <strong id="en-us_topic_0066088963__b11984927175910">Copy</strong>, and <strong id="en-us_topic_0066088963__b79851127195916">CompleteMultipartUpload</strong>. If you select <strong id="en-us_topic_0066088963__b9986132712595">ObjectCreated</strong>, the events <strong id="en-us_topic_0066088963__b158921377114">ObjectCreated</strong> contains are automatically selected. Similarly, if you select <strong id="en-us_topic_0066088963__b918816366592">ObjectRemoved</strong>, <strong id="en-us_topic_0066088963__b818911360595">Delete</strong> and <strong id="en-us_topic_0066088963__b91901136185910">DeleteMarkerCreated</strong> are automatically selected.</p> <p id="en-us_topic_0066088963__p64865822">Multiple event types can be applied to the same object. For example, if you have selected <strong id="en-us_topic_0066088963__b2091313193599">Put</strong>, <strong id="en-us_topic_0066088963__b1691461905913">Copy</strong>, and <strong id="en-us_topic_0066088963__b1591591955916">Delete</strong> in the same event notification rule, a notification will be sent to you when the specified object is uploaded to, copied to, or deleted from the bucket. <strong id="en-us_topic_0066088963__b10982172711591">ObjectCreated</strong> contains <strong id="en-us_topic_0066088963__b9983132755917">Put</strong>, <strong id="en-us_topic_0066088963__b15984827185911">Post</strong>, <strong id="en-us_topic_0066088963__b11984927175910">Copy</strong>, and <strong id="en-us_topic_0066088963__b79851127195916">CompleteMultipartUpload</strong>. If you select <strong id="en-us_topic_0066088963__b9986132712595">ObjectCreated</strong>, the events <strong id="en-us_topic_0066088963__b158921377114">ObjectCreated</strong> contains are automatically selected. Similarly, if you select <strong id="en-us_topic_0066088963__b918816366592">ObjectRemoved</strong>, <strong id="en-us_topic_0066088963__b818911360595">Delete</strong> and <strong id="en-us_topic_0066088963__b91901136185910">DeleteMarkerCreated</strong> are automatically selected.</p>
@ -37,7 +37,7 @@
<tr id="en-us_topic_0066088963__row16547757"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.3.2.4.2.1.2.3.1.1 "><p id="en-us_topic_0066088963__p65299951">Suffix</p> <tr id="en-us_topic_0066088963__row16547757"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.3.2.4.2.1.2.3.1.1 "><p id="en-us_topic_0066088963__p65299951">Suffix</p>
</td> </td>
<td class="cellrowborder" valign="top" width="66%" headers="mcps1.3.3.2.4.2.1.2.3.1.2 "><p id="en-us_topic_0066088963__p54804702">Object name suffix for which notifications will be triggered.</p> <td class="cellrowborder" valign="top" width="66%" headers="mcps1.3.3.2.4.2.1.2.3.1.2 "><p id="en-us_topic_0066088963__p54804702">Object name suffix for which notifications will be triggered.</p>
<div class="note" id="en-us_topic_0066088963__note64263792115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="en-us_topic_0066088963__ul75801343183518"><li id="en-us_topic_0066088963__li195809435352">A folder path ends with a slash (/). Therefore, if you want to configure the event notification for operations on folders and you need to filter folders by suffix, the suffix must also end with a slash (/).</li><li id="en-us_topic_0066088963__li168661347193517">If neither the <strong id="en-us_topic_0066088963__b14649194213219">Prefix</strong> nor the <strong id="en-us_topic_0066088963__b16651104273212">Suffix</strong> is configured, the event notification rule applies to all objects in the bucket.</li></ul> <div class="note" id="en-us_topic_0066088963__note64263792115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="en-us_topic_0066088963__ul75801343183518"><li id="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="en-us_topic_0066088963__li168661347193517">If neither the <strong id="en-us_topic_0066088963__b14649194213219">Prefix</strong> nor the <strong id="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></div>
</td> </td>
</tr> </tr>
@ -60,7 +60,7 @@
</p></li><li id="en-us_topic_0066088963__li40751614144143"><span>Click <strong id="en-us_topic_0066088963__b148248112017144">OK</strong>.</span></li></ol> </p></li><li id="en-us_topic_0066088963__li40751614144143"><span>Click <strong id="en-us_topic_0066088963__b148248112017144">OK</strong>.</span></li></ol>
</div> </div>
<div class="section" id="en-us_topic_0066088963__section183921920123113"><h4 class="sectiontitle">Related Operations</h4><p id="en-us_topic_0066088963__p63278262318">You can click <strong id="en-us_topic_0066088963__b142889712509">Edit</strong> in the <strong id="en-us_topic_0066088963__b88459435509">Operation</strong> column of an event notification rule, to edit the notification rule, or click <strong id="en-us_topic_0066088963__b7836162611519">Delete</strong> to delete the rule.</p> <div class="section" id="en-us_topic_0066088963__section183921920123113"><h4 class="sectiontitle">Related Operations</h4><p id="en-us_topic_0066088963__p63278262318">You can click <strong id="en-us_topic_0066088963__b142889712509">Edit</strong> in the <strong id="en-us_topic_0066088963__b88459435509">Operation</strong> column of an event notification rule, to edit the notification rule, or click <strong id="en-us_topic_0066088963__b7836162611519">Delete</strong> to delete the rule.</p>
<p id="en-us_topic_0066088963__p7112172923412">If you want to batch delete event notification rules, select them and click <strong id="en-us_topic_0066088963__b420214845319">Delete</strong> above the list.</p> <p id="en-us_topic_0066088963__p7112172923412">If you want to batch delete event notification rules, select the rules to delete and click <strong id="en-us_topic_0066088963__b420214845319">Delete</strong> above the list.</p>
</div> </div>
</div> </div>
<div> <div>

View File

@ -41,7 +41,7 @@
</div></div> </div></div>
</td> </td>
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.4.3.2.3.1.2 "><p id="en-us_topic_0066088967__p11239175822012">A log delivery user only delivers access logs of buckets and objects to the specified target bucket. OBS does not create or upload any file to a bucket automatically. Therefore, if you want to record bucket access logs, you need to grant the permission to the log delivery user who will deliver the access logs to your specified target bucket. The user only delivers logs within the service scope of OBS.</p> <td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.4.3.2.3.1.2 "><p id="en-us_topic_0066088967__p11239175822012">A log delivery user only delivers access logs of buckets and objects to the specified target bucket. OBS does not create or upload any file to a bucket automatically. Therefore, if you want to record bucket access logs, you need to grant the permission to the log delivery user who will deliver the access logs to your specified target bucket. The user only delivers logs within the service scope of OBS.</p>
<div class="notice" id="en-us_topic_0066088967__note71171158122010"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="en-us_topic_0066088967__p7241158152013">After logging is enabled, the log delivery user group will be automatically granted the permission to read the bucket ACL and write the bucket where logs are saved. If you manually disable such permissions, bucket logging fails.</p> <div class="notice" id="en-us_topic_0066088967__note71171158122010"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="en-us_topic_0066088967__p7241158152013">After logging is enabled, the log delivery user group will be automatically granted the permission to read the bucket ACL and write the bucket where logs are saved. If you manually disable such permissions, bucket logging will fail.</p>
</div></div> </div></div>
</td> </td>
</tr> </tr>
@ -173,8 +173,8 @@
</div> </div>
</div> </div>
<div class="section" id="en-us_topic_0066088967__section7479813113513"><h4 class="sectiontitle">Bucket ACL Application Scenarios</h4><p id="en-us_topic_0066088967__p47411659300">ACLs control the read and write permissions for accounts and groups. ACL permission granularity is not as fine as bucket policies and <span id="en-us_topic_0066088967__ph9419171385810">IAM policies</span>. Generally, it is recommended that you use <span id="en-us_topic_0066088967__ph278514422264">IAM policies</span> and bucket policies for access control.</p> <div class="section" id="en-us_topic_0066088967__section7479813113513"><h4 class="sectiontitle">Bucket ACL Application Scenarios</h4><p id="en-us_topic_0066088967__p47411659300">ACLs control the read and write permissions for accounts and groups. ACL permission granularity is not as fine as bucket policies and <span id="en-us_topic_0066088967__ph9419171385810">IAM policies</span>. Generally, it is recommended that you use <span id="en-us_topic_0066088967__ph278514422264">IAM policies</span> and bucket policies for access control.</p>
<p id="en-us_topic_0066088967__p1126835143516">You can configure bucket ACLs to:</p> <p id="en-us_topic_0066088967__p1126835143516">You can configure the bucket ACL to:</p>
<ul id="en-us_topic_0066088967__ul15126135163517"><li id="en-us_topic_0066088967__li9126123513517">Grant the log delivery user write access to the target bucket that stores access logs.</li><li id="en-us_topic_0066088967__li012611352351">Grant an account read and write access to a bucket, so that data in the bucket can be shared or the bucket can be mounted. </li></ul> <ul id="en-us_topic_0066088967__ul15126135163517"><li id="en-us_topic_0066088967__li9126123513517">Grant the log delivery user write access to the target bucket that stores access logs.</li><li id="en-us_topic_0066088967__li012611352351">Grant an account the read and write access to the bucket, so that data in the bucket can be shared or the bucket can be added as an external bucket. </li></ul>
</div> </div>
<div class="section" id="en-us_topic_0066088967__section41561114217"><h4 class="sectiontitle">Object ACL Application Scenarios</h4><p id="en-us_topic_0066088967__p1343310247393">ACLs control the read and write permissions for accounts and groups. ACL permission granularity is not as fine as bucket policies and <span id="en-us_topic_0066088967__ph74341324193920">IAM policies</span>. Generally, it is recommended that you use <span id="en-us_topic_0066088967__ph943472423910">IAM policies</span> and bucket policies for access control.</p> <div class="section" id="en-us_topic_0066088967__section41561114217"><h4 class="sectiontitle">Object ACL Application Scenarios</h4><p id="en-us_topic_0066088967__p1343310247393">ACLs control the read and write permissions for accounts and groups. ACL permission granularity is not as fine as bucket policies and <span id="en-us_topic_0066088967__ph74341324193920">IAM policies</span>. Generally, it is recommended that you use <span id="en-us_topic_0066088967__ph943472423910">IAM policies</span> and bucket policies for access control.</p>
<p id="en-us_topic_0066088967__p14271741479">It is recommended that you use object ACLs in the following scenarios:</p> <p id="en-us_topic_0066088967__p14271741479">It is recommended that you use object ACLs in the following scenarios:</p>

View File

@ -20,7 +20,7 @@
</p></li></ol> </p></li></ol>
</div> </div>
<div class="section" id="en-us_topic_0066176932__section27691114163422"><a name="en-us_topic_0066176932__section27691114163422"></a><a name="section27691114163422"></a><h4 class="sectiontitle">Related Operations</h4><p id="en-us_topic_0066176932__p1230015169212"><strong id="en-us_topic_0066176932__b24351655141415">Recover a file by deleting its version with the Delete Marker:</strong></p> <div class="section" id="en-us_topic_0066176932__section27691114163422"><a name="en-us_topic_0066176932__section27691114163422"></a><a name="section27691114163422"></a><h4 class="sectiontitle">Related Operations</h4><p id="en-us_topic_0066176932__p1230015169212"><strong id="en-us_topic_0066176932__b24351655141415">Recover a file by deleting its version with the Delete Marker:</strong></p>
<ol id="en-us_topic_0066176932__ol12192133294220"><li id="en-us_topic_0066176932__li1615575915216"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0066176932__obs_03_0307_b144421021120_1">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0066176932__li93941045203316"><span>In the navigation pane, choose <strong id="en-us_topic_0066176932__obs_03_0307_b51941856151917_1">Objects</strong>.</span></li><li id="en-us_topic_0066176932__li329516215438"><span>Click <strong id="en-us_topic_0066176932__b52092018749">Deleted Objects</strong>.</span></li><li id="en-us_topic_0066176932__li1752911151435"><span>Click the deleted file that you want to recover. The file information is displayed.</span></li><li id="en-us_topic_0066176932__li7545162011816"><span>On the <strong id="en-us_topic_0066176932__b559745119414">Versions</strong> tab, view all versions of the file.</span><p><ul id="en-us_topic_0066176932__ul5868164471917"><li id="en-us_topic_0066176932__li7869174451920">If you delete a version with the <strong id="en-us_topic_0066176932__b124219471368">Delete Marker</strong>, the file will be recovered and retained in the <strong id="en-us_topic_0066176932__b11649130114517">Objects</strong> list.</li><li id="en-us_topic_0066176932__li139976402512">If you delete a version without the <strong id="en-us_topic_0066176932__b9691173219362">Delete Marker</strong>, that version will be permanently deleted.</li></ul> <ol id="en-us_topic_0066176932__ol12192133294220"><li id="en-us_topic_0066176932__li1615575915216"><span>In the bucket list, click the bucket you want to operate. The <strong id="en-us_topic_0066176932__obs_03_0307_b144421021120_1">Overview</strong> page is displayed.</span></li><li id="en-us_topic_0066176932__li93941045203316"><span>In the navigation pane, choose <strong id="en-us_topic_0066176932__obs_03_0307_b51941856151917_1">Objects</strong>.</span></li><li id="en-us_topic_0066176932__li329516215438"><span>Click <strong id="en-us_topic_0066176932__b52092018749">Deleted Objects</strong>.</span></li><li id="en-us_topic_0066176932__li1752911151435"><span>Click the deleted file that you want to recover. The file information is displayed.</span></li><li id="en-us_topic_0066176932__li7545162011816"><span>On the <strong id="en-us_topic_0066176932__b559745119414">Versions</strong> tab page, view all versions of the file.</span><p><ul id="en-us_topic_0066176932__ul5868164471917"><li id="en-us_topic_0066176932__li7869174451920">If you delete a version with the <strong id="en-us_topic_0066176932__b124219471368">Delete Marker</strong>, the file will be recovered and retained in the <strong id="en-us_topic_0066176932__b11649130114517">Objects</strong> list.</li><li id="en-us_topic_0066176932__li139976402512">If you delete a version without the <strong id="en-us_topic_0066176932__b9691173219362">Delete Marker</strong>, that version will be permanently deleted.</li></ul>
</p></li></ol> </p></li></ol>
</div> </div>
</div> </div>

View File

@ -10,9 +10,9 @@
</div> </div>
<div class="section" id="obs_03_0002__section50131461181156"><h4 class="sectiontitle">Application Scenarios</h4><ul id="obs_03_0002__ul36982438192019"><li id="obs_03_0002__li3811559192019">The same OBS resources need to be accessed in different locations. To minimize the access latency, you can use cross-region replication to create object copies in the nearest region.</li><li id="obs_03_0002__li1686595192758">Due to business reasons, you need to migrate OBS data to the data center in another region.</li><li id="obs_03_0002__li4182384193220">To ensure data security and availability, you need to create explicit backups for all data written to OBS in the data center of another region. Therefore, secure backup data is available if the source data is damaged irrevocably.</li></ul> <div class="section" id="obs_03_0002__section50131461181156"><h4 class="sectiontitle">Application Scenarios</h4><ul id="obs_03_0002__ul36982438192019"><li id="obs_03_0002__li3811559192019">The same OBS resources need to be accessed in different locations. To minimize the access latency, you can use cross-region replication to create object copies in the nearest region.</li><li id="obs_03_0002__li1686595192758">Due to business reasons, you need to migrate OBS data to the data center in another region.</li><li id="obs_03_0002__li4182384193220">To ensure data security and availability, you need to create explicit backups for all data written to OBS in the data center of another region. Therefore, secure backup data is available if the source data is damaged irrevocably.</li></ul>
</div> </div>
<div class="section" id="obs_03_0002__section14840141181339"><h4 class="sectiontitle">Limitations and Constraints</h4><p id="obs_03_0002__p51706951201127">Cross-region replication has the following limitations and constraints:</p> <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">Currently, only buckets of version 3.0 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 versioning status of the source bucket must be the same as that of the destination bucket.</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> <ul id="obs_03_0002__ul11966603201218"><li id="obs_03_0002__li42866360205234">Currently, only buckets of version 3.0 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 versioning status of the source and destination buckets must keep the same.</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">If you change the versioning status of the destination bucket when cross-region replication is enabled, the replication of objects will fail. If you want to change the versioning status of the source bucket, disable the cross-region replication 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 when the cross-region replication is enabled, the replication will be in the FAILED 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></ul>
</div> </div>
</div> </div>
<div> <div>

View File

@ -23,12 +23,12 @@
<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 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>
<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> <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__b474022597">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__b792349998">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> </td>
</tr> </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> <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>
</td> </td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><ul id="obs_03_0003__ul131697403117"><li id="obs_03_0003__li12169840219">To apply the rule to objects with the specified prefix, you must set <strong id="obs_03_0003__b12792252044">Prefix</strong> to a value no longer than 1,024 characters.</li><li id="obs_03_0003__li14169114011110">If the specified prefix overlaps with the prefix of an existing rule, OBS regards these two rules as one and the new rule cannot be configured. For example, if there is already a rule with prefix <strong id="obs_03_0003__b197214520510">abc</strong> in OBS, you cannot configure another rule whose prefix starts with <strong id="obs_03_0003__b199721752753">abc</strong>.</li><li id="obs_03_0003__li5169840318">To copy a folder, end the prefix with a slash (/), for example, <strong id="obs_03_0003__b18711953131712">imgs/</strong>.</li></ul> <td class="cellrowborder" valign="top" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><ul id="obs_03_0003__ul131697403117"><li id="obs_03_0003__li12169840219">To apply the rule to objects with the specified prefix, you must set <strong id="obs_03_0003__b12792252044">Prefix</strong> to a value no longer than 1,024 characters.</li><li id="obs_03_0003__li14169114011110">If the specified prefix overlaps with the prefix of an existing rule, OBS regards these two rules as one and forbids you to configure the one you are configuring. For example, if there is already a rule with prefix <strong id="obs_03_0003__b197214520510">abc</strong> in OBS, you cannot configure another rule whose prefix starts with <strong id="obs_03_0003__b199721752753">abc</strong>.</li><li id="obs_03_0003__li5169840318">To copy a folder, end the prefix with a slash (/), for example, <strong id="obs_03_0003__b18711953131712">imgs/</strong>.</li></ul>
</td> </td>
</tr> </tr>
<tr id="obs_03_0003__row1643520415216"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><p id="obs_03_0003__p10269115310217">Synchronize Existing Objects</p> <tr id="obs_03_0003__row1643520415216"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><p id="obs_03_0003__p10269115310217">Synchronize Existing Objects</p>
@ -44,7 +44,7 @@
<tr id="obs_03_0003__row2016912401919"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><p id="obs_03_0003__p1216914011113">Replicate KMS encrypted objects</p> <tr id="obs_03_0003__row2016912401919"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><p id="obs_03_0003__p1216914011113">Replicate KMS encrypted objects</p>
</td> </td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><p id="obs_03_0003__p121698406111">OBS will try to copy KMS encrypted objects no matter whether this option is selected or not.</p> <td class="cellrowborder" valign="top" headers="mcps1.3.4.2.4.2.1.2.4.1.1 "><p id="obs_03_0003__p121698406111">OBS will try to copy KMS encrypted objects no matter whether this option is selected or not.</p>
<ul id="obs_03_0003__ul116917401416"><li id="obs_03_0003__li6169124010115">If this option is selected, only the IAM agencies that have the <strong id="obs_03_0003__b1317415410118">KMS Administrator</strong> permission at both the source and destination ends are displayed in the drop-down list of <strong id="obs_03_0003__b217445420111">IAM Agency</strong> in the <strong id="obs_03_0003__b617415451120">Create Cross-Region Replication Rule</strong> dialog box.</li><li id="obs_03_0003__li131691402114">If this option is not selected, only the IAM agencies that do not have the <strong id="obs_03_0003__b475152181214">KMS Administrator</strong> permission at either the source or destination end are displayed in the drop-down list of <strong id="obs_03_0003__b27545201214">IAM Agency</strong> in the <strong id="obs_03_0003__b187595216123">Create Cross-Region Replication Rule</strong> dialog box.</li></ul> <ul id="obs_03_0003__ul116917401416"><li id="obs_03_0003__li6169124010115">If this option is selected, only the IAM agencies that have the <strong id="obs_03_0003__b1317415410118">KMS Administrator</strong> permission for both source and destination ends are displayed in the drop-down list of <strong id="obs_03_0003__b217445420111">IAM Agency</strong> in the <strong id="obs_03_0003__b617415451120">Create Cross-Region Replication Rule</strong> dialog box.</li><li id="obs_03_0003__li131691402114">If this option is not selected, only the IAM agencies that do not have the <strong id="obs_03_0003__b475152181214">KMS Administrator</strong> permission for either the source or destination end are displayed in the drop-down list of <strong id="obs_03_0003__b27545201214">IAM Agency</strong> in the <strong id="obs_03_0003__b187595216123">Create Cross-Region Replication Rule</strong> dialog box.</li></ul>
<p id="obs_03_0003__p1316994011118">If KMS is not available in the destination region or the agency does not have the <strong id="obs_03_0003__b13263951773">KMS Administrator</strong> permission in the source and destination regions, KMS encrypted objects will fail to be replicated to the destination bucket, and the object replication status will be failed.</p> <p id="obs_03_0003__p1316994011118">If KMS is not available in the destination region or the agency does not have the <strong id="obs_03_0003__b13263951773">KMS Administrator</strong> permission in the source and destination regions, KMS encrypted objects will fail to be replicated to the destination bucket, and the object replication status will be failed.</p>
<p id="obs_03_0003__p1916912406116">After a KMS-encrypted object is replicated to the destination bucket, the key for encrypting the object copy changes to the default key <strong id="obs_03_0003__b669210713915">obs/default</strong> of the destination region.</p> <p id="obs_03_0003__p1916912406116">After a KMS-encrypted object is replicated to the destination bucket, the key for encrypting the object copy changes to the default key <strong id="obs_03_0003__b669210713915">obs/default</strong> of the destination region.</p>
</td> </td>
@ -72,8 +72,8 @@
</td> </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__p7170154014110">Delegates OBS to operate your resources, so that OBS can use this agency to implement cross-region replication.</p> <td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.4.2.1.2.4.1.2 "><p id="obs_03_0003__p7170154014110">Delegates OBS to operate your resources, so that OBS can use this agency to implement cross-region replication.</p>
<p id="obs_03_0003__p1617020408119">If there is no IAM agency available, click <strong id="obs_03_0003__b318713128241">Create IAM agencies</strong> to create one. If you have already created IAM agencies, select one from the drop-down list.</p> <p id="obs_03_0003__p1617020408119">If there is no IAM agency available, click <strong id="obs_03_0003__b318713128241">Create IAM agencies</strong> to create one. If you have already created IAM agencies, select one from the drop-down list.</p>
<div class="note" id="obs_03_0003__note1317094014116"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="obs_03_0003__p201703401611">Requirements:</p> <div class="note" id="obs_03_0003__note1317094014116"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="obs_03_0003__p201703401611">Agency requirements:</p>
<p id="obs_03_0003__p1917010402017">The IAM agency must be of OBS. The OBS project must have the <strong id="obs_03_0003__b2087015714610">OBS FullAccess</strong> permissions. If <strong id="obs_03_0003__b1356314283406">Replicate KMS encrypted objects</strong> is selected, you also need the <strong id="obs_03_0003__b9563528184017">KMS Administrator</strong> permission in the regions where the source and destination buckets are located.</p> <p id="obs_03_0003__p1917010402017">The IAM agency selected here must be of OBS. The OBS project must have the <strong id="obs_03_0003__b2087015714610">OBS FullAccess</strong> permission. If <strong id="obs_03_0003__b4649164017313">Replicate KMS encrypted objects</strong> is selected, the agency also needs the <strong id="obs_03_0003__b116491340113113">KMS Administrator</strong> permission in the regions where the source and destination buckets are located.</p>
</div></div> </div></div>
</td> </td>
</tr> </tr>

View File

@ -5,11 +5,13 @@
<p id="obs_03_0009__p104272043831">You do not need to separately subscribe to Cloud Eye. It starts automatically once you create a resource (a bucket, for example) in OBS. For more information about Cloud Eye, see <a href="https://docs.otc.t-systems.com/cloud-eye/umn" target="_blank" rel="noopener noreferrer">Cloud Eye User Guide</a>.</p> <p id="obs_03_0009__p104272043831">You do not need to separately subscribe to Cloud Eye. It starts automatically once you create a resource (a bucket, for example) in OBS. For more information about Cloud Eye, see <a href="https://docs.otc.t-systems.com/cloud-eye/umn" target="_blank" rel="noopener noreferrer">Cloud Eye User Guide</a>.</p>
<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 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>
<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 specified events happen.</p> <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__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__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>
<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> <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__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>
</div> </div>
</div> </div>
<div> <div>

File diff suppressed because it is too large Load Diff

View File

@ -3,10 +3,10 @@
<h1 class="topictitle1">Storage Classes Overview</h1> <h1 class="topictitle1">Storage Classes Overview</h1>
<div id="body8662426"><p id="obs_03_0012__en-us_topic_0050937852_p5495173433013">OBS supports tiered storage classes at the bucket level and object level.</p> <div id="body8662426"><p id="obs_03_0012__en-us_topic_0050937852_p5495173433013">OBS supports tiered storage classes at the bucket level and object level.</p>
<p id="obs_03_0012__en-us_topic_0050937852_p59654135102119">OBS provides the following storage classes: Standard, Warm, and Cold.</p> <p id="obs_03_0012__en-us_topic_0050937852_p59654135102119">OBS provides the following storage classes: Standard, Warm, and Cold.</p>
<div class="p" id="obs_03_0012__en-us_topic_0050937852_p2914586010533">These storage classes can meet different needs for storage performance and costs.<ul id="obs_03_0012__en-us_topic_0050937852_ul3992358810533"><li id="obs_03_0012__en-us_topic_0050937852_li1693337310533">Standard: The Standard storage class features low latency and high throughput. It is therefore good for storing frequently (multiple times per month) accessed files or small files (less than 1 MB). Its application scenarios include big data analytics, mobile apps, hot videos, and social apps.</li><li id="obs_03_0012__en-us_topic_0050937852_li61152206154814">Warm: The Warm storage class is for storing data that is infrequently (less than 12 times per year) accessed, but when needed, the access has to be fast. It can be used for file synchronization, file sharing, enterprise backups, and many other scenarios.</li><li id="obs_03_0012__en-us_topic_0050937852_li57040773154825">Cold: The Cold storage class is ideal for storing data that is rarely (once per year) accessed. Its application scenarios include data archive and long-term backups. The Cold storage class is secure, durable, and inexpensive, and can be used to replace tape libraries. To keep cost low, it may take hours to restore data from the Cold storage class.</li></ul> <div class="p" id="obs_03_0012__en-us_topic_0050937852_p2914586010533">These storage classes can meet different needs for storage performance and costs.<ul id="obs_03_0012__en-us_topic_0050937852_ul3992358810533"><li id="obs_03_0012__en-us_topic_0050937852_li1693337310533">Standard: The Standard storage class features low latency and high throughput. It is therefore good for storing frequently (multiple times per month) accessed files or small files (less than 1 MB). Its application scenarios include big data analytics, mobile apps, hot videos, and social apps.</li><li id="obs_03_0012__en-us_topic_0050937852_li61152206154814">Warm: The Warm storage class is for storing data that is infrequently (less than 12 times per year) accessed, but when needed, the access has to be fast. It can be used for file synchronization, file sharing, enterprise backups, and many other scenarios.</li><li id="obs_03_0012__en-us_topic_0050937852_li57040773154825">Cold: The Cold storage class is ideal for storing data that is rarely (once per year) accessed. Its application scenarios include data archive and long-term backups. The Cold storage class is secure, durable, and inexpensive, so it can be used to replace tape libraries. To keep cost low, it may take hours to restore data from the Cold storage class.</li></ul>
</div> </div>
<div class="section" id="obs_03_0012__en-us_topic_0050937852_section510051131514"><h4 class="sectiontitle">Bucket Storage Classes vs. Object Storage Classes</h4><p id="obs_03_0012__en-us_topic_0050937852_p8262771203">When an object is uploaded, it inherits the storage class of the bucket by default, but you can change the default storage class when you upload the object.</p> <div class="section" id="obs_03_0012__en-us_topic_0050937852_section510051131514"><h4 class="sectiontitle">Bucket Storage Classes vs. Object Storage Classes</h4><p id="obs_03_0012__en-us_topic_0050937852_p8262771203">When an object is uploaded, it inherits the storage class of the bucket by default, but you can change the storage class when you upload the object.</p>
<p id="obs_03_0012__en-us_topic_0050937852_p15587122093216">Changing the storage class of a bucket does not change the storage classes of existing objects in the bucket, but newly uploaded objects will inherit the new storage class.</p> <p id="obs_03_0012__en-us_topic_0050937852_p15587122093216">Changing the storage class of a bucket does not change the storage class of existing objects in the bucket. However, any new objects uploaded to the bucket will inherit the bucket's new storage class.</p>
</div> </div>
<div class="section" id="obs_03_0012__en-us_topic_0050937852_section64461132193015"><h4 class="sectiontitle">Comparison of Storage Classes</h4> <div class="section" id="obs_03_0012__en-us_topic_0050937852_section64461132193015"><h4 class="sectiontitle">Comparison of Storage Classes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0012__en-us_topic_0050937852_table1410941163116" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_03_0012__en-us_topic_0050937852_row1410174113319"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.1.1"><p id="obs_03_0012__en-us_topic_0050937852_p1110194153116">Compared Item</p> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0012__en-us_topic_0050937852_table1410941163116" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_03_0012__en-us_topic_0050937852_row1410174113319"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.1.1"><p id="obs_03_0012__en-us_topic_0050937852_p1110194153116">Compared Item</p>
@ -25,7 +25,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.3 "><p id="obs_03_0012__en-us_topic_0050937852_p83181416352">Reliable, inexpensive storage with real-time access</p> <td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.3 "><p id="obs_03_0012__en-us_topic_0050937852_p83181416352">Reliable, inexpensive storage with real-time access</p>
</td> </td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="obs_03_0012__en-us_topic_0050937852_p19318134103517">Long-term storage for Cold data at a low cost</p> <td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="obs_03_0012__en-us_topic_0050937852_p19318134103517">Long-term, inexpensive storage for Cold data</p>
</td> </td>
</tr> </tr>
<tr id="obs_03_0012__en-us_topic_0050937852_row265162715348"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.1 "><p id="obs_03_0012__en-us_topic_0050937852_p46642711342">Application scenarios</p> <tr id="obs_03_0012__en-us_topic_0050937852_row265162715348"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.1 "><p id="obs_03_0012__en-us_topic_0050937852_p46642711342">Application scenarios</p>
@ -59,6 +59,16 @@
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="obs_03_0012__en-us_topic_0050937852_p10654165783617">90 days</p> <td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="obs_03_0012__en-us_topic_0050937852_p10654165783617">90 days</p>
</td> </td>
</tr> </tr>
<tr id="obs_03_0012__en-us_topic_0050937852_row4743551153610"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.1 "><p id="obs_03_0012__en-us_topic_0050937852_p874305112369">Data restore</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.2 "><p id="obs_03_0012__en-us_topic_0050937852_p123631293392">N/A</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.3 "><p id="obs_03_0012__en-us_topic_0050937852_p1743105193610">Billed for each GB restored.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.1.4 "><p id="obs_03_0012__en-us_topic_0050937852_p11743205133616">Data can be restored at an expedited or a standard or bulk speed.</p>
<p id="obs_03_0012__en-us_topic_0050937852_p982264124713">Billed for each GB restored.</p>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@ -4,7 +4,7 @@
<div id="body1524538563904"><p id="obs_03_0022__p8060118">A bucket is a container that stores objects in OBS. Before you store data in OBS, you need to create a bucket first.</p> <div id="body1524538563904"><p id="obs_03_0022__p8060118">A bucket is a container that stores objects in OBS. Before you store data in OBS, you need to create a bucket first.</p>
<div class="note" id="obs_03_0022__note14401833152"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0022__obs_03_0306_p10676115174029">An account can create a maximum of 100 buckets and parallel file systems.</p> <div class="note" id="obs_03_0022__note14401833152"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0022__obs_03_0306_p10676115174029">An account can create a maximum of 100 buckets and parallel file systems.</p>
</div></div> </div></div>
<div class="section" id="obs_03_0022__section166665169537"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0022__o3dc069cdcbba4416a3683f6520f3ecce"><li id="obs_03_0022__l0204956d1e384b6ba74c2d480eae6b31"><span>Log in to OBS Browser.</span></li><li id="obs_03_0022__li01851538185010"><span>Click <strong id="obs_03_0022__b20369115342911">Add Bucket</strong> on the upper left of the page. The <strong id="obs_03_0022__b0561135842917">Add Bucket</strong> dialog box is displayed.</span></li><li id="obs_03_0022__li1127441645716"><span>Select <strong id="obs_03_0022__b2063314911316">Create new bucket</strong>.</span></li><li id="obs_03_0022__li1075791115914"><span>Select a region.</span></li><li id="obs_03_0022__li133562414114"><span>Select the Storage Class according to your actual needs.</span></li><li id="obs_03_0022__li1917124351119"><span>Enter a name in the text box of <strong id="obs_03_0022__b156851934165012">Bucket Name</strong>. You can move the pointer over <span><img id="obs_03_0022__image5838133555913" src="en-us_image_0237531616.png"></span> next to the <strong id="obs_03_0022__a7c8186d9923a4902abdad9e907b36156">Bucket Name</strong> text box to view the naming rules for a bucket.</span><p><div class="fignone" id="obs_03_0022__fig43772663175835"><span class="figcap"><b>Figure 1 </b>Adding a bucket</span><br><span><img id="obs_03_0022__image14851687350" src="en-us_image_0129772318.png" title="Click to enlarge" class="imgResize"></span></div> <div class="section" id="obs_03_0022__section166665169537"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0022__o3dc069cdcbba4416a3683f6520f3ecce"><li id="obs_03_0022__l0204956d1e384b6ba74c2d480eae6b31"><span>Log in to OBS Browser.</span></li><li id="obs_03_0022__li01851538185010"><span>Click <strong id="obs_03_0022__b20369115342911">Add Bucket</strong> on the upper left of the page. The <strong id="obs_03_0022__b0561135842917">Add Bucket</strong> dialog box is displayed.</span></li><li id="obs_03_0022__li1127441645716"><span>Select <strong id="obs_03_0022__b2063314911316">Create new bucket</strong>.</span></li><li id="obs_03_0022__li1075791115914"><span>Select a region.</span></li><li id="obs_03_0022__li133562414114"><span>Select a storage class as needed.</span></li><li id="obs_03_0022__li1917124351119"><span>Enter a name in the text box of <strong id="obs_03_0022__b156851934165012">Bucket Name</strong>. You can move the pointer over <span><img id="obs_03_0022__image5838133555913" src="en-us_image_0237531616.png"></span> next to the <strong id="obs_03_0022__a7c8186d9923a4902abdad9e907b36156">Bucket Name</strong> text box to view the naming rules for a bucket.</span><p><div class="fignone" id="obs_03_0022__fig43772663175835"><span class="figcap"><b>Figure 1 </b>Adding a bucket</span><br><span><img id="obs_03_0022__image14851687350" src="en-us_image_0129772318.png" title="Click to enlarge" class="imgResize"></span></div>
</p></li><li id="obs_03_0022__l69c01107d6fe48fe9cefcc9f6a140144"><span>Click <strong id="obs_03_0022__b117037197110197">OK</strong>.</span></li><li id="obs_03_0022__li944717573486"><span>In the displayed dialog box, click <strong id="obs_03_0022__b19371431195919">Close</strong> to close the dialog box.</span></li></ol> </p></li><li id="obs_03_0022__l69c01107d6fe48fe9cefcc9f6a140144"><span>Click <strong id="obs_03_0022__b117037197110197">OK</strong>.</span></li><li id="obs_03_0022__li944717573486"><span>In the displayed dialog box, click <strong id="obs_03_0022__b19371431195919">Close</strong> to close the dialog box.</span></li></ol>
</div> </div>
</div> </div>

View File

@ -1,15 +1,15 @@
<a name="obs_03_0024"></a><a name="obs_03_0024"></a> <a name="obs_03_0024"></a><a name="obs_03_0024"></a>
<h1 class="topictitle1">Uploading a File or Folder</h1> <h1 class="topictitle1">Uploading a File or Folder</h1>
<div id="body1524538563904"><div class="section" id="obs_03_0024__section23521139144218"><h4 class="sectiontitle">Background Information</h4><ul id="obs_03_0024__ul118872435514"><li id="obs_03_0024__li137532818555">Files are uploaded in multiparts on OBS Browser. OBS Browser supports the upload of a single file with the maximum size of 48.8 TB.</li><li id="obs_03_0024__li18889164195519">OBS Browser supports resumable transfer. If the upload task is suspended or fails, restart the task. According to the part information recorded in the task, the successfully uploaded parts will not be uploaded again, and other parts will be requested for uploading.</li><li id="obs_03_0024__li167391276399">If you want to classify files, you can create folders and upload files to the folders. The procedure is as follows:<ol id="obs_03_0024__ol2048618017177"><li id="obs_03_0024__l78840f3b88104a83a8b9eb5e8cbbf24d">Log in to OBS Browser.</li><li id="obs_03_0024__l52b1572c5fb340d58a35e18acc313983">Click the bucket in which you want to create a folder. Click <strong id="obs_03_0024__b118626675015252">Create Folder</strong>.</li><li id="obs_03_0024__l4b38616824b549f5ad2dccd4957c46bd">In the dialog box that is displayed, enter a folder name and click <strong id="obs_03_0024__b552761539152523">OK</strong>.</li><li id="obs_03_0024__l438f09f0a31743e1a55e1fde03c165b7">In the displayed dialog box, click <strong id="obs_03_0024__b62721824203216">OK</strong> to close the dialog box.</li></ol> <div id="body1524538563904"><div class="section" id="obs_03_0024__section23521139144218"><h4 class="sectiontitle">Background Information</h4><ul id="obs_03_0024__ul118872435514"><li id="obs_03_0024__li137532818555">Files are uploaded in multiparts on OBS Browser. OBS Browser supports the upload of a single file with the maximum size of 48.8 TB.</li><li id="obs_03_0024__li18889164195519">OBS Browser supports resumable transfer. If the upload task is suspended or fails, restart the task. According to the part information recorded in the task, the successfully uploaded parts will not be uploaded again, and other parts will be requested for uploading.</li><li id="obs_03_0024__li167391276399">If you want to classify files, you can create folders and upload files to different folders. The procedure is as follows:<ol id="obs_03_0024__ol2048618017177"><li id="obs_03_0024__l78840f3b88104a83a8b9eb5e8cbbf24d">Log in to OBS Browser.</li><li id="obs_03_0024__l52b1572c5fb340d58a35e18acc313983">Click the bucket in which you want to create a folder. Click <strong id="obs_03_0024__b118626675015252">Create Folder</strong>.</li><li id="obs_03_0024__l4b38616824b549f5ad2dccd4957c46bd">In the dialog box that is displayed, enter a folder name and click <strong id="obs_03_0024__b552761539152523">OK</strong>.</li><li id="obs_03_0024__l438f09f0a31743e1a55e1fde03c165b7">In the displayed dialog box, click <strong id="obs_03_0024__b62721824203216">OK</strong> to close the dialog box.</li></ol>
</li></ul> </li></ul>
</div> </div>
<div class="section" id="obs_03_0024__section986174914385"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0024__ol121691624398"><li id="obs_03_0024__li17941716113913"><span>Log in to OBS Browser.</span></li><li id="obs_03_0024__li1979413164397"><span>Click the bucket to which the file or folder will be uploaded.</span></li><li id="obs_03_0024__li11355155815398"><span>Click <strong id="obs_03_0024__b156161515316">Upload</strong>. The <strong id="obs_03_0024__b1267941813538">Upload Object</strong> dialog box is displayed. For details, see <a href="#obs_03_0024__fig1511502439">Figure 1</a>.</span><p><p id="obs_03_0024__p1822519516464">You can select either files or folders to upload. For details, see <a href="#obs_03_0024__li1356818523426">4</a> and <a href="#obs_03_0024__li018223074620">5</a>.</p> <div class="section" id="obs_03_0024__section986174914385"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0024__ol121691624398"><li id="obs_03_0024__li17941716113913"><span>Log in to OBS Browser.</span></li><li id="obs_03_0024__li1979413164397"><span>Click the bucket to which the file or folder will be uploaded.</span></li><li id="obs_03_0024__li11355155815398"><span>Click <strong id="obs_03_0024__b156161515316">Upload</strong>. The <strong id="obs_03_0024__b1267941813538">Upload Object</strong> dialog box is displayed. For details, see <a href="#obs_03_0024__fig1511502439">Figure 1</a>.</span><p><p id="obs_03_0024__p1822519516464">You can select either files or folders to upload. For details, see <a href="#obs_03_0024__li1356818523426">4</a> and <a href="#obs_03_0024__li018223074620">5</a>.</p>
<div class="fignone" id="obs_03_0024__fig1511502439"><a name="obs_03_0024__fig1511502439"></a><a name="fig1511502439"></a><span class="figcap"><b>Figure 1 </b>Uploading objects</span><br><span><img id="obs_03_0024__image1585285019506" src="en-us_image_0150044268.png" title="Click to enlarge" class="imgResize"></span></div> <div class="fignone" id="obs_03_0024__fig1511502439"><a name="obs_03_0024__fig1511502439"></a><a name="fig1511502439"></a><span class="figcap"><b>Figure 1 </b>Uploading objects</span><br><span><img id="obs_03_0024__image1585285019506" src="en-us_image_0150044268.png" title="Click to enlarge" class="imgResize"></span></div>
</p></li><li id="obs_03_0024__li1356818523426"><a name="obs_03_0024__li1356818523426"></a><a name="li1356818523426"></a><span>Click <strong id="obs_03_0024__b2029918566382">Select File</strong>. The local file browser dialog box is displayed. Select the file that you want to upload and click <strong id="obs_03_0024__b1828579988">Open</strong>.</span><p><p id="obs_03_0024__p113641020104919">You can upload a maximum of 500 files or folders at a time.</p> </p></li><li id="obs_03_0024__li1356818523426"><a name="obs_03_0024__li1356818523426"></a><a name="li1356818523426"></a><span>Click <strong id="obs_03_0024__b2029918566382">Select File</strong>. The local file browser dialog box is displayed. Select the file that you want to upload and click <strong id="obs_03_0024__b47347494">Open</strong>.</span><p><p id="obs_03_0024__p113641020104919">You can upload a maximum of 500 files or folders at a time.</p>
<div class="note" id="obs_03_0024__note1471316298112"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0024__obs_03_0307_p14504161520198">If the files that you want to upload to OBS are stored in Microsoft OneDrive, it is recommended that the names of these files contain a maximum of 32 characters to ensure compatibility.</p> <div class="note" id="obs_03_0024__note1471316298112"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0024__obs_03_0307_p14504161520198">If the files that you want to upload to OBS are stored in Microsoft OneDrive, it is recommended that the names of these files contain a maximum of 32 characters to ensure compatibility.</p>
</div></div> </div></div>
</p></li><li id="obs_03_0024__li018223074620"><a name="obs_03_0024__li018223074620"></a><a name="li018223074620"></a><span>Click <strong id="obs_03_0024__b510082520398">Select Folder</strong>, select a folder, and click <strong id="obs_03_0024__b20241163217391">OK</strong>.</span></li><li id="obs_03_0024__li1183611317537"><span>Select a storage class. If no storage class is selected, the object inherits the bucket storage class by default.</span></li><li id="obs_03_0024__li797732565116"><span>Click <strong id="obs_03_0024__b15904113325617">OK</strong> to upload the file or folder.</span></li></ol> </p></li><li id="obs_03_0024__li018223074620"><a name="obs_03_0024__li018223074620"></a><a name="li018223074620"></a><span>Click <strong id="obs_03_0024__b510082520398">Select Folder</strong>, select a folder, and click <strong id="obs_03_0024__b20241163217391">OK</strong>.</span></li><li id="obs_03_0024__li1183611317537"><span>Select a storage class. If you do not specify a storage class, the objects you upload inherit the default storage class of the bucket.</span></li><li id="obs_03_0024__li797732565116"><span>Click <strong id="obs_03_0024__b15904113325617">OK</strong> to upload the file or folder.</span></li></ol>
</div> </div>
</div> </div>
<div> <div>

View File

@ -1,7 +1,7 @@
<a name="obs_03_0026"></a><a name="obs_03_0026"></a> <a name="obs_03_0026"></a><a name="obs_03_0026"></a>
<h1 class="topictitle1">Deleting a File or Folder</h1> <h1 class="topictitle1">Deleting a File or Folder</h1>
<div id="body1524538563904"><p id="obs_03_0026__p13087172500">Deleting a folder will delete all files in the folder. Ensure that all files in a folder are not needed before deleting the folder.</p> <div id="body1524538563904"><p id="obs_03_0026__p13087172500">Deleting a folder will also delete the files in it. Ensure that all files in a folder are not needed before deleting the folder.</p>
<div class="section" id="obs_03_0026__section1147974914442"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0026__en-us_topic_0045853551_o54f85bdc86e64efead438b622a7d95a0"><li id="obs_03_0026__en-us_topic_0045853551_l21d93a6f38c748cebda8136860da7d75"><span>Log in to OBS Browser.</span></li><li id="obs_03_0026__en-us_topic_0045853551_l9eff51f78d6e46e78fd4beb8eafca56d"><span>Select the object that you want to delete and choose <strong id="obs_03_0026__en-us_topic_0045853551_b34851834183015">More</strong> &gt; <strong id="obs_03_0026__en-us_topic_0045853551_b133032371303">Delete</strong> on the right.</span><p><p id="obs_03_0026__en-us_topic_0045853551_afa562a4711a14a99a7f7d43005924117">OBS Browser supports batch deletion. You can select multiple files or folders and click <strong id="obs_03_0026__en-us_topic_0045853551_b14791125745820">Delete</strong> above the list to delete them in batches.</p> <div class="section" id="obs_03_0026__section1147974914442"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0026__en-us_topic_0045853551_o54f85bdc86e64efead438b622a7d95a0"><li id="obs_03_0026__en-us_topic_0045853551_l21d93a6f38c748cebda8136860da7d75"><span>Log in to OBS Browser.</span></li><li id="obs_03_0026__en-us_topic_0045853551_l9eff51f78d6e46e78fd4beb8eafca56d"><span>Select the object that you want to delete and choose <strong id="obs_03_0026__en-us_topic_0045853551_b34851834183015">More</strong> &gt; <strong id="obs_03_0026__en-us_topic_0045853551_b133032371303">Delete</strong> on the right.</span><p><p id="obs_03_0026__en-us_topic_0045853551_afa562a4711a14a99a7f7d43005924117">OBS Browser supports batch deletion. You can select multiple files or folders and click <strong id="obs_03_0026__en-us_topic_0045853551_b14791125745820">Delete</strong> above the list to delete them in batches.</p>
</p></li><li id="obs_03_0026__en-us_topic_0045853551_lc607601fda4e4f9cad602fa493e7b518"><span>In the displayed dialog box, click <strong id="obs_03_0026__en-us_topic_0045853551_b142752461210">Yes</strong>.</span></li></ol> </p></li><li id="obs_03_0026__en-us_topic_0045853551_lc607601fda4e4f9cad602fa493e7b518"><span>In the displayed dialog box, click <strong id="obs_03_0026__en-us_topic_0045853551_b142752461210">Yes</strong>.</span></li></ol>
</div> </div>

View File

@ -5,7 +5,7 @@
<p id="obs_03_0031__p1268192674512">Assume that you have a domain name <strong id="obs_03_0031__b3866548183611">www.example.com</strong> and you upload an image <strong id="obs_03_0031__b1550171510379">image.png</strong> to an OBS bucket. As long as you bind <strong id="obs_03_0031__b19316255153714">www.example.com</strong> to the bucket, you can use <strong id="obs_03_0031__b13967193216388">http://www.example.com/image.png</strong> to access <strong id="obs_03_0031__b6741171917387">image.png</strong>. The steps below describe the configurations:</p> <p id="obs_03_0031__p1268192674512">Assume that you have a domain name <strong id="obs_03_0031__b3866548183611">www.example.com</strong> and you upload an image <strong id="obs_03_0031__b1550171510379">image.png</strong> to an OBS bucket. As long as you bind <strong id="obs_03_0031__b19316255153714">www.example.com</strong> to the bucket, you can use <strong id="obs_03_0031__b13967193216388">http://www.example.com/image.png</strong> to access <strong id="obs_03_0031__b6741171917387">image.png</strong>. The steps below describe the configurations:</p>
<ol id="obs_03_0031__ol19681926114513"><li id="obs_03_0031__li36811261454">Create a bucket on OBS and upload file <strong id="obs_03_0031__b19875581437">image.png</strong> to the bucket.</li><li id="obs_03_0031__li86812026134511">On OBS Console, bind <strong id="obs_03_0031__b573119188431">www.example.com</strong> to the created bucket.</li><li id="obs_03_0031__li20681126144511">On the DNS server, add a CNAME record and map <strong id="obs_03_0031__b1866544108151256">www.example.com</strong> to the domain name of the bucket.</li><li id="obs_03_0031__li15870194016401">Send a request for image <strong id="obs_03_0031__b17648549125016">image.png</strong>. After the request for <strong id="obs_03_0031__b1769811184014">http://www.example.com/image.png</strong> reaches OBS, OBS finds the mapping between the <strong id="obs_03_0031__b126994124012">www.example.com</strong> and the bucket's domain name, and redirects the request to the <strong id="obs_03_0031__b870011114019">image.png</strong> file stored in the bucket. This way, a request for <strong id="obs_03_0031__b5565194016405">http://www.example.com/image.png</strong> actually accesses <strong id="obs_03_0031__b1357310406403">http://</strong><em id="obs_03_0031__i75741540134010">Bucket domain name</em><strong id="obs_03_0031__b1557564064010">/image.png</strong>.</li></ol> <ol id="obs_03_0031__ol19681926114513"><li id="obs_03_0031__li36811261454">Create a bucket on OBS and upload file <strong id="obs_03_0031__b19875581437">image.png</strong> to the bucket.</li><li id="obs_03_0031__li86812026134511">On OBS Console, bind <strong id="obs_03_0031__b573119188431">www.example.com</strong> to the created bucket.</li><li id="obs_03_0031__li20681126144511">On the DNS server, add a CNAME record and map <strong id="obs_03_0031__b1866544108151256">www.example.com</strong> to the domain name of the bucket.</li><li id="obs_03_0031__li15870194016401">Send a request for image <strong id="obs_03_0031__b17648549125016">image.png</strong>. After the request for <strong id="obs_03_0031__b1769811184014">http://www.example.com/image.png</strong> reaches OBS, OBS finds the mapping between the <strong id="obs_03_0031__b126994124012">www.example.com</strong> and the bucket's domain name, and redirects the request to the <strong id="obs_03_0031__b870011114019">image.png</strong> file stored in the bucket. This way, a request for <strong id="obs_03_0031__b5565194016405">http://www.example.com/image.png</strong> actually accesses <strong id="obs_03_0031__b1357310406403">http://</strong><em id="obs_03_0031__i75741540134010">Bucket domain name</em><strong id="obs_03_0031__b1557564064010">/image.png</strong>.</li></ol>
</div> </div>
<div class="section" id="obs_03_0031__section1817425811574"><h4 class="sectiontitle">Limitations and Constraints</h4><ol id="obs_03_0031__ol731571145812"><li id="obs_03_0031__li83151511175819">Only buckets with version 3.0 or later support user-defined domain name configuration. The version number of a bucket is displayed in the <strong id="obs_03_0031__b0191171144610">Basic Information</strong> area.</li><li id="obs_03_0031__li7811214712">User-defined domain names currently allow requests over only HTTP, but not HTTPS.</li><li id="obs_03_0031__li1749152513012">A user-defined domain name can be bound to only one bucket.</li><li id="obs_03_0031__li5192942182414">The suffix of a user-defined domain name can contain 2 to 6 uppercase or lowercase letters.</li></ol> <div class="section" id="obs_03_0031__section1817425811574"><h4 class="sectiontitle">Constraints</h4><ol id="obs_03_0031__ol731571145812"><li id="obs_03_0031__li83151511175819">Only buckets whose version is 3.0 or later support the configuration of user-defined domain names. The version number of a bucket is displayed in the <strong id="obs_03_0031__b0191171144610">Basic Information</strong> area.</li><li id="obs_03_0031__li7811214712">User-defined domain names currently allow requests over HTTP, instead of HTTPS.</li><li id="obs_03_0031__li1749152513012">A user-defined domain name can be bound to only one bucket.</li><li id="obs_03_0031__li5192942182414">The suffix of a user-defined domain name can contain 2 to 6 uppercase or lowercase letters.</li></ol>
</div> </div>
</div> </div>
<div> <div>

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">Configuring User Permissions</h1> <h1 class="topictitle1">Configuring User Permissions</h1>
<div id="body8662426"><p id="obs_03_0035__obs_03_0304_p77331243113019">If your cloud service account does not need individual IAM users, then you may skip this section. Your permissions to use OBS functions are not affected.</p> <div id="body8662426"><p id="obs_03_0035__obs_03_0304_p77331243113019">If your cloud service account does not need individual IAM users, then you may skip this section. Your permissions to use OBS functions are not affected.</p>
<p id="obs_03_0035__obs_03_0304_p783465223215">If IAM users are required, you need to grant them access permissions for OBS, because OBS is separately deployed from other cloud resources.</p> <p id="obs_03_0035__obs_03_0304_p783465223215">OBS is separately deployed from other cloud resources. If IAM users are required, you need to grant them access permissions for OBS.</p>
<div class="section" id="obs_03_0035__obs_03_0304_section12521716448"><h4 class="sectiontitle">Process</h4><div class="fignone" id="obs_03_0035__obs_03_0304_obs_03_0122_fig292324264713"><span class="figcap"><b>Figure 1 </b>Process of granting an IAM user the OBS permissions</span><br><span><img id="obs_03_0035__obs_03_0304_obs_03_0122_image12924124212474" src="en-us_image_0170301902.png"></span></div> <div class="section" id="obs_03_0035__obs_03_0304_section12521716448"><h4 class="sectiontitle">Process</h4><div class="fignone" id="obs_03_0035__obs_03_0304_obs_03_0122_fig292324264713"><span class="figcap"><b>Figure 1 </b>Process of granting an IAM user the OBS permissions</span><br><span><img id="obs_03_0035__obs_03_0304_obs_03_0122_image12924124212474" src="en-us_image_0170301902.png"></span></div>
</div> </div>
<div class="section" id="obs_03_0035__obs_03_0304_section1056019017457"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0035__obs_03_0304_obs_03_0122_ol63831030102"><li id="obs_03_0035__obs_03_0304_obs_03_0122_li35354147174321"><span>Log in to the management console with your account.</span></li><li id="obs_03_0035__obs_03_0304_obs_03_0122_li5853192561010"><span>On the top menu bar, choose <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b149371518121613">Service List</strong> &gt; <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b29379189163">Management &amp; Deployment</strong> &gt; <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b1293761819168">Identity and Access Management</strong>. The IAM console is displayed.</span></li><li id="obs_03_0035__obs_03_0304_obs_03_0122_li257313485116"><span>Create a user group and assign OBS permissions to it.</span><p><div class="p" id="obs_03_0035__obs_03_0304_obs_03_0122_p371751915195">A user group is a collection of users. By assigning permissions to a user group, you assign permissions to the users in this group. After you create an IAM user, add it to one or more user groups, so that it can inherit the permissions from the groups.<ol type="a" id="obs_03_0035__obs_03_0304_obs_03_0122_ol28671118201912"><li id="obs_03_0035__obs_03_0304_obs_03_0122_li78661718151913">In the navigation pane, choose <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b0624202611174">User Groups</strong>. The <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b8624112618178">User Groups</strong> page is displayed.</li><li id="obs_03_0035__obs_03_0304_obs_03_0122_li286617189195">Click <span class="uicontrol" id="obs_03_0035__obs_03_0304_obs_03_0122_uicontrol230942777211457"><b>Create User Group</b></span>.</li><li id="obs_03_0035__obs_03_0304_obs_03_0122_li1886641801917">Enter a user group name and click <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b779483571714">OK</strong>.<p id="obs_03_0035__obs_03_0304_obs_03_0122_p3866171841910">The user group is displayed in the user group list once the creation is complete.</p> <div class="section" id="obs_03_0035__obs_03_0304_section1056019017457"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0035__obs_03_0304_obs_03_0122_ol63831030102"><li id="obs_03_0035__obs_03_0304_obs_03_0122_li35354147174321"><span>Log in to the management console with your account.</span></li><li id="obs_03_0035__obs_03_0304_obs_03_0122_li5853192561010"><span>On the top menu bar, choose <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b149371518121613">Service List</strong> &gt; <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b29379189163">Management &amp; Deployment</strong> &gt; <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b1293761819168">Identity and Access Management</strong>. The IAM console is displayed.</span></li><li id="obs_03_0035__obs_03_0304_obs_03_0122_li257313485116"><span>Create a user group and assign OBS permissions to it.</span><p><div class="p" id="obs_03_0035__obs_03_0304_obs_03_0122_p371751915195">A user group is a collection of users. By assigning permissions to a user group, you assign permissions to the users in this group. After you create an IAM user, add it to one or more user groups, so that it can inherit the permissions from the groups.<ol type="a" id="obs_03_0035__obs_03_0304_obs_03_0122_ol28671118201912"><li id="obs_03_0035__obs_03_0304_obs_03_0122_li78661718151913">In the navigation pane, choose <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b0624202611174">User Groups</strong>. The <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b8624112618178">User Groups</strong> page is displayed.</li><li id="obs_03_0035__obs_03_0304_obs_03_0122_li286617189195">Click <span class="uicontrol" id="obs_03_0035__obs_03_0304_obs_03_0122_uicontrol230942777211457"><b>Create User Group</b></span>.</li><li id="obs_03_0035__obs_03_0304_obs_03_0122_li1886641801917">Enter a user group name and click <strong id="obs_03_0035__obs_03_0304_obs_03_0122_b779483571714">OK</strong>.<p id="obs_03_0035__obs_03_0304_obs_03_0122_p3866171841910">The user group is displayed in the user group list once the creation is complete.</p>

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">Creating an IAM Agency</h1> <h1 class="topictitle1">Creating an IAM Agency</h1>
<div id="body1530063787773"><p id="obs_03_0037__p73929984212">To use some OBS features, you need to use IAM agencies to grant required permissions to OBS for processing your data.</p> <div id="body1530063787773"><p id="obs_03_0037__p73929984212">To use some OBS features, you need to use IAM agencies to grant required permissions to OBS for processing your data.</p>
<div class="section" id="obs_03_0037__section3206135419349"><h4 class="sectiontitle">Creating an Agency for Cross-Region Replication</h4><ol id="obs_03_0037__ol5996339393"><li id="obs_03_0037__li79915335394"><span>In the <strong id="obs_03_0037__b97842535191">Create Cross-Region Replication Rule</strong> dialog box on OBS Console, click <strong id="obs_03_0037__b187969242185">Create IAM agencies</strong> to jump to the <strong id="obs_03_0037__b978975301917">Agencies</strong> page on the IAM console.</span></li><li id="obs_03_0037__li8991133123911"><span>Click <strong id="obs_03_0037__b186681916102018">Create Agency</strong>.</span></li><li id="obs_03_0037__li39953320399"><span>Enter an agency name.</span></li><li id="obs_03_0037__li69919331395"><span>Select <strong id="obs_03_0037__b5312917209">Cloud service</strong> for the <strong id="obs_03_0037__b193299207">Agency Type</strong>.</span></li><li id="obs_03_0037__li799113303916"><span>Select <strong id="obs_03_0037__b1667833713216">Object Storage Service (OBS)</strong> for <strong id="obs_03_0037__b13425519487">Cloud Service</strong>.</span></li><li id="obs_03_0037__li1499163316396"><span>Set a validity period.</span></li><li id="obs_03_0037__li19992332393"><span>In the <strong id="obs_03_0037__b115781718193914">Permissions</strong> area, select <strong id="obs_03_0037__b678817914419">Project View</strong>, locate <strong id="obs_03_0037__b14624142344120">Global service [Global]</strong>, and click <strong id="obs_03_0037__b194037253012">Modify Permissions</strong> in the <strong id="obs_03_0037__b114604341101">Operation</strong> column. The <strong id="obs_03_0037__b149276481508">Modify Permissions</strong> window is displayed.</span></li><li id="obs_03_0037__li1345055963015"><span>Click <strong id="obs_03_0037__b718063013313">Select Policy/Role</strong> in the <strong id="obs_03_0037__b185251022132513">Operation</strong> column of the row where <strong id="obs_03_0037__b09851216336">Global service [Global]</strong> is displayed. Search for <strong id="obs_03_0037__b12814123694512">Tenant Administrator</strong> and check the box next to it, and click <strong id="obs_03_0037__b981412365458">OK</strong>.</span></li><li id="obs_03_0037__li799173320395"><span>(Optional) If <strong id="obs_03_0037__b983321773610">Replicate KMS encrypted objects</strong> is selected when configuring the cross-region replication rule, the <strong id="obs_03_0037__b92132331367">KMS Administrator</strong> policy set must be configured in the regions where the source bucket and destination bucket are located.</span><p><ol type="a" id="obs_03_0037__ol10993338392"><li id="obs_03_0037__li79903311394">Click <strong id="obs_03_0037__b723135193019">Modify Permissions</strong> in the row of the region where the source/destination bucket resides. The <strong id="obs_03_0037__b934841623711">Modify Permissions</strong> dialog box is displayed.</li><li id="obs_03_0037__li18761184484018">Click <strong id="obs_03_0037__b10772132743413">Select Policy/Role</strong> in the row of the region where the source/destination bucket resides. The <strong id="obs_03_0037__b2448195713340">Select Policy/Role</strong> dialog box is displayed.</li><li id="obs_03_0037__li1799173393917">Search for <strong id="obs_03_0037__b13480727191618">KMS</strong> and check the box next to the <strong id="obs_03_0037__b1372953619167">KMS Administrator</strong> policy set.</li><li id="obs_03_0037__li2999337394">Click <strong id="obs_03_0037__b2134736173818">OK</strong>.</li></ol> <div class="section" id="obs_03_0037__section3206135419349"><h4 class="sectiontitle">Creating an Agency for Cross-Region Replication</h4><ol id="obs_03_0037__ol5996339393"><li id="obs_03_0037__li79915335394"><span>In the <strong id="obs_03_0037__b97842535191">Create Cross-Region Replication Rule</strong> dialog box on OBS Console, click <strong id="obs_03_0037__b187969242185">Create IAM agencies</strong> to jump to the <strong id="obs_03_0037__b978975301917">Agencies</strong> page on the IAM console.</span></li><li id="obs_03_0037__li8991133123911"><span>Click <strong id="obs_03_0037__b186681916102018">Create Agency</strong>.</span></li><li id="obs_03_0037__li39953320399"><span>Enter an agency name.</span></li><li id="obs_03_0037__li69919331395"><span>Select <strong id="obs_03_0037__b5312917209">Cloud service</strong> for the <strong id="obs_03_0037__b193299207">Agency Type</strong>.</span></li><li id="obs_03_0037__li799113303916"><span>Select <strong id="obs_03_0037__b1667833713216">Object Storage Service (OBS)</strong> for <strong id="obs_03_0037__b13425519487">Cloud Service</strong>.</span></li><li id="obs_03_0037__li1499163316396"><span>Select a validity period.</span></li><li id="obs_03_0037__li19992332393"><span>In the <strong id="obs_03_0037__b115781718193914">Permissions</strong> area, select <strong id="obs_03_0037__b678817914419">Project View</strong>, locate <strong id="obs_03_0037__b14624142344120">Global service [Global]</strong>, and click <strong id="obs_03_0037__b194037253012">Modify Permissions</strong> in the <strong id="obs_03_0037__b114604341101">Operation</strong> column. The <strong id="obs_03_0037__b149276481508">Modify Permissions</strong> window is displayed.</span></li><li id="obs_03_0037__li1345055963015"><span>Click <strong id="obs_03_0037__b718063013313">Select Policy/Role</strong> in the <strong id="obs_03_0037__b185251022132513">Operation</strong> column of the row where <strong id="obs_03_0037__b09851216336">Global service [Global]</strong> is displayed. Search for <strong id="obs_03_0037__b12814123694512">Tenant Administrator</strong> and check the box next to it, and click <strong id="obs_03_0037__b981412365458">OK</strong>.</span></li><li id="obs_03_0037__li799173320395"><span>(Optional) If <strong id="obs_03_0037__b983321773610">Replicate KMS encrypted objects</strong> is selected when configuring the cross-region replication rule, the <strong id="obs_03_0037__b92132331367">KMS Administrator</strong> policy set must be configured in the regions where the source bucket and destination bucket are located.</span><p><ol type="a" id="obs_03_0037__ol10993338392"><li id="obs_03_0037__li79903311394">Click <strong id="obs_03_0037__b723135193019">Modify Permissions</strong> in the row of the region where the source/destination bucket resides. The <strong id="obs_03_0037__b934841623711">Modify Permissions</strong> dialog box is displayed.</li><li id="obs_03_0037__li18761184484018">Click <strong id="obs_03_0037__b10772132743413">Select Policy/Role</strong> in the row of the region where the source/destination bucket resides. The <strong id="obs_03_0037__b2448195713340">Select Policy/Role</strong> dialog box is displayed.</li><li id="obs_03_0037__li1799173393917">Search for <strong id="obs_03_0037__b13480727191618">KMS</strong> and check the box next to the <strong id="obs_03_0037__b1372953619167">KMS Administrator</strong> policy set.</li><li id="obs_03_0037__li2999337394">Click <strong id="obs_03_0037__b2134736173818">OK</strong>.</li></ol>
</p></li><li id="obs_03_0037__li3537171744411"><span>Click <strong id="obs_03_0037__b12842154895015">OK</strong> to complete the agency creation. </span></li></ol> </p></li><li id="obs_03_0037__li3537171744411"><span>Click <strong id="obs_03_0037__b12842154895015">OK</strong> to complete the agency creation. </span></li></ol>
</div> </div>
</div> </div>

View File

@ -1,6 +1,6 @@
<a name="obs_03_0038"></a><a name="obs_03_0038"></a> <a name="obs_03_0038"></a><a name="obs_03_0038"></a>
<h1 class="topictitle1">How Do I Use Tags?</h1> <h1 class="topictitle1">Tags</h1>
<div id="body1530263600875"></div> <div id="body1530263600875"></div>
<div> <div>
<ul class="ullinks"> <ul class="ullinks">

View File

@ -5,7 +5,7 @@
</div> </div>
<div> <div>
<div class="familylinks"> <div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0038.html">How Do I Use Tags?</a></div> <div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0038.html">Tags</a></div>
</div> </div>
</div> </div>

View File

@ -5,7 +5,7 @@
</div> </div>
<div> <div>
<div class="familylinks"> <div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0038.html">How Do I Use Tags?</a></div> <div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0038.html">Tags</a></div>
</div> </div>
</div> </div>

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
<p id="obs_03_0046__p936175214325">The temporary authentication information contains the <strong id="obs_03_0046__b191581710133314">AccessKeyId</strong>, <strong id="obs_03_0046__b11743171313331">Expires</strong>, <strong id="obs_03_0046__b1536761914331">x-obs-security-token</strong>, and <strong id="obs_03_0046__b139019248332">Signature</strong> parameters. <strong id="obs_03_0046__b17853173373317">AccessKeyId</strong>, <strong id="obs_03_0046__b3580542183317">x-obs-security-token</strong>, and <strong id="obs_03_0046__b910504711334">Signature</strong> are used for authentication. The <strong id="obs_03_0046__b275917572338">Expires</strong> parameter specifies the validity period of the authentication. </p> <p id="obs_03_0046__p936175214325">The temporary authentication information contains the <strong id="obs_03_0046__b191581710133314">AccessKeyId</strong>, <strong id="obs_03_0046__b11743171313331">Expires</strong>, <strong id="obs_03_0046__b1536761914331">x-obs-security-token</strong>, and <strong id="obs_03_0046__b139019248332">Signature</strong> parameters. <strong id="obs_03_0046__b17853173373317">AccessKeyId</strong>, <strong id="obs_03_0046__b3580542183317">x-obs-security-token</strong>, and <strong id="obs_03_0046__b910504711334">Signature</strong> are used for authentication. The <strong id="obs_03_0046__b275917572338">Expires</strong> parameter specifies the validity period of the authentication. </p>
<p id="obs_03_0046__p6131231352">After an object is shared on OBS Console, the system will generate a URL that contains the temporary authentication information, valid for five minutes since its generation by default. Each time you change the validity period of a URL, OBS obtains the authentication information again to generate a new URL for sharing, which takes effect since the time when the validity period is changed.</p> <p id="obs_03_0046__p6131231352">After an object is shared on OBS Console, the system will generate a URL that contains the temporary authentication information, valid for five minutes since its generation by default. Each time you change the validity period of a URL, OBS obtains the authentication information again to generate a new URL for sharing, which takes effect since the time when the validity period is changed.</p>
</div> </div>
<div class="section" id="obs_03_0046__section1524379204718"><h4 class="sectiontitle">Limitations and Constraints</h4><ul id="obs_03_0046__ul1476864319553"><li id="obs_03_0046__li19768743155510">An object shared from OBS Console can be valid for one minute to 18 hours. If you need a longer validity period, use OBS Browser+ that allows a validity period from one minute to 30 days. Or, you can configure a <a href="en-us_topic_0045853745.html">bucket policy or object policy</a> to grant other users access to the object permanently.</li><li id="obs_03_0046__li176586246567">Only buckets of version 3.0 support object sharing. You can view the bucket version in the <strong id="obs_03_0046__b137583459531">Basic Information</strong> area on the <strong id="obs_03_0046__b14463156155413">Overview</strong> page of a bucket.</li><li id="obs_03_0046__li15991193655713">Encrypted objects cannot be shared.</li><li id="obs_03_0046__li31603935010">To share a cold object, restore it first.</li></ul> <div class="section" id="obs_03_0046__section1524379204718"><h4 class="sectiontitle">Constraints</h4><ul id="obs_03_0046__ul1476864319553"><li id="obs_03_0046__li19768743155510">An object shared from OBS Console can be valid for one minute to 18 hours. If you need a longer validity period, use OBS Browser+ that allows a validity period from one minute to 30 days. If you want a shared object to be permanently valid, you can configure a <a href="en-us_topic_0045853745.html">bucket policy or object policy</a>.</li><li id="obs_03_0046__li176586246567">Only version 3.0 buckets support file sharing. You can view the bucket version in the <strong id="obs_03_0046__b137583459531">Basic Information</strong> area on the <strong id="obs_03_0046__b14463156155413">Overview</strong> page of a bucket.</li><li id="obs_03_0046__li15991193655713">Encrypted objects cannot be shared.</li><li id="obs_03_0046__li31603935010">To share a cold object, restore it first.</li></ul>
</div> </div>
<div class="section" id="obs_03_0046__section2745155111154"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0046__ol165136117163"><li id="obs_03_0046__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="obs_03_0046__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="obs_03_0046__li1733753692411"><span>In the navigation pane, choose <strong id="obs_03_0046__obs_03_0307_b51941856151917">Objects</strong>.</span></li><li id="obs_03_0046__en-us_topic_0066036523_li55598663"><span>Locate the file to be shared and click <strong id="obs_03_0046__b71183914283">Share</strong> in the <strong id="obs_03_0046__b4398656122919">Operation</strong> column.</span><p><p id="obs_03_0046__p654141612312">Once the <strong id="obs_03_0046__b17315125693317">Share File</strong> dialog box is opened, the URL is effective and valid for five minutes by default. If you change the validity period, the authentication information in the URL changes accordingly, and the URL's new validity period starts upon the change.</p> <div class="section" id="obs_03_0046__section2745155111154"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0046__ol165136117163"><li id="obs_03_0046__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="obs_03_0046__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="obs_03_0046__li1733753692411"><span>In the navigation pane, choose <strong id="obs_03_0046__obs_03_0307_b51941856151917">Objects</strong>.</span></li><li id="obs_03_0046__en-us_topic_0066036523_li55598663"><span>Locate the file to be shared and click <strong id="obs_03_0046__b71183914283">Share</strong> in the <strong id="obs_03_0046__b4398656122919">Operation</strong> column.</span><p><p id="obs_03_0046__p654141612312">Once the <strong id="obs_03_0046__b17315125693317">Share File</strong> dialog box is opened, the URL is effective and valid for five minutes by default. If you change the validity period, the authentication information in the URL changes accordingly, and the URL's new validity period starts upon the change.</p>
<div class="fignone" id="obs_03_0046__fig125731684458"><span class="figcap"><b>Figure 1 </b>Sharing a file</span><br><span><img id="obs_03_0046__image6573188144512" src="en-us_image_0000001523534634.png" title="Click to enlarge" class="imgResize"></span></div> <div class="fignone" id="obs_03_0046__fig125731684458"><span class="figcap"><b>Figure 1 </b>Sharing a file</span><br><span><img id="obs_03_0046__image6573188144512" src="en-us_image_0000001523534634.png" title="Click to enlarge" class="imgResize"></span></div>

View File

@ -4,9 +4,9 @@
<div id="body1557026128761"><p id="obs_03_0049__p28805261528">The principals indicate the users bucket policies apply to. These users can be accounts, federated users or federated user groups, and IAM users. Target users can be specified in either of the following ways:</p> <div id="body1557026128761"><p id="obs_03_0049__p28805261528">The principals indicate the users bucket policies apply to. These users can be accounts, federated users or federated user groups, and IAM users. Target users can be specified in either of the following ways:</p>
<ul id="obs_03_0049__ul108801826115212"><li id="obs_03_0049__li7880926165213"><strong id="obs_03_0049__b1043613214332">Include</strong>: The policy applies to specified users.</li><li id="obs_03_0049__li1488092635210"><strong id="obs_03_0049__b1890962511336">Exclude</strong>: The policy applies to users except the specified ones.</li></ul> <ul id="obs_03_0049__ul108801826115212"><li id="obs_03_0049__li7880926165213"><strong id="obs_03_0049__b1043613214332">Include</strong>: The policy applies to specified users.</li><li id="obs_03_0049__li1488092635210"><strong id="obs_03_0049__b1890962511336">Exclude</strong>: The policy applies to users except the specified ones.</li></ul>
<div class="section" id="obs_03_0049__section1896613422547"><h4 class="sectiontitle">Cloud Service User</h4><ul id="obs_03_0049__ul10202322105519"><li id="obs_03_0049__li20202822135510">IAM users in the current account<p id="obs_03_0049__p1350312548559"><a name="obs_03_0049__li20202822135510"></a><a name="li20202822135510"></a>With <strong id="obs_03_0049__b15586161432114">Principal</strong> set to <strong id="obs_03_0049__b195861514192116">Current account</strong>, you can select one or more IAM users under this account, so the bucket policy applies to the selected IAM users.</p> <div class="section" id="obs_03_0049__section1896613422547"><h4 class="sectiontitle">Cloud Service User</h4><ul id="obs_03_0049__ul10202322105519"><li id="obs_03_0049__li20202822135510">IAM users in the current account<p id="obs_03_0049__p1350312548559"><a name="obs_03_0049__li20202822135510"></a><a name="li20202822135510"></a>With <strong id="obs_03_0049__b15586161432114">Principal</strong> set to <strong id="obs_03_0049__b195861514192116">Current account</strong>, you can select one or more IAM users under this account, so the bucket policy applies to the selected IAM users.</p>
</li><li id="obs_03_0049__li697612394557">Other account<p id="obs_03_0049__p1584215477567"><a name="obs_03_0049__li697612394557"></a><a name="li697612394557"></a>When the <strong id="obs_03_0049__b12296181019114">Principal</strong> is set to <strong id="obs_03_0049__b629711061111">Other account</strong>, you can enter the ID of other accounts. If you want to apply the bucket policy to IAM users under that account, you need to enter the user IDs, and use commas (,) to separate one from another.</p> </li><li id="obs_03_0049__li697612394557">Other account<p id="obs_03_0049__p1584215477567"><a name="obs_03_0049__li697612394557"></a><a name="li697612394557"></a>When the <strong id="obs_03_0049__b12296181019114">Principal</strong> is set to <strong id="obs_03_0049__b629711061111">Other account</strong>, you can enter the ID of other accounts. If you want to grant access only to the IAM users under that account, you also need to enter one or more IAM user IDs. Multiple IDs should be separated with commas (,).</p>
<div class="note" id="obs_03_0049__note8951376579"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0049__p145818142578">An authorized user can go to the <strong id="obs_03_0049__b5232132317110">My Credential</strong> page to obtain the domain ID and user ID after login.</p> <div class="note" id="obs_03_0049__note8951376579"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0049__p145818142578">An authorized user can go to the <strong id="obs_03_0049__b5232132317110">My Credentials</strong> page to obtain the account ID and user ID after login as an IAM user.</p>
<p id="obs_03_0049__p118769434404">For <strong id="obs_03_0049__b5667118525">Account ID</strong>, enter the <strong id="obs_03_0049__b048315353525">Domain ID</strong> that can be found on the <strong id="obs_03_0049__b5867174917527">My Credential</strong> page.</p> <p id="obs_03_0049__p118769434404">The account ID is the <strong id="obs_03_0049__b048315353525">Domain ID</strong> that can be found on the <strong id="obs_03_0049__b5867174917527">My Credentials</strong> page.</p>
</div></div> </div></div>
</li><li id="obs_03_0049__li10921011195615">Anyone (anonymous users)<p id="obs_03_0049__p17789143015711"><a name="obs_03_0049__li10921011195615"></a><a name="li10921011195615"></a>To grant the bucket access permission to anyone, set the <strong id="obs_03_0049__b026918469112">Principal</strong> to <strong id="obs_03_0049__b327084641116">Other account</strong> and enter an asterisk (*) as the account ID.</p> </li><li id="obs_03_0049__li10921011195615">Anyone (anonymous users)<p id="obs_03_0049__p17789143015711"><a name="obs_03_0049__li10921011195615"></a><a name="li10921011195615"></a>To grant the bucket access permission to anyone, set the <strong id="obs_03_0049__b026918469112">Principal</strong> to <strong id="obs_03_0049__b327084641116">Other account</strong> and enter an asterisk (*) as the account ID.</p>
<div class="caution" id="obs_03_0049__note161581126115819"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="obs_03_0049__p1413394815576">Exercise caution when granting the bucket access permissions to anonymous users. If you grant the bucket access permission to anonymous users, anyone can access your bucket, and the traffic and storage fees generated will be borne by the bucket owner (cloud service account). You are advised to set restrictions on access requests. For example, you can allow the access requests from only one IP address.</p> <div class="caution" id="obs_03_0049__note161581126115819"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="obs_03_0049__p1413394815576">Exercise caution when granting the bucket access permissions to anonymous users. If you grant the bucket access permission to anonymous users, anyone can access your bucket, and the traffic and storage fees generated will be borne by the bucket owner (cloud service account). You are advised to set restrictions on access requests. For example, you can allow the access requests from only one IP address.</p>

View File

@ -109,7 +109,7 @@
</tr> </tr>
<tr id="obs_03_0051__row135744120554"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="obs_03_0051__p957184112553">PutBucketWebsite</p> <tr id="obs_03_0051__row135744120554"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="obs_03_0051__p957184112553">PutBucketWebsite</p>
</td> </td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="obs_03_0051__p1457154115555">Configures the static website hosting for the bucket.</p> <td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="obs_03_0051__p1457154115555">Configures static website hosting for a bucket.</p>
</td> </td>
</tr> </tr>
<tr id="obs_03_0051__row8571941185515"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="obs_03_0051__p757164111551">DeleteBucketWebsite</p> <tr id="obs_03_0051__row8571941185515"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="obs_03_0051__p757164111551">DeleteBucketWebsite</p>
@ -119,7 +119,7 @@
</tr> </tr>
<tr id="obs_03_0051__row165719411553"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="obs_03_0051__p1357104117554">GetLifecycleConfiguration</p> <tr id="obs_03_0051__row165719411553"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="obs_03_0051__p1357104117554">GetLifecycleConfiguration</p>
</td> </td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="obs_03_0051__p5581441145518">Obtains the lifecycle rules of the bucket.</p> <td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.2 "><p id="obs_03_0051__p5581441145518">Obtains the lifecycle rules of a bucket.</p>
</td> </td>
</tr> </tr>
<tr id="obs_03_0051__row658341115520"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="obs_03_0051__p1358124115511">PutLifecycleConfiguration</p> <tr id="obs_03_0051__row658341115520"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.2.4.1.1 "><p id="obs_03_0051__p1358124115511">PutLifecycleConfiguration</p>
@ -216,7 +216,7 @@
</tr> </tr>
<tr id="obs_03_0051__row11184192094020"><td class="cellrowborder" valign="top" headers="mcps1.3.5.2.2.4.1.1 "><p id="obs_03_0051__p10184720104018">AbortMultipartUpload</p> <tr id="obs_03_0051__row11184192094020"><td class="cellrowborder" valign="top" headers="mcps1.3.5.2.2.4.1.1 "><p id="obs_03_0051__p10184720104018">AbortMultipartUpload</p>
</td> </td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.2.4.1.2 "><p id="obs_03_0051__p16184192016401">Cancels a multipart upload task.</p> <td class="cellrowborder" valign="top" headers="mcps1.3.5.2.2.4.1.2 "><p id="obs_03_0051__p16184192016401">Aborts a multipart upload.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -103,7 +103,7 @@
</tr> </tr>
<tr id="obs_03_0054__row43021943182212"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_03_0054__p330224382211"><a href="obs_03_0350.html">Requester pays</a></p> <tr id="obs_03_0054__row43021943182212"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_03_0054__p330224382211"><a href="obs_03_0350.html">Requester pays</a></p>
</td> </td>
<td class="cellrowborder" valign="top" width="66%" headers="mcps1.3.2.2.3.1.2 "><p id="obs_03_0054__p13302144319223">Lets the requester pay for data transfer and API calls associated with accessing resources in the bucket and you (the bucket owner) pay for only data storage in the bucket.</p> <td class="cellrowborder" valign="top" width="66%" headers="mcps1.3.2.2.3.1.2 "><p id="obs_03_0054__p13302144319223">Lets the requester pay for the data transfer and requests and you (the bucket owner) only pay for the data storage.</p>
</td> </td>
</tr> </tr>
<tr id="obs_03_0054__row11297125911150"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_03_0054__p5297559171513"><a href="obs_03_0082.html">Bucket inventory</a></p> <tr id="obs_03_0054__row11297125911150"><td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_03_0054__p5297559171513"><a href="obs_03_0082.html">Bucket inventory</a></p>

View File

@ -6,7 +6,7 @@
</div> </div>
</li><li id="obs_03_0060__li9350175817">Use the operation button on the right of the row where the object is located to manage the object.<div class="p" id="obs_03_0060__p1664191612510"><a name="obs_03_0060__li9350175817"></a><a name="li9350175817"></a>Click the operation buttons in the row of the object to be managed. For details, see <a href="#obs_03_0060__fig24767716181032">Figure 2</a>.<div class="fignone" id="obs_03_0060__fig24767716181032"><a name="obs_03_0060__fig24767716181032"></a><a name="fig24767716181032"></a><span class="figcap"><b>Figure 2 </b>Second method of managing objects</span><br><span><img id="obs_03_0060__image1740492563" src="en-us_image_0130778160.png" title="Click to enlarge" class="imgResize"></span></div> </li><li id="obs_03_0060__li9350175817">Use the operation button on the right of the row where the object is located to manage the object.<div class="p" id="obs_03_0060__p1664191612510"><a name="obs_03_0060__li9350175817"></a><a name="li9350175817"></a>Click the operation buttons in the row of the object to be managed. For details, see <a href="#obs_03_0060__fig24767716181032">Figure 2</a>.<div class="fignone" id="obs_03_0060__fig24767716181032"><a name="obs_03_0060__fig24767716181032"></a><a name="fig24767716181032"></a><span class="figcap"><b>Figure 2 </b>Second method of managing objects</span><br><span><img id="obs_03_0060__image1740492563" src="en-us_image_0130778160.png" title="Click to enlarge" class="imgResize"></span></div>
</div> </div>
</li><li id="obs_03_0060__li951110247123">Use the shortcut menu to manage objects.<div class="p" id="obs_03_0060__p18666516175112"><a name="obs_03_0060__li951110247123"></a><a name="li951110247123"></a>Right-click the blank area in the row where the object to be managed resides. A shortcut menu is displayed for managing the object. For details, see <a href="#obs_03_0060__fig56131650141216">Figure 3</a>.<div class="fignone" id="obs_03_0060__fig56131650141216"><a name="obs_03_0060__fig56131650141216"></a><a name="fig56131650141216"></a><span class="figcap"><b>Figure 3 </b>Third method of managing objects</span><br><span><img id="obs_03_0060__image192882112183" src="en-us_image_0130778196.png"></span></div> </li><li id="obs_03_0060__li951110247123">Use the shortcut menu to manage objects.<div class="p" id="obs_03_0060__p18666516175112"><a name="obs_03_0060__li951110247123"></a><a name="li951110247123"></a>Right-click the blank area in the row that contains the object to be managed. A shortcut menu is displayed. For details, see <a href="#obs_03_0060__fig56131650141216">Figure 3</a>.<div class="fignone" id="obs_03_0060__fig56131650141216"><a name="obs_03_0060__fig56131650141216"></a><a name="fig56131650141216"></a><span class="figcap"><b>Figure 3 </b>Third method of managing objects</span><br><span><img id="obs_03_0060__image192882112183" src="en-us_image_0130778196.png"></span></div>
</div> </div>
</li></ol> </li></ol>
</div> </div>

View File

@ -16,8 +16,8 @@
</thead> </thead>
<tbody><tr id="obs_03_0062__row14236115815207"><td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.4.3.2.3.1.1 "><p id="obs_03_0062__p4237195812018">Owner</p> <tbody><tr id="obs_03_0062__row14236115815207"><td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.4.3.2.3.1.1 "><p id="obs_03_0062__p4237195812018">Owner</p>
</td> </td>
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.4.3.2.3.1.2 "><p id="obs_03_0062__p82371758102019">The owner of a bucket is the account that created the bucket. The bucket owner has all bucket access permissions by default. The read and write permissions to the bucket ACL are permanently available to the bucket owner, and cannot be modified.</p> <td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.4.3.2.3.1.2 "><p id="obs_03_0062__p82371758102019">The owner of a bucket is the account that created the bucket. The bucket owner has all bucket access permissions by default. The read and write permissions for the bucket ACL are permanently available to the bucket owner, and cannot be modified.</p>
<p id="obs_03_0062__p108801457143318">The owner of an object is the account that uploads the object, who may not be the owner of the bucket to which the object belongs. The object owner has the read access to the object, as well as the read and write permission to the object ACL, and such access permissions cannot be modified.</p> <p id="obs_03_0062__p108801457143318">The owner of an object is the account that uploads the object, who may not be the owner of the bucket to which the object belongs. The object owner has the read access to the object, as well as the read and write access to the object ACL, and such access permissions cannot be modified.</p>
<div class="notice" id="obs_03_0062__note16704211185110"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="obs_03_0062__p11704131114517">Do not modify the bucket owner's read and write access permissions for the bucket.</p> <div class="notice" id="obs_03_0062__note16704211185110"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="obs_03_0062__p11704131114517">Do not modify the bucket owner's read and write access permissions for the bucket.</p>
</div></div> </div></div>
</td> </td>
@ -39,7 +39,7 @@
</div></div> </div></div>
</td> </td>
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.4.3.2.3.1.2 "><p id="obs_03_0062__p11239175822012">A log delivery user only delivers access logs of buckets and objects to the specified target bucket. OBS does not create or upload any file to a bucket automatically. Therefore, if you want to record bucket access logs, you need to grant the permission to the log delivery user who will deliver the access logs to your specified target bucket. The user only delivers logs within the service scope of OBS.</p> <td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.4.3.2.3.1.2 "><p id="obs_03_0062__p11239175822012">A log delivery user only delivers access logs of buckets and objects to the specified target bucket. OBS does not create or upload any file to a bucket automatically. Therefore, if you want to record bucket access logs, you need to grant the permission to the log delivery user who will deliver the access logs to your specified target bucket. The user only delivers logs within the service scope of OBS.</p>
<div class="notice" id="obs_03_0062__note71171158122010"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="obs_03_0062__p7241158152013">After logging is enabled, the bucket write permission, as well as the ACL read permission for the target bucket will be enabled automatically for the log delivery user. If you manually disable such permissions, bucket logging fails.</p> <div class="notice" id="obs_03_0062__note71171158122010"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="obs_03_0062__p7241158152013">After logging is enabled, the bucket write permission, as well as the ACL read permission for the target bucket will be enabled automatically for the log delivery user. If you manually disable such permissions, bucket logging will fail.</p>
</div></div> </div></div>
</td> </td>
</tr> </tr>

Some files were not shown because too many files have changed in this diff Show More