{"id":22210,"date":"2024-09-18T15:54:09","date_gmt":"2024-09-18T13:54:09","guid":{"rendered":"https:\/\/contabo.com\/blog\/kb\/103000282847-can-i-mount-s3-object-storage-files-to-my-personal-computer\/"},"modified":"2025-04-10T18:05:47","modified_gmt":"2025-04-10T16:05:47","slug":"103000282847-can-i-mount-s3-object-storage-files-to-my-personal-computer","status":"publish","type":"kb","link":"https:\/\/contabo.com\/blog\/kb\/103000282847-can-i-mount-s3-object-storage-files-to-my-personal-computer\/","title":{"rendered":"Can I Mount S3 Object Storage Files to My Personal Computer?"},"content":{"rendered":"<h4 data-identifyelement=\"493\" dir=\"ltr\"><strong data-identifyelement=\"494\">Can I mount S3 Object Storage files to my personal computer?<\/strong><\/h4>\n<p data-identifyelement=\"495\" dir=\"ltr\">It is possible to mount S3 Object Storage to your VPS\/VDS or personal computer. This way you can access the files and folders of your S3 Object Storage like a local drive which makes usage more convenient. The methods to set this up are different for Windows and Linux but there are some things you will need on both Windows and Linux:<\/p>\n<ul data-identifyelement=\"499\">\n<li data-identifyelement=\"500\" dir=\"ltr\">Contabo&#8217;s S3 URL.<\/li>\n<li data-identifyelement=\"501\" dir=\"ltr\">The Object Storage&#8217;s access key.<\/li>\n<li data-identifyelement=\"502\" dir=\"ltr\">The Object Storage&#8217;s secret key.<\/li>\n<\/ul>\n<p data-identifyelement=\"503\" dir=\"ltr\"><strong>You can find the S3 URL on the <u data-identifyelement=\"504\"><a data-identifyelement=\"505\" href=\"https:\/\/new.contabo.com\/storage\/object-storage\/buckets\" rel=\"noreferrer nofollow noopener\" target=\"_blank\"><u data-identifyelement=\"506\">buckets overview page<\/u><\/a><\/u> in the &#8220;Bucket URL&#8221; column.<\/strong><\/p>\n<p data-identifyelement=\"507\" dir=\"ltr\"><strong><br data-identifyelement=\"508\"><\/strong><\/p>\n<p data-identifyelement=\"509\" dir=\"ltr\"><strong>You can find the access and secret keys on the <a data-identifyelement=\"510\" href=\"https:\/\/new.contabo.com\/account\/security\" rel=\"noreferrer nofollow noopener\" target=\"_blank\"><u data-identifyelement=\"511\">account security page here<\/u><\/a>.<br data-identifyelement=\"512\"><\/strong><\/p>\n<h4 data-identifyelement=\"514\" dir=\"ltr\"><strong data-identifyelement=\"515\">Things to note before setting up a mount to S3 Object Storage:<\/strong><\/h4>\n<p data-identifyelement=\"517\">Please note that that a mounted Object Storage bucket doesn&#8217;t always behave like a normal POSIX file system. Depending on how your application is accessing files, you may encounter issues like:<\/p>\n<ul data-identifyelement=\"518\">\n<li data-identifyelement=\"519\">no\/wrong file system usage statistics<\/li>\n<li data-identifyelement=\"520\">sub-par performance<\/li>\n<li data-identifyelement=\"521\">unexpected unmounts<\/li>\n<li data-identifyelement=\"522\">duplicate writes leading to hidden objects that occupy space but are invisible to S3 API requests<\/li>\n<\/ul>\n<p data-identifyelement=\"523\" dir=\"ltr\">If possible, using other tools like rclone to access Object Storage is recommended.<\/p>\n<h4 data-identifyelement=\"523\" dir=\"ltr\"><strong data-identifyelement=\"484\"><br data-identifyelement=\"485\"><\/strong><\/h4>\n<h4 data-identifyelement=\"523\" dir=\"ltr\"><strong data-identifyelement=\"486\" dir=\"ltr\">How do I setup a mount on Linux?<\/strong><\/h4>\n<p data-identifyelement=\"488\">The following parameters are recommend when transferring files via rsync to a mounted Object Storage:<\/p>\n<p data-identifyelement=\"489\"><br data-identifyelement=\"490\"><\/p>\n<p data-identifyelement=\"491\"><code data-identifyelement=\"492\">rsync -W --inplace --size-only<\/code><\/p>\n<p data-identifyelement=\"494\"><br data-identifyelement=\"495\"><\/p>\n<p data-identifyelement=\"496\" dir=\"ltr\">This will avoid unnecessary file transfers. If this is your main use case, please also check if rclone is an option for you.<\/p>\n<p data-identifyelement=\"497\" dir=\"ltr\"><br data-identifyelement=\"498\"><\/p>\n<p data-identifyelement=\"499\" dir=\"ltr\">There are two methods we would recommend using to setup a mount on Linux:<\/p>\n<p data-identifyelement=\"500\" dir=\"ltr\"><em data-identifyelement=\"501\"><strong data-identifyelement=\"502\"><br data-identifyelement=\"503\"><\/strong><\/em><\/p>\n<p data-identifyelement=\"504\" dir=\"ltr\"><em data-identifyelement=\"505\"><strong data-identifyelement=\"506\">goofys:<\/strong><\/em><\/p>\n<p data-identifyelement=\"507\" dir=\"ltr\">For Linux, <u data-identifyelement=\"508\"><a data-identifyelement=\"509\" href=\"https:\/\/github.com\/kahing\/goofys\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\"><u data-identifyelement=\"510\">goofys<\/u><\/a><\/u> can be used which offers better performance than s3fs-fuse. Please follow the install instructions. In the following example. In the example we have set the mount path to be \/mnt\/foo and the bucket to be mounted to as <code data-identifyelement=\"511\">foo<\/code>. Please make sure that you set up your ~\/.aws\/credentials file with the proper values.&nbsp;<\/p>\n<p data-identifyelement=\"512\" dir=\"ltr\"><br data-identifyelement=\"513\"><\/p>\n<pre data-identifyelement=\"514\" dir=\"ltr\">sudo mkdir \/mnt\/foo<br data-identifyelement=\"516\">echo 'goofys#foo \/mnt\/foo fuse _netdev,allow_other,--file-mode=0666,--dir-mode=0777,--endpoint=eu2.contabostorage.com 0 0' | sudo tee -a \/etc\/fstab<\/pre>\n<p class=\"anchor anchorWithStickyNavbar_LWe7\" data-identifyelement=\"517\" dir=\"ltr\"><strong data-identifyelement=\"518\"><em data-identifyelement=\"519\">s3fs-fuse:<\/em><\/strong><\/p>\n<p data-identifyelement=\"520\" dir=\"ltr\">For Linux <u data-identifyelement=\"522\"><a data-identifyelement=\"523\" href=\"https:\/\/github.com\/s3fs-fuse\/s3fs-fuse\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\">s3fs-fuse<\/a><\/u> can be used. Please follow the install instructions below. <br data-identifyelement=\"528\"><br data-identifyelement=\"529\"><code class=\"codeBlockLines_e6Vv\" data-identifyelement=\"530\">sudo&nbsp;echo&nbsp;82046e8110804a43bf29c1ae426a724d:82e69bd7a52076c527154297a76c2233&nbsp;&gt;&nbsp;\/etc\/passwd-s3fs<br data-identifyelement=\"538\">sudo&nbsp;chmod&nbsp;600&nbsp;\/etc\/passwd-s3fs<br data-identifyelement=\"542\">sudo&nbsp;mkdir&nbsp;-p \/mnt\/foo<br data-identifyelement=\"545\">sudo&nbsp;echo&nbsp;\"foo \/mnt\/foo fuse.s3fs _netdev,allow_other,use_path_request_style,url=https:\/\/eu2.contabostorage.com 0 0\"&nbsp;&gt;&gt;&nbsp;\/etc\/fstab<br data-identifyelement=\"551\">sudo&nbsp;mount&nbsp;-a<br data-identifyelement=\"555\"><\/code><\/p>\n<p data-identifyelement=\"556\" dir=\"ltr\"><br data-identifyelement=\"557\"><\/p>\n<h4 data-identifyelement=\"523\" dir=\"ltr\"><strong data-identifyelement=\"558\" dir=\"ltr\">How do I setup a mount on Windows?<\/strong><\/h4>\n<p data-identifyelement=\"559\" dir=\"ltr\">For Windows there are a couple of tools we would recommend using:<em data-identifyelement=\"560\"><strong data-identifyelement=\"561\"><br data-identifyelement=\"562\"><\/strong><\/em><\/p>\n<p data-identifyelement=\"563\" dir=\"ltr\"><em data-identifyelement=\"564\"><strong data-identifyelement=\"565\">Air Live Drive:<\/strong><\/em><\/p>\n<p data-identifyelement=\"566\" dir=\"ltr\">Please follow installation instructions from <a data-identifyelement=\"567\" href=\"https:\/\/www.airlivedrive.com\/en\/\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\"><u data-identifyelement=\"568\">Air Live Drive<\/u><\/a>. Once installed and started please perform following steps.<\/p>\n<ol data-identifyelement=\"569\">\n<li data-identifyelement=\"570\">Click on Add Cloud Disk. The following screen should appear <img loading=\"lazy\" decoding=\"async\" alt=\"AirLiveDrive-Add\" src=\"https:\/\/s3-eu-central-1.amazonaws.com\/euc-cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/103098019229\/original\/7U1ooc_yeyFIpsCMvNFZ1-J1j081w5PqYA.png?1710845696\" width=\"682\" height=\"553\" class=\"img_ev3q fr-fic fr-dii\" data-attachment=\"[object Object]\" data-id=\"103098019229\" data-identifyelement=\"571\"><\/li>\n<li data-identifyelement=\"572\">Select <code data-identifyelement=\"573\">S3<\/code>. The following screen should appear <img loading=\"lazy\" decoding=\"async\" alt=\"AirLiveDrive-Add\" src=\"https:\/\/s3-eu-central-1.amazonaws.com\/euc-cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/103098019228\/original\/S2at80rgRgNpF40WEWDIUbS9e_ysq_QNSg.png?1710845696\" width=\"653\" height=\"438\" class=\"img_ev3q fr-fic fr-dii\" data-attachment=\"[object Object]\" data-id=\"103098019228\" data-identifyelement=\"574\"><\/li>\n<li data-identifyelement=\"575\">Please specify following data\n<ul data-identifyelement=\"576\">\n<li data-identifyelement=\"577\">For REST endpoint the S3 URL, e.g. <code data-identifyelement=\"578\"><a data-fr-linked=\"true\" data-identifyelement=\"580\" href=\"https:\/\/eu2.contabostorage.com\" rel=\"nofollow nofollow\">https:\/\/eu2.contabostorage.com<\/a><br data-identifyelement=\"581\"><\/code><\/li>\n<li data-identifyelement=\"582\">For Access Key ID your <code data-identifyelement=\"583\">access_key<\/code>, e.g. <code data-identifyelement=\"585\">82046e8110804a43bf29c1ae426a724d<\/code><\/li>\n<li data-identifyelement=\"587\">For Secret Access Key your <code data-identifyelement=\"588\">secret_key<\/code>, e.g. <code data-identifyelement=\"590\">82e69bd7a52076c527154297a76c2233<\/code><\/li>\n<li data-identifyelement=\"592\">Please check Use Path style addressing model<\/li>\n<li data-identifyelement=\"593\">Click OK<\/li>\n<li data-identifyelement=\"594\" dir=\"ltr\">Click connect<\/li>\n<\/ul>\n<\/li>\n<li data-identifyelement=\"595\" dir=\"ltr\">The drive with the specified letter should show the contents of your S3 Object Storage.<\/li>\n<\/ol>\n<p data-identifyelement=\"596\" dir=\"ltr\"><strong data-identifyelement=\"597\"><em data-identifyelement=\"598\">Mountain Duck:<\/em><\/strong><\/p>\n<p data-identifyelement=\"599\" dir=\"ltr\">Please follow installation instructions from <a data-identifyelement=\"600\" href=\"https:\/\/mountainduck.io\/\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\"><u data-identifyelement=\"601\">Mountain Duck<\/u><\/a>. Once installed and started please perform following steps:<\/p>\n<ol data-identifyelement=\"602\">\n<li data-identifyelement=\"603\" dir=\"ltr\">You should see a screen like the following. If you don&#8217;t see it then right click in the toolbar on the duck icon and select Open connection.<br data-identifyelement=\"605\"><img loading=\"lazy\" decoding=\"async\" alt=\"AirLiveDrive-Add\" src=\"https:\/\/s3-eu-central-1.amazonaws.com\/euc-cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/103098020498\/original\/ClSV1BOiYn-MdTJv2f-PqoZqG6WYCj2ARA.png?1710845820\" width=\"465\" height=\"410\" class=\"img_ev3q fr-fic fr-dii\" data-attachment=\"[object Object]\" data-id=\"103098020498\" data-identifyelement=\"606\">&nbsp;<\/li>\n<li data-identifyelement=\"607\" dir=\"ltr\">Please specify the following data\n<ul data-identifyelement=\"608\">\n<li data-identifyelement=\"609\" dir=\"ltr\">For Server use the S3 URL without a protocol, e.g. <strong><code data-identifyelement=\"610\">eu2.contabostorage.com<\/code><\/strong>. <strong>Please note do NOT enter the URL with&nbsp;<\/strong><code data-identifyelement=\"613\"><strong>https:\/\/<\/strong><\/code><\/li>\n<li data-identifyelement=\"615\">For Port specify 443<\/li>\n<li data-identifyelement=\"616\" dir=\"ltr\">For Access Key ID use your <code data-identifyelement=\"617\">access_key<\/code>, e.g. <code data-identifyelement=\"619\">82046e8110804a43bf29c1ae426a724d<\/code><\/li>\n<li data-identifyelement=\"621\" dir=\"ltr\">For Secret Access Key use your <code data-identifyelement=\"622\">secret_key<\/code>, e.g. <code data-identifyelement=\"624\">82e69bd7a52076c527154297a76c2233<\/code><\/li>\n<li data-identifyelement=\"626\">Click OK<\/li>\n<\/ul>\n<\/li>\n<li data-identifyelement=\"627\" dir=\"ltr\">The drive with the specified letter should show the contents of your S3 Object Storage.<\/li>\n<\/ol>\n<p><span class=\"ast-load-more active\"><a href=\"https:\/\/help.contabo.com\/en\/support\/solutions\/articles\/103000282847-can-i-mount-s3-object-storage-files-to-my-personal-computer-\" rel=\"nofollow\">Details&#8230;<\/a> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Can I mount S3 Object Storage files to my personal computer? It is possible to mount S3 Object Storage to your VPS\/VDS or personal computer. This way you can access the files and folders of your S3 Object Storage like a local drive which makes usage more convenient. The methods to set this up are [&hellip;]<\/p>\n","protected":false},"author":72,"featured_media":0,"template":"","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2067],"tags":[],"class_list":["post-22210","kb","type-kb","status-publish","hentry","category-kb"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Contabo Web","author_link":"https:\/\/contabo.com\/blog\/author\/julius-nalivaiko\/"},"uagb_comment_info":0,"uagb_excerpt":"Can I mount S3 Object Storage files to my personal computer? It is possible to mount S3 Object Storage to your VPS\/VDS or personal computer. This way you can access the files and folders of your S3 Object Storage like a local drive which makes usage more convenient. The methods to set this up are&hellip;","_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/72"}],"version-history":[{"count":1,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22210\/revisions"}],"predecessor-version":[{"id":22924,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22210\/revisions\/22924"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=22210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=22210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=22210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}