1 / 30

Meet Azure Files, your new Swiss Army Knife

Meet Azure Files, your new Swiss Army Knife. Sandrino Di Mattia (@ sandrinodm ) Microsoft Azure Consultant at RealDolmen Author at JustAzure.com http://fabriccontroller.net. Azure Files. “Shared Drive”-as-a-Service. Agenda. Azure Storage and Azure Files Using Azure Files

Télécharger la présentation

Meet Azure Files, your new Swiss Army Knife

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Meet Azure Files, your new Swiss Army Knife • Sandrino Di Mattia (@sandrinodm) • Microsoft Azure Consultant at RealDolmen • Author at JustAzure.com • http://fabriccontroller.net

  2. Azure Files “Shared Drive”-as-a-Service

  3. Agenda Azure Storage and Azure Files Using Azure Files Comparing to Azure Blobs Comparing to Azure Disks Scenarios & Demos

  4. Azure Storage Abstractions: Blobs, Tables, Queues and now Files

  5. Disks (IaaS) Block Page Drives (PaaS) Queues Files Blobs Tables Azure Storage Account (500 TB)

  6. SMB 2.1 REST REST REST REST Blob Head Table Head Queue Head File Share Head Massive Scale Out & Auto Load Balancing Index Layer Distributed Replication Layer

  7. Using Azure Files

  8. West-Europe VM Cloud Service Web Site SMB 2.1REST SMB 2.1REST REST Azure Files

  9. Other Region Contoso (On-Premises) VM Cloud Service Web Site REST REST West-Europe Azure Files

  10. PowerShell Creating a share$c = New-AzureStorageContext <acc> <key>New-AzureStorageShare <share> -Context $ctx

  11. AzCopy Recursive copy AzCopyG:\Backups\ https://acc.file.core.windows.net/share/ /DestKey:key /s

  12. SMB Creating a mapped drivenet use Z:\\acc.file.core.windows.net\share /u:acc key== Persisting credentials cmdkey /add:acc.file.core.windows.net /user:acc /pass:key

  13. SMB In Code (P/Invoke)WNetAddConnection2 (Mpr.dll) In Code (Using RedDog.Storage)CloudFileShareshare =client.GetShareReference("reports");share.Mount("P:");

  14. SMB • Credentials: persisted per user • Mapped drives: persisted per user context • User can have 1 normal context • User can have 1 elevated context (administrator) • Use /runas to store credentials and map drives for other users

  15. REST Using the Storage Client Library varfileClient = storageAccount.CreateCloudFileClient(); var share = fileClient.GetShareReference("reports"); if (share.Exists()) { vardir = share.GetRootDirectoryReference(); var file = dir.GetFileReference("report.txt") var content = await file.DownloadTextAsync(); }

  16. Comparing to Azure Blobs Differences between Azure Files and Azure Blobs

  17. Comparing to Azure Blobs

  18. Comparing to Azure Blobs

  19. Comparing to Azure Disks Differences between Azure Files and Azure Disks

  20. Comparing to Azure Disks

  21. Comparing to Azure Disks

  22. Scenarios & Demos Lift and shift, hybrid applications, …

  23. Scenarios Lift and Shift CMS (media folder) Central Logging Remote Backup (MySQL, …) ISO / Software Repository Centralized Configuration / IIS Shared Configuration Lucene (Near Real Time Search) NServiceBus (FileShareDataBus) On-Premises Replication High-Available FTP Server

  24. Lift and Shift Service Account Service Account ASP.NET Web Application ASP.NET Web Application Local Disk DFS Storage Account Credentials Azure Files

  25. On-Premises Replication to Azure Files West Europe On-Premises Virtual Machine Sync Engine (File System Watcher / ...) SMB Local Disk DFS Azure Files REST

  26. High-Available FTP Server 21 10000-10050 20000-20050 Cloud Service VM 1 VM 2 SMB Azure Files

  27. Links

  28. Links Introducing Microsoft Azure File Servicehttp://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx Comparing with Azure Blobs and Azure Driveshttp://msdn.microsoft.com/en-us/library/azure/dn790517.aspx Persisting connections to Microsoft Azure Fileshttp://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/27/persisting-connections-to-microsoft-azure-files.aspx

  29. Links Azure Files on Linuxhttp://channel9.msdn.com/Blogs/Open/Shared-storage-on-Linux-via-Azure-Files-Preview-Part-1 Using the Azure File Service in your Cloud Services (Web and Worker Roles)http://fabriccontroller.net/blog/posts/using-the-azure-file-service-in-your-cloud-services-web-roles-and-worker-role/ Cloud Portamhttps://app.cloudportam.com/ Passive FTP and Windows Azure Virtual Machineshttp://fabriccontroller.net/blog/posts/passive-ftp-and-dynamic-ports-in-iis8-and-windows-azure-virtual-machines/

More Related