Files
doc-exports/docs/modelarts/umn/modelarts_08_0003.html
Lai, Weijian 4e4b2d5f6d ModelArts UMN 23.3.0 Version.
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lai, Weijian <laiweijian4@huawei.com>
Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2024-06-26 07:03:02 +00:00

37 lines
6.7 KiB
HTML

<a name="EN-US_TOPIC_0000001910055374"></a><a name="EN-US_TOPIC_0000001910055374"></a>
<h1 class="topictitle1">Creating an OBS Bucket</h1>
<div id="body1558409941175"><p id="EN-US_TOPIC_0000001910055374__en-us_topic_0168522442_p12169122719476">ModelArts uses OBS to store data and model backups and snapshots, achieving secure, reliable, and low-cost storage. Before using ModelArts, create an OBS bucket and folders for storing data.</p>
<div class="section" id="EN-US_TOPIC_0000001910055374__en-us_topic_0000001180077347_section81631146162713"><h4 class="sectiontitle">OBS</h4><p id="EN-US_TOPIC_0000001910055374__en-us_topic_0000001180077347_p8283145820272">OBS provides stable, secure, and efficient cloud storage service that lets you store virtually any volume of unstructured data in any format. Bucket and objects are basic concepts in OBS. A bucket is a container for storing objects in OBS. Each bucket is specific to a region and has specific storage class and access permissions. A bucket is accessible through its domain name over the Internet. An object is the basic unit of data storage in OBS.</p>
<p id="EN-US_TOPIC_0000001910055374__en-us_topic_0000001180077347_p14512131063213">ModelArts cannot store data and uses OBS as its data storage center. All the input data, output data, and cache data during AI development can be stored in OBS buckets for reading.</p>
<p id="EN-US_TOPIC_0000001910055374__en-us_topic_0000001180077347_p3977142833620">Before using ModelArts, create an OBS bucket and folders for storing data.</p>
</div>
<div class="fignone" id="EN-US_TOPIC_0000001910055374__en-us_topic_0000001180077347_fig8288447193120"><span class="figcap"><b>Figure 1 </b>OBS</span><br><span><img id="EN-US_TOPIC_0000001910055374__en-us_topic_0000001180077347_image1428934783115" src="figure/en-us_image_0000001910055454.png" height="325.185" width="523.6875" title="Click to enlarge" class="imgResize"></span></div>
<div class="section" id="EN-US_TOPIC_0000001910055374__en-us_topic_0168522442_section763817416543"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0000001910055374__en-us_topic_0168522442_ol158321616185816"><li id="EN-US_TOPIC_0000001910055374__en-us_topic_0168522442_li11270172211210">Log in to OBS Console and click <span class="uicontrol" id="EN-US_TOPIC_0000001910055374__uicontrol11677181115398"><b>Create Bucket</b></span> in the upper right corner of the page to create an OBS bucket. For example, create an OBS bucket named <span class="filepath" id="EN-US_TOPIC_0000001910055374__en-us_topic_0168522442_filepath1422122115019"><b>c-flowers</b></span>.<div class="p" id="EN-US_TOPIC_0000001910055374__p103800540415"><div class="note" id="EN-US_TOPIC_0000001910055374__note1467203574017"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001910055374__p1066463594015">The created OBS bucket and ModelArts are in the same region. </p>
<p id="EN-US_TOPIC_0000001910055374__p342292271812">Do not enable <strong id="EN-US_TOPIC_0000001910055374__b93730173587">Default Encryption</strong>. ModelArts cannot read the data from encrypted OBS buckets.</p>
</div></div>
</div>
</li><li id="EN-US_TOPIC_0000001910055374__en-us_topic_0168522442_li191305718156">On the <strong id="EN-US_TOPIC_0000001910055374__b9141445102712">Buckets</strong> page, click the bucket name to view its details.</li><li id="EN-US_TOPIC_0000001910055374__li189210010489">Click <span class="uicontrol" id="EN-US_TOPIC_0000001910055374__uicontrol22531443154910"><b>Objects</b></span> in the navigation pane on the left. On the <strong id="EN-US_TOPIC_0000001910055374__b1789612073317">Objects</strong> page, click <strong id="EN-US_TOPIC_0000001910055374__b132019304330">Create Folder</strong> to create an OBS folder. For example, create a folder named <span class="filepath" id="EN-US_TOPIC_0000001910055374__filepath173647501767"><b>flowers</b></span> in the created <span class="filepath" id="EN-US_TOPIC_0000001910055374__filepath136419501165"><b>c-flowers</b></span> OBS bucket. For details, see "Creating a Folder".<div class="fignone" id="EN-US_TOPIC_0000001910055374__fig25311063155"><span class="figcap"><b>Figure 2 </b>Create Folder</span><br><span><img id="EN-US_TOPIC_0000001910055374__image1889112412317" src="figure/en-us_image_0000001919561582.png" width="469.49" height="206.15" title="Click to enlarge" class="imgResize"></span></div>
</li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001910055374__section195361645113114"><h4 class="sectiontitle">FAQs</h4><ul id="EN-US_TOPIC_0000001910055374__ul115291216173710"><li id="EN-US_TOPIC_0000001910055374__li55299167374">Why cannot I find my created OBS bucket when I select an OBS path in ModelArts?<p id="EN-US_TOPIC_0000001910055374__p76653464347"><a name="EN-US_TOPIC_0000001910055374__li55299167374"></a><a name="li55299167374"></a>The created OBS bucket and ModelArts are not in the same region.</p>
</li><li id="EN-US_TOPIC_0000001910055374__li8529191619379">How do I check whether ModelArts and an OBS bucket are in the same region?<ol id="EN-US_TOPIC_0000001910055374__ol1264095913118"><li id="EN-US_TOPIC_0000001910055374__li6640559103118">Check the region where the created OBS bucket is located.<ol type="a" id="EN-US_TOPIC_0000001910055374__ol7641115914311"><li id="EN-US_TOPIC_0000001910055374__li1464175916314">Log in to the OBS management console.</li><li id="EN-US_TOPIC_0000001910055374__li15641175919312">On the <span class="wintitle" id="EN-US_TOPIC_0000001910055374__wintitle9295107746"><b>Object Storage Service</b></span> page, enter a keyword in <strong id="EN-US_TOPIC_0000001910055374__b02951471547">Bucket Name</strong> to search for a bucket.<p id="EN-US_TOPIC_0000001910055374__p9641859183118">In the <strong id="EN-US_TOPIC_0000001910055374__b14942172913194">Region</strong> column, view the region where the created OBS bucket is located.</p>
</li></ol>
</li><li id="EN-US_TOPIC_0000001910055374__li1641105912310">Check the region where ModelArts is deployed.<p id="EN-US_TOPIC_0000001910055374__p1064105973112"><a name="EN-US_TOPIC_0000001910055374__li1641105912310"></a><a name="li1641105912310"></a>Log in to the ModelArts management console and view the region where ModelArts is located in the upper left corner.</p>
</li><li id="EN-US_TOPIC_0000001910055374__li17641125911314">Check whether the region of the created OBS bucket is the same as that of ModelArts. Ensure that they are the same.</li></ol>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="modelarts_77_0143.html">Preparations</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>