{"id":833,"date":"2022-02-15T13:25:03","date_gmt":"2022-02-15T13:25:03","guid":{"rendered":"https:\/\/bogdanburuiana.com\/?p=833"},"modified":"2022-02-15T14:01:56","modified_gmt":"2022-02-15T14:01:56","slug":"azure-sftp","status":"publish","type":"post","link":"https:\/\/bogdanburuiana.com\/index.php\/2022\/02\/15\/azure-sftp\/","title":{"rendered":"Azure SFTP"},"content":{"rendered":"\n<p><strong>First of all, what is SFTP? <\/strong><\/p>\n\n\n\n<p>Secure File Transfer Protocol (SFTP) is nothing else than a protocol that uses secure shell encryption for transferring  data safely.<\/p>\n\n\n\n<p>SFTP is a protocol that won\u2019t die, being deeply embedded in inter-enterprise workflows and the cloud vendors are offering it as a Service.<\/p>\n\n\n\n<p>AWS was the first to offer a fully managed SFTP Service for Amazon S3.  Now it\u2019s Azure\u2019s turn, even if it is still in Preview as of 15\/02\/2022, the solution looks very promising.<\/p>\n\n\n\n<p>First of all it is based on Azure storage accounts <strong>which means no SFTP server will be visible to the end user<\/strong>. Secondly it uses the Azure Data Lake hierarchical file system on top of blob storage, offering the option to enable a hierarchical namespace and unlock capabilities such as file and directory-level security and faster operations.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"867\" height=\"393\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2022\/02\/sftp.jpg\" alt=\"\" class=\"wp-image-839\" srcset=\"\/wp-content\/uploads\/2022\/02\/sftp.jpg 867w, \/wp-content\/uploads\/2022\/02\/sftp-300x136.jpg 300w, \/wp-content\/uploads\/2022\/02\/sftp-768x348.jpg 768w, \/wp-content\/uploads\/2022\/02\/sftp-480x218.jpg 480w\" sizes=\"(max-width: 867px) 100vw, 867px\" \/><\/figure>\n\n\n\n<p>Both solutions, from AWS and Azure, are implemented on top of REST-based file systems: Azure uses blob storage and AWS uses S3.<\/p>\n\n\n\n<p>AWS SFTP provides access to specific S3 buckets and prefixes per user, who can then use SFTP to upload, download, and delete files to and from these buckets.<\/p>\n\n\n\n<p>Azure SFTP, on the other hand, is requiring an identity associated with that credential for the storage account. That identity is called a local user. Local Users are a new form of identity management provided with SFTP support. <em>You can add up 1000 local users to a storage account.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>SFTP and the hierarchical namespace<\/strong><\/h3>\n\n\n\n<p>SFTP support requires blobs to be organized into on a hierarchical namespace. So, it organizes objects (files) into a hierarchy of directories and subdirectories in the same way that the file system on your computer is organized. <\/p>\n\n\n\n<p>The interoperability between SFTP and REST can be translated by saying you get the best of both worlds: old school folders organized into a hierarchy of directories and sub directories, but also modern access through REST APIs and Azure SDKs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"490\" height=\"448\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2022\/02\/hier.jpg\" alt=\"\" class=\"wp-image-841\" srcset=\"\/wp-content\/uploads\/2022\/02\/hier.jpg 490w, \/wp-content\/uploads\/2022\/02\/hier-300x274.jpg 300w, \/wp-content\/uploads\/2022\/02\/hier-480x439.jpg 480w\" sizes=\"(max-width: 490px) 100vw, 490px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>While AWS SFTP and Azure SFTP are similar products, there certainly are differences where one product may work better for your organization. <\/p>\n\n\n\n<p>More details <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/storage\/blobs\/secure-file-transfer-protocol-support\" data-type=\"URL\" data-id=\"https:\/\/docs.microsoft.com\/en-us\/azure\/storage\/blobs\/secure-file-transfer-protocol-support\" target=\"_blank\">https:\/\/docs.microsoft.com\/en-us\/azure\/storage\/blobs\/secure-file-transfer-protocol-supporte.<\/a><\/p>\n\n\n\n<!-- hitwebcounter Code START -->\n<a href=\"https:\/\/www.hitwebcounter.com\" target=\"_blank\" rel=\"noopener\">\n<img decoding=\"async\" src=\"https:\/\/hitwebcounter.com\/counter\/counter.php?page=7945287&#038;style=0003&#038;nbdigits=3&#038;type=ip&#038;initCount=123\" title=\"Free Counter\" Alt=\"web counter\"   border=\"0\" \/><\/a>                                    \n                                                            \n                                    \n","protected":false},"excerpt":{"rendered":"<p>First of all, what is SFTP? Secure File Transfer Protocol (SFTP) is nothing else than a protocol that uses secure shell encryption for transferring data safely. SFTP is a protocol that won\u2019t die, being deeply embedded in inter-enterprise workflows and the cloud vendors are offering it as a Service. AWS was the first to offer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":832,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts\/833"}],"collection":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/comments?post=833"}],"version-history":[{"count":16,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts\/833\/revisions"}],"predecessor-version":[{"id":854,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts\/833\/revisions\/854"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/media\/832"}],"wp:attachment":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/media?parent=833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/categories?post=833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/tags?post=833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}