<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><span class="Apple-tab-span" style="white-space:pre">       </span>Hi Ted-<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>I am an AWS CLI newb, but thought I would ask some questions to get clarification on the issue.  It sounds like you ultimately were able to get your content loaded, but in a very roundabout way.  Your aim was to be able to use the 'cp' command directly, as I understand it.<br class=""><div><br class=""><blockquote type="cite" class=""><div class=""><br class=""></div><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I am trying to copy large file to s3 using these commands:</div><div class=""><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;"><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;"><font face="CenturyGothic" class=""><span class="">aws s3 cp LEN-DB.hdf5 <a href="s3://esip-qhub/unavco/globalEarthquakes/" class="">s3://esip-qhub/unavco/globalEarthquakes/</a></span></font></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;"><font face="CenturyGothic" class=""><span class="">aws s3 cp LEN-DB.hdf5 <a href="s3://esip-qhub/unavco/globalEarthquakes" class="">s3://esip-qhub/unavco/globalEarthquakes</a></span></font></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;"><font face="CenturyGothic" class=""><span class="">aws s3 cp LEN-DB.hdf5 <a href="s3://esip-qhub/unavco" class="">s3://esip-qhub/unavco</a></span></font></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;"><font face="CenturyGothic" class=""><span class="">aws s3 cp LEN-DB.hdf5 <a href="s3://esip-qhub/globalEarthquakes" class="">s3://esip-qhub/globalEarthquakes</a></span></font></div></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;"><span class=""><br class=""></span></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;"><font face="CenturyGothic" class="">All of these fail with:</font></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;"><font face="CenturyGothic" class="" style="caret-color: rgb(0, 0, 0); font-family: CenturyGothic;"><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;">upload failed: ./LEN-DB.hdf5 to <a href="s3://esip-qhub/unavco" class="">s3://esip-qhub/unavco</a> An error occurred (AccessDenied) when calling the CreateMultipartUpload operation: Access Denied</div><div class=""><br class=""></div></font></div></div></div></div></blockquote><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>I am curious if you got this same message on the very last command you entered, given the fact that the /unavco bucket wasn't even invoked.  This at first glance looks like bucket-level access control.</div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class="" style="caret-color: rgb(0, 0, 0); font-family: CenturyGothic;"><font face="CenturyGothic" class="">Tips:</font></div><div class="" style="caret-color: rgb(0, 0, 0); font-family: CenturyGothic;">I believe that the instructions in reading_writing_data.ipynb may only work if you have superuser permissions… or if you have aws cli installed. If neither of these are true, when you try to run: asw configure â€”profile esip-qhub you get the</div><div class="" style="caret-color: rgb(0, 0, 0); font-family: CenturyGothic;"><font face="CenturyGothic" class=""><b class="">bash aws not found</b> error.</font></div></div></div></div></blockquote><div><br class=""></div><span class="Apple-tab-span" style="white-space:pre">     </span>I noticed in your command example that you misspelled 'aws', was that the cause of your error or was an an email typo?</div><div><br class=""></div><div><blockquote type="cite" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class="" style="caret-color: rgb(0, 0, 0); font-family: CenturyGothic;"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); font-family: CenturyGothic; margin: 0px; font-stretch: normal; line-height: normal;"><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><font face="CenturyGothic" class=""><br class=""></font></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><font face="CenturyGothic" class="">Then this command works.</font></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><font face="CenturyGothic" class="">/home/jovyan/.local/bin/aws configure --profile esip-qhub</font></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 15px;"><font face="CenturyGothic" class=""><br class=""></font></div></div></div></div></blockquote><span class="Apple-tab-span" style="white-space:pre">   </span>It seems that ultimately, you were able to get the configure for your credentials to work by an explicit path to 'aws'. Does the base OS image not have a default path to 'aws'?  Does the 'which' command work?</div><div><br class=""></div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Thanks,</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>-Rob</div><div><br class=""></div><br class=""></div></body></html>