SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Using the Azure Files in
Your Cloud Applications
Introduction to Microsoft Azure File Service
Mihail Mateev
Senior Technical Evangelist
@ Infragistics,
Microsoft Azure MVP
30 of September 2014
Using the Azure
Files in Your Cloud
Applications
Mihail Mateev
About the speaker ...
Mihail Mateev is a Senior Technical Evangelist,
Team Lead at Infragistics Inc., Community &
Evangelism Lead for Europe,
Microsoft Azure MVP
Mihail works in various areas related to
Microsoft technologies : Silverlight, WPF, WP,
LightSwitch, WCF, ASP.Net MVC, MS SQL Server
and Microsoft Azure
• How to Use Azure File Storage?
• File storage concepts
• Limitations
• Manage Azure Files
• When to use Azure Blobs, Azure Files,
or Azure Data Disks?
• Demos
• The Azure File service enables the use of highly available
and scalable Azure blob storage to be used as file shares
for multiple virtual machines or PaaS roles.
• You can create a cloud based file share on resilient storage
subsystems and then access those file shares using the standard SMB
2.1 protocol.
• The file shares appear as mapped drives on the virtual machines they
are assigned to.
• Azure files is a way to share persistent data between multiple
servers or PaaS roles (such as websites) without having to set up
file servers.
• The storage is provided by highly resilient storage and so there is
no need to worry about placement and accessibility of individual
VHD files
• You can share it with several VMs for read/write access
( Azure Drive allows to write only one VM, but read data from
many)
Currently during the preview the costs
are discounted at 50% :
• €0.0298 per GB for locally redundant file shares
• €0.0373 per GB for geo redundant file shares.
Full pricing for storage can be found here
http://azure.microsoft.com/en-us/pricing/details/storage/ .
• First we use PowerShell to show how to create a new Azure File share,
add a directory, upload a local file to the share, and list the files in the
directory.
• Then you can mount the file share from an Azure virtual machine, just
as you would any SMB share
• You also can use the Azure .NET Storage Client Library to work with
the file share from a desktop application.
• Since a File storage share is a standard SMB 2.1 file share,
applications running in Azure can access data in the share via
file I/O APIs.
• Developers can therefore leverage their existing code and skills
to migrate existing applications.
• IT Pros can use PowerShell cmdlets to create, mount, and
manage File storage shares as part of the administration of
Azure applications. This guide will show examples of both.
Common uses of File storage:
•Migrating on-premise applications that rely on file shares to run on Azure
virtual machines or cloud services, without expensive rewrites
•Storing shared application settings, for example in configuration files
•Storing diagnostic data such as logs, metrics, and crash dumps in a shared
location
•Storing tools and utilities needed for developing or administering Azure virtual
machines or cloud services
URL format:
https://<storage account>.file.core.windows.net/<share>/<directory/directories>/<file>
http://acmecorp.file.core.windows.net/cloudfiles/diagnostics/log.txt
• Azure files is in preview mode and so there will be no SLAs
provided
• Once activated, you must set up a new storage account which
can be regional or assigned to an affinity group.
• You can only create the file shares using PowerShell.
• Read-Access Geographically Redundant Storage (RA-GRS)
storage accounts are not supported
• The file shares are only available to virtual machines or PaaS
websites within the same datacenter as the file share storage
account.
• Access to the file shares is provided via Azure Storage Keys -
there are is no AD integration.
• 5TB per share
• Max file size 1TB
• Up to 1000 IOPS (input/output operations
per second of size 8KB) per share
• Throughput Up to 60MB/s per share of data transfer
• SMB 2.1 support only
• Activate Azure Files Preview
• Create new storage account and retrieve access key.
• Download the Azure file storage cmdlets, unblock, extract
and import into your PowerShell session.
• Install Azure PowerShell Modules and connect to you
Azure subscription.
• Setup the account credentials and create the file share
from PowerShell,.
• From another Azure VM attach the file share as a mapped
drive.
Prerequisites
• Sign up for service:
go to the Microsoft Azure Preview Portal, and
sign up for the Microsoft Azure Files service using
one or more of your subscriptions
• Create a new storage account
The file endpoint for the account will be:
<account name>.file.core.windows.net.
# import module and create a context for account and key
import-module .AzureStorageFile.psd1
$ctx=New-AzureStorageContext <account name> <account key>
# create a new share
$s = New-AzureStorageShare <share name> -Context $ctx
# create a directory in the test share just created
New-AzureStorageDirectory -Share $s -Path testdir
# upload a local file to the testdir directory just created
Set-AzureStorageFileContent -Share $s -Source D:uploadtestfile.txt -Path testdir
# list out the files and subdirectories in a directory
Get-AzureStorageFile -Share $s -Path testdir
# download files from azure storage file service
Get-AzureStorageFileContent -Share $s -Path testdir/testfile.txt -Destination D:download
# remove files from azure storage file service
Remove-AzureStorageFile -Share $s -Path testdir/testfile.txt
• You can also create a file share programmatically using the ‘Create
Share’ REST API with version 2014-02-14 REST APIs are
available via http(s)://<account name>.file.core.windows.net Uri.
• The .NET Storage Client Library starting with 4.0 version uses the REST
version 2014-02-14 and supports Azure Files.
static void Main( string[] args)
{
CloudStorageAccount account = CloudStorageAccount.Parse(cxnString);
CloudFileClient client = account.CreateCloudFileClient();
CloudFileShare share = client.GetShareReference("bar");
share.CreateIfNotExistsAsync().Wait();
}
• To use the share via SMB 2.1 protocol, log into the VM that requires
access to the share and execute “net use” :
net use z: <account name>.file.core.windows.net<share name>
/u:<account name> <account key>
• Share from C# code:
ExecuteCommand(“ <your command> “ );
“net use” demo :
• cmdkey /add:uploadfileshare.file.core.windows.net
/user:uploadfileshare
/pass:cjz1PD0ivoammgPUJGfRu2Lcy/blhmvlHUkAWX6tSN6lz2/kJVG
zTyqYJ2Byf5Y4/BwG8KNS/jWXvQfRsZiDPA==
• net use z: uploadfileshare.file.core.windows.netmyshare
Azure Files is a separate service from Azure Blobs. In preview,
we do not support copying Azure Blobs to Azure Files.
Microsoft Azure Import/Export Service does not support Azure
Files for preview
AzCopy
•Upload files from your local disk recursively to Azure Files, with all folder structures copied as well.
AzCopy d:test https://myaccount.file.core.windows.net/myfileshare/ /DestKey:key /s
• Upload files with certain file pattern from your local disk to Azure Files.
AzCopy d:test https://myaccount.file.core.windows.net/myfileshare/ /DestKey:key ab* /s
•Download all files in the file share recursively to local disk, with all folder structures copied as well.
AzCopy https://myaccount.file.core.windows.net/myfileshare/ d:test /SourceKey:key /s
•Download one file from the file share to your local disk
AzCopy https://myaccount.file.core.windows.net/myfileshare/myfolder1/ d:test
/SourceKey:key abc.txt
Setup for accessing the file share
private string connectionString
{
get
{
return @"DefaultEndpointsProtocol=https;AccountName=" + StorageAccountName +
";AccountKey=" + StorageAccountKey;
}
}
CloudStorageAccount cloudStorageAccount = CloudStorageAccount.Parse(connectionString);
CloudFileClient cloudFileClient = cloudStorageAccount.CreateCloudFileClient();
Setup for accessing the file share
CloudFileShare cloudFileShare = cloudFileClient.GetShareReference(ShareName);
cloudFileShare.CreateIfNotExists();
CloudFileDirectory rootDirectory = cloudFileShare.GetRootDirectoryReference();
writeToRoot = string.IsNullOrWhiteSpace(FolderPath);
CloudFileDirectory fileDirectory;
if (writeToRoot)
{
fileDirectory = null;
}
else
{
fileDirectory = rootDirectory.GetDirectoryReference(FolderPath);
fileDirectory.CreateIfNotExists();
}
Download files from a folder on the share
CloudFile cloudFile2 = directoryToUse.GetFileReference(fileNameOnly);
cloudFile2.DownloadToFile(localPath, FileMode.Create);
Get a list of files in a folder on the share
public enum ListBoxFileItemType { File, Directory, Other };
public class ListBoxFileItem
{
public string FileName { get; set; }
public ListBoxFileItemType FileItemType { get; set; }
public override string ToString()
{
return FileName;
}
}
•Azure Data Disks – Provides client libraries and a REST
interface that allows data to be persistently stored and
accessed from an attached virtual hard disk.
Reasons you would use Azure Data Disks:
• You want to lift and shift applications that use native file system APIs to read
and write data to persistent disks.
• You want to store data that is not required to be accessed from outside the
virtual machine to which the disk is attached.
•Azure Blobs - Provides client libraries and a REST
interface that allows unstructured data to be stored and
accessed at a massive scale in block blobs.
Reasons you would use Azure Blobs:
• You want your application to support streaming and random access scenarios.
• You want to be able to access application data from anywhere.
•Azure Files - Provides an SMB 2.1 interface and a REST
interface that allows easy access from anywhere to stored
files.
Reasons you would use Azure Files:
• You want to lift and shift an application to the cloud which already uses
the native file system APIs to share data between it and other applications
running in Azure.
• You want to store development and debugging tools that need to be
accessed from many virtual machines.
•
• Azure Files 2014-04-14 version
• AzCopy
• Azure File PowerShell Cmdlets (CTP)
• Storage .NET Client Library 4.0 for 2014-04-14 version
•
•
•
• http://www.Infragistics.com/mihail_mate
ev
Devday 2014 using_afs_in_your_cloud_app
Devday 2014 using_afs_in_your_cloud_app

Weitere ähnliche Inhalte

Was ist angesagt?

OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio Tavilla
OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio TavillaOpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio Tavilla
OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio TavillaLorenzo Carnevale
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platformgiventocode
 
Active directory ds ws2008 r2
Active directory ds ws2008 r2Active directory ds ws2008 r2
Active directory ds ws2008 r2MICTT Palma
 
Microsoft Azure: Opção de Nuvem para Todo o Desenvolvedor
Microsoft Azure: Opção de Nuvem para Todo o DesenvolvedorMicrosoft Azure: Opção de Nuvem para Todo o Desenvolvedor
Microsoft Azure: Opção de Nuvem para Todo o DesenvolvedorOsvaldo Daibert
 
Microsoft Azure, door Rob Brommer op de 4DotNet Developers Day
Microsoft Azure, door Rob Brommer op de 4DotNet Developers DayMicrosoft Azure, door Rob Brommer op de 4DotNet Developers Day
Microsoft Azure, door Rob Brommer op de 4DotNet Developers DayHanneke Dotnet
 
Spectrum Scale - Cognitive
Spectrum Scale - CognitiveSpectrum Scale - Cognitive
Spectrum Scale - CognitiveSmita Raut
 
Persistence on iOS
Persistence on iOSPersistence on iOS
Persistence on iOSMake School
 
Azure Storage
Azure StorageAzure Storage
Azure StorageMustafa
 
Coherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webCoherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webC2B2 Consulting
 
CIS 2015- Building IAM for OpenStack- Steve Martinelli
CIS 2015- Building IAM for OpenStack- Steve MartinelliCIS 2015- Building IAM for OpenStack- Steve Martinelli
CIS 2015- Building IAM for OpenStack- Steve MartinelliCloudIDSummit
 
Build Application With MongoDB
Build Application With MongoDBBuild Application With MongoDB
Build Application With MongoDBEdureka!
 
Overview Of Xaware
Overview Of XawareOverview Of Xaware
Overview Of Xawareghessler
 
OpenStack keystone identity service
OpenStack keystone identity serviceOpenStack keystone identity service
OpenStack keystone identity serviceopenstackindia
 
Security_of_openstack_keystone
Security_of_openstack_keystoneSecurity_of_openstack_keystone
Security_of_openstack_keystoneUT, San Antonio
 

Was ist angesagt? (20)

Mcts chapter 4
Mcts chapter 4Mcts chapter 4
Mcts chapter 4
 
MCSA 70-412 Chapter 08
MCSA 70-412 Chapter 08MCSA 70-412 Chapter 08
MCSA 70-412 Chapter 08
 
OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio Tavilla
OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio TavillaOpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio Tavilla
OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio Tavilla
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platform
 
Active directory ds ws2008 r2
Active directory ds ws2008 r2Active directory ds ws2008 r2
Active directory ds ws2008 r2
 
Microsoft Azure: Opção de Nuvem para Todo o Desenvolvedor
Microsoft Azure: Opção de Nuvem para Todo o DesenvolvedorMicrosoft Azure: Opção de Nuvem para Todo o Desenvolvedor
Microsoft Azure: Opção de Nuvem para Todo o Desenvolvedor
 
Microsoft Azure, door Rob Brommer op de 4DotNet Developers Day
Microsoft Azure, door Rob Brommer op de 4DotNet Developers DayMicrosoft Azure, door Rob Brommer op de 4DotNet Developers Day
Microsoft Azure, door Rob Brommer op de 4DotNet Developers Day
 
Spectrum Scale - Cognitive
Spectrum Scale - CognitiveSpectrum Scale - Cognitive
Spectrum Scale - Cognitive
 
Persistence on iOS
Persistence on iOSPersistence on iOS
Persistence on iOS
 
Azure Storage
Azure StorageAzure Storage
Azure Storage
 
Coherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webCoherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-web
 
CIS 2015- Building IAM for OpenStack- Steve Martinelli
CIS 2015- Building IAM for OpenStack- Steve MartinelliCIS 2015- Building IAM for OpenStack- Steve Martinelli
CIS 2015- Building IAM for OpenStack- Steve Martinelli
 
MCSA 70-412 Chapter 06
MCSA 70-412 Chapter 06MCSA 70-412 Chapter 06
MCSA 70-412 Chapter 06
 
Build Application With MongoDB
Build Application With MongoDBBuild Application With MongoDB
Build Application With MongoDB
 
DOSUG Tech Overview of XAware
DOSUG Tech Overview of XAwareDOSUG Tech Overview of XAware
DOSUG Tech Overview of XAware
 
Overview Of Xaware
Overview Of XawareOverview Of Xaware
Overview Of Xaware
 
MCSA 70-412 Chapter 01
MCSA 70-412 Chapter 01MCSA 70-412 Chapter 01
MCSA 70-412 Chapter 01
 
OpenStack keystone identity service
OpenStack keystone identity serviceOpenStack keystone identity service
OpenStack keystone identity service
 
MCSA 70-412 Chapter 11
MCSA 70-412 Chapter 11MCSA 70-412 Chapter 11
MCSA 70-412 Chapter 11
 
Security_of_openstack_keystone
Security_of_openstack_keystoneSecurity_of_openstack_keystone
Security_of_openstack_keystone
 

Andere mochten auch

Clash of Technologies Google Cloud vs Microsoft Azure
Clash of Technologies Google Cloud vs Microsoft AzureClash of Technologies Google Cloud vs Microsoft Azure
Clash of Technologies Google Cloud vs Microsoft AzureMihail Mateev
 
Google Cloud for Data Crunchers - Strata Conf 2011
Google Cloud for Data Crunchers - Strata Conf 2011Google Cloud for Data Crunchers - Strata Conf 2011
Google Cloud for Data Crunchers - Strata Conf 2011Patrick Chanezon
 
Why amazon Web Services?
Why amazon Web Services?Why amazon Web Services?
Why amazon Web Services?Bogdan Naydenov
 
Windows Azure Media Services : des API pour encoder, multiplexer et difuser v...
Windows Azure Media Services : des API pour encoder, multiplexer et difuser v...Windows Azure Media Services : des API pour encoder, multiplexer et difuser v...
Windows Azure Media Services : des API pour encoder, multiplexer et difuser v...Microsoft Technet France
 
La diffusion vidéo avec le Cloud Azure
La diffusion vidéo avec le Cloud AzureLa diffusion vidéo avec le Cloud Azure
La diffusion vidéo avec le Cloud AzureMicrosoft
 
Contrôler les usages de vos informations dans le Cloud avec Windows Azure AD ...
Contrôler les usages de vos informations dans le Cloud avec Windows Azure AD ...Contrôler les usages de vos informations dans le Cloud avec Windows Azure AD ...
Contrôler les usages de vos informations dans le Cloud avec Windows Azure AD ...Microsoft Technet France
 
Aws S3 uploading tricks 2016
Aws S3 uploading tricks 2016Aws S3 uploading tricks 2016
Aws S3 uploading tricks 2016Bogdan Naydenov
 
Build end-to-end video experiences with Azure Media Services
Build end-to-end video experiences with Azure Media ServicesBuild end-to-end video experiences with Azure Media Services
Build end-to-end video experiences with Azure Media ServicesKen Cenerelli
 
L'évolution du Cloud dans les 10 prochaines années
L'évolution du Cloud dans les 10 prochaines annéesL'évolution du Cloud dans les 10 prochaines années
L'évolution du Cloud dans les 10 prochaines annéesNanocloud Software
 
AI for business: Capire l'opportunità
AI for business: Capire l'opportunitàAI for business: Capire l'opportunità
AI for business: Capire l'opportunitàMeetupDataScienceRoma
 
Serverless Data Architecture at scale on Google Cloud Platform
Serverless Data Architecture at scale on Google Cloud PlatformServerless Data Architecture at scale on Google Cloud Platform
Serverless Data Architecture at scale on Google Cloud PlatformMeetupDataScienceRoma
 
Introduzione Deep Learning & TensorFlow
Introduzione Deep Learning & TensorFlowIntroduzione Deep Learning & TensorFlow
Introduzione Deep Learning & TensorFlowMeetupDataScienceRoma
 
AWS Webcast - What's New with Amazon Elastic Transcoder
AWS Webcast - What's New with Amazon Elastic TranscoderAWS Webcast - What's New with Amazon Elastic Transcoder
AWS Webcast - What's New with Amazon Elastic TranscoderAmazon Web Services
 
Мультискрин-сервисы и гибридная ТВ-платформа Huawei
Мультискрин-сервисы и гибридная ТВ-платформа HuaweiМультискрин-сервисы и гибридная ТВ-платформа Huawei
Мультискрин-сервисы и гибридная ТВ-платформа HuaweiHuawei Russia
 
AWS Elemental Services for Video Processing and Delivery
AWS Elemental Services for Video Processing and DeliveryAWS Elemental Services for Video Processing and Delivery
AWS Elemental Services for Video Processing and DeliveryAmazon Web Services
 
Cloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer ConsoleCloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer ConsoleMatthew Perrins
 
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016Chris Jang
 
Google Cloud Platform and Kubernetes
Google Cloud Platform and KubernetesGoogle Cloud Platform and Kubernetes
Google Cloud Platform and KubernetesKasper Nissen
 
AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...
AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...
AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...Amazon Web Services
 

Andere mochten auch (20)

Clash of Technologies Google Cloud vs Microsoft Azure
Clash of Technologies Google Cloud vs Microsoft AzureClash of Technologies Google Cloud vs Microsoft Azure
Clash of Technologies Google Cloud vs Microsoft Azure
 
Google Cloud for Data Crunchers - Strata Conf 2011
Google Cloud for Data Crunchers - Strata Conf 2011Google Cloud for Data Crunchers - Strata Conf 2011
Google Cloud for Data Crunchers - Strata Conf 2011
 
Why amazon Web Services?
Why amazon Web Services?Why amazon Web Services?
Why amazon Web Services?
 
Windows Azure Media Services : des API pour encoder, multiplexer et difuser v...
Windows Azure Media Services : des API pour encoder, multiplexer et difuser v...Windows Azure Media Services : des API pour encoder, multiplexer et difuser v...
Windows Azure Media Services : des API pour encoder, multiplexer et difuser v...
 
La diffusion vidéo avec le Cloud Azure
La diffusion vidéo avec le Cloud AzureLa diffusion vidéo avec le Cloud Azure
La diffusion vidéo avec le Cloud Azure
 
Contrôler les usages de vos informations dans le Cloud avec Windows Azure AD ...
Contrôler les usages de vos informations dans le Cloud avec Windows Azure AD ...Contrôler les usages de vos informations dans le Cloud avec Windows Azure AD ...
Contrôler les usages de vos informations dans le Cloud avec Windows Azure AD ...
 
Cloud Trends 2017
Cloud Trends 2017Cloud Trends 2017
Cloud Trends 2017
 
Aws S3 uploading tricks 2016
Aws S3 uploading tricks 2016Aws S3 uploading tricks 2016
Aws S3 uploading tricks 2016
 
Build end-to-end video experiences with Azure Media Services
Build end-to-end video experiences with Azure Media ServicesBuild end-to-end video experiences with Azure Media Services
Build end-to-end video experiences with Azure Media Services
 
L'évolution du Cloud dans les 10 prochaines années
L'évolution du Cloud dans les 10 prochaines annéesL'évolution du Cloud dans les 10 prochaines années
L'évolution du Cloud dans les 10 prochaines années
 
AI for business: Capire l'opportunità
AI for business: Capire l'opportunitàAI for business: Capire l'opportunità
AI for business: Capire l'opportunità
 
Serverless Data Architecture at scale on Google Cloud Platform
Serverless Data Architecture at scale on Google Cloud PlatformServerless Data Architecture at scale on Google Cloud Platform
Serverless Data Architecture at scale on Google Cloud Platform
 
Introduzione Deep Learning & TensorFlow
Introduzione Deep Learning & TensorFlowIntroduzione Deep Learning & TensorFlow
Introduzione Deep Learning & TensorFlow
 
AWS Webcast - What's New with Amazon Elastic Transcoder
AWS Webcast - What's New with Amazon Elastic TranscoderAWS Webcast - What's New with Amazon Elastic Transcoder
AWS Webcast - What's New with Amazon Elastic Transcoder
 
Мультискрин-сервисы и гибридная ТВ-платформа Huawei
Мультискрин-сервисы и гибридная ТВ-платформа HuaweiМультискрин-сервисы и гибридная ТВ-платформа Huawei
Мультискрин-сервисы и гибридная ТВ-платформа Huawei
 
AWS Elemental Services for Video Processing and Delivery
AWS Elemental Services for Video Processing and DeliveryAWS Elemental Services for Video Processing and Delivery
AWS Elemental Services for Video Processing and Delivery
 
Cloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer ConsoleCloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer Console
 
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
 
Google Cloud Platform and Kubernetes
Google Cloud Platform and KubernetesGoogle Cloud Platform and Kubernetes
Google Cloud Platform and Kubernetes
 
AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...
AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...
AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...
 

Ähnlich wie Devday 2014 using_afs_in_your_cloud_app

Ahmedabad- Global Azure bootcamp- Azure Storage Services- Global Azure Bootca...
Ahmedabad- Global Azure bootcamp- Azure Storage Services- Global Azure Bootca...Ahmedabad- Global Azure bootcamp- Azure Storage Services- Global Azure Bootca...
Ahmedabad- Global Azure bootcamp- Azure Storage Services- Global Azure Bootca...Jalpesh Vadgama
 
Windows azure camp - Kolkata
Windows azure camp - KolkataWindows azure camp - Kolkata
Windows azure camp - KolkataAbhijit Jana
 
May 2018 Azure Need to Know Webinar
May 2018 Azure Need to Know WebinarMay 2018 Azure Need to Know Webinar
May 2018 Azure Need to Know WebinarRobert Crane
 
Windows azure camp
Windows azure campWindows azure camp
Windows azure campAbhishek Sur
 
Go…Running Kentico CMS on Windows Azure
Go…Running Kentico CMS on Windows AzureGo…Running Kentico CMS on Windows Azure
Go…Running Kentico CMS on Windows AzureThomas Robbins
 
Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Mohamed Tawfik
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiGirish Kalamati
 
Microsoft-Azure-Overvi2222222222222ew.pptx
Microsoft-Azure-Overvi2222222222222ew.pptxMicrosoft-Azure-Overvi2222222222222ew.pptx
Microsoft-Azure-Overvi2222222222222ew.pptxsaidbilgen
 
Introduction to Azure Cloud Storage
Introduction to Azure Cloud StorageIntroduction to Azure Cloud Storage
Introduction to Azure Cloud StorageGanga R Jaiswal
 
Azure News Slides for October2017 - Azure Nights User Group
Azure News Slides for October2017 - Azure Nights User GroupAzure News Slides for October2017 - Azure Nights User Group
Azure News Slides for October2017 - Azure Nights User GroupMichael Frank
 
Cloudera ref arch_azure
Cloudera ref arch_azureCloudera ref arch_azure
Cloudera ref arch_azureraivikash
 
Digitally Transform (And Keep) Your On-Premises File Servers
Digitally Transform (And Keep) Your On-Premises File ServersDigitally Transform (And Keep) Your On-Premises File Servers
Digitally Transform (And Keep) Your On-Premises File ServersAidan Finn
 
Microsoft Azure Veri Servisleri
Microsoft Azure Veri ServisleriMicrosoft Azure Veri Servisleri
Microsoft Azure Veri ServisleriÖnder Değer
 
Azure providers - Bouvet BigOne 2011
Azure providers - Bouvet BigOne 2011Azure providers - Bouvet BigOne 2011
Azure providers - Bouvet BigOne 2011Inge Henriksen
 
Microsoft Azure News - Dec 2016
Microsoft Azure News - Dec 2016Microsoft Azure News - Dec 2016
Microsoft Azure News - Dec 2016Daniel Toomey
 
Azure Stack - Azure Nights User Group
Azure Stack - Azure Nights User GroupAzure Stack - Azure Nights User Group
Azure Stack - Azure Nights User GroupMichael Frank
 
Microsoft azure infrastructure essentials course manual
Microsoft azure infrastructure essentials   course manualMicrosoft azure infrastructure essentials   course manual
Microsoft azure infrastructure essentials course manualmichaeldejene4
 

Ähnlich wie Devday 2014 using_afs_in_your_cloud_app (20)

Ahmedabad- Global Azure bootcamp- Azure Storage Services- Global Azure Bootca...
Ahmedabad- Global Azure bootcamp- Azure Storage Services- Global Azure Bootca...Ahmedabad- Global Azure bootcamp- Azure Storage Services- Global Azure Bootca...
Ahmedabad- Global Azure bootcamp- Azure Storage Services- Global Azure Bootca...
 
04 Azure IAAS 101
04 Azure IAAS 10104 Azure IAAS 101
04 Azure IAAS 101
 
Mini training - Introduction to Microsoft Azure Storage
Mini training - Introduction to Microsoft Azure StorageMini training - Introduction to Microsoft Azure Storage
Mini training - Introduction to Microsoft Azure Storage
 
Windows azure camp - Kolkata
Windows azure camp - KolkataWindows azure camp - Kolkata
Windows azure camp - Kolkata
 
May 2018 Azure Need to Know Webinar
May 2018 Azure Need to Know WebinarMay 2018 Azure Need to Know Webinar
May 2018 Azure Need to Know Webinar
 
UNIT -III.docx
UNIT -III.docxUNIT -III.docx
UNIT -III.docx
 
Windows azure camp
Windows azure campWindows azure camp
Windows azure camp
 
Go…Running Kentico CMS on Windows Azure
Go…Running Kentico CMS on Windows AzureGo…Running Kentico CMS on Windows Azure
Go…Running Kentico CMS on Windows Azure
 
Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish Kalamati
 
Microsoft-Azure-Overvi2222222222222ew.pptx
Microsoft-Azure-Overvi2222222222222ew.pptxMicrosoft-Azure-Overvi2222222222222ew.pptx
Microsoft-Azure-Overvi2222222222222ew.pptx
 
Introduction to Azure Cloud Storage
Introduction to Azure Cloud StorageIntroduction to Azure Cloud Storage
Introduction to Azure Cloud Storage
 
Azure News Slides for October2017 - Azure Nights User Group
Azure News Slides for October2017 - Azure Nights User GroupAzure News Slides for October2017 - Azure Nights User Group
Azure News Slides for October2017 - Azure Nights User Group
 
Cloudera ref arch_azure
Cloudera ref arch_azureCloudera ref arch_azure
Cloudera ref arch_azure
 
Digitally Transform (And Keep) Your On-Premises File Servers
Digitally Transform (And Keep) Your On-Premises File ServersDigitally Transform (And Keep) Your On-Premises File Servers
Digitally Transform (And Keep) Your On-Premises File Servers
 
Microsoft Azure Veri Servisleri
Microsoft Azure Veri ServisleriMicrosoft Azure Veri Servisleri
Microsoft Azure Veri Servisleri
 
Azure providers - Bouvet BigOne 2011
Azure providers - Bouvet BigOne 2011Azure providers - Bouvet BigOne 2011
Azure providers - Bouvet BigOne 2011
 
Microsoft Azure News - Dec 2016
Microsoft Azure News - Dec 2016Microsoft Azure News - Dec 2016
Microsoft Azure News - Dec 2016
 
Azure Stack - Azure Nights User Group
Azure Stack - Azure Nights User GroupAzure Stack - Azure Nights User Group
Azure Stack - Azure Nights User Group
 
Microsoft azure infrastructure essentials course manual
Microsoft azure infrastructure essentials   course manualMicrosoft azure infrastructure essentials   course manual
Microsoft azure infrastructure essentials course manual
 

Mehr von Mihail Mateev

Dealing with Azure Cosmos DB
Dealing with Azure Cosmos DBDealing with Azure Cosmos DB
Dealing with Azure Cosmos DBMihail Mateev
 
Cloud conf-varna-2014-mihail mateev-spatial-data-and-microsoft-azure-sql-data...
Cloud conf-varna-2014-mihail mateev-spatial-data-and-microsoft-azure-sql-data...Cloud conf-varna-2014-mihail mateev-spatial-data-and-microsoft-azure-sql-data...
Cloud conf-varna-2014-mihail mateev-spatial-data-and-microsoft-azure-sql-data...Mihail Mateev
 
Varna conf nodejs-oss-microsoft-azure[final]
Varna conf nodejs-oss-microsoft-azure[final]Varna conf nodejs-oss-microsoft-azure[final]
Varna conf nodejs-oss-microsoft-azure[final]Mihail Mateev
 
Win j svsphonegap-damyan-petev-mihail-mateev
Win j svsphonegap-damyan-petev-mihail-mateevWin j svsphonegap-damyan-petev-mihail-mateev
Win j svsphonegap-damyan-petev-mihail-mateevMihail Mateev
 
Using SQL Local Database in Mobile Applications
Using SQL Local Database in Mobile ApplicationsUsing SQL Local Database in Mobile Applications
Using SQL Local Database in Mobile ApplicationsMihail Mateev
 
Spatial Data with SQL Server Reporting Services
Spatial Data with SQL Server Reporting ServicesSpatial Data with SQL Server Reporting Services
Spatial Data with SQL Server Reporting ServicesMihail Mateev
 

Mehr von Mihail Mateev (6)

Dealing with Azure Cosmos DB
Dealing with Azure Cosmos DBDealing with Azure Cosmos DB
Dealing with Azure Cosmos DB
 
Cloud conf-varna-2014-mihail mateev-spatial-data-and-microsoft-azure-sql-data...
Cloud conf-varna-2014-mihail mateev-spatial-data-and-microsoft-azure-sql-data...Cloud conf-varna-2014-mihail mateev-spatial-data-and-microsoft-azure-sql-data...
Cloud conf-varna-2014-mihail mateev-spatial-data-and-microsoft-azure-sql-data...
 
Varna conf nodejs-oss-microsoft-azure[final]
Varna conf nodejs-oss-microsoft-azure[final]Varna conf nodejs-oss-microsoft-azure[final]
Varna conf nodejs-oss-microsoft-azure[final]
 
Win j svsphonegap-damyan-petev-mihail-mateev
Win j svsphonegap-damyan-petev-mihail-mateevWin j svsphonegap-damyan-petev-mihail-mateev
Win j svsphonegap-damyan-petev-mihail-mateev
 
Using SQL Local Database in Mobile Applications
Using SQL Local Database in Mobile ApplicationsUsing SQL Local Database in Mobile Applications
Using SQL Local Database in Mobile Applications
 
Spatial Data with SQL Server Reporting Services
Spatial Data with SQL Server Reporting ServicesSpatial Data with SQL Server Reporting Services
Spatial Data with SQL Server Reporting Services
 

Kürzlich hochgeladen

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Kürzlich hochgeladen (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Devday 2014 using_afs_in_your_cloud_app

  • 1. Using the Azure Files in Your Cloud Applications Introduction to Microsoft Azure File Service
  • 2.
  • 3.
  • 4. Mihail Mateev Senior Technical Evangelist @ Infragistics, Microsoft Azure MVP 30 of September 2014 Using the Azure Files in Your Cloud Applications Mihail Mateev
  • 5.
  • 6. About the speaker ... Mihail Mateev is a Senior Technical Evangelist, Team Lead at Infragistics Inc., Community & Evangelism Lead for Europe, Microsoft Azure MVP Mihail works in various areas related to Microsoft technologies : Silverlight, WPF, WP, LightSwitch, WCF, ASP.Net MVC, MS SQL Server and Microsoft Azure
  • 7. • How to Use Azure File Storage? • File storage concepts • Limitations • Manage Azure Files • When to use Azure Blobs, Azure Files, or Azure Data Disks? • Demos
  • 8. • The Azure File service enables the use of highly available and scalable Azure blob storage to be used as file shares for multiple virtual machines or PaaS roles. • You can create a cloud based file share on resilient storage subsystems and then access those file shares using the standard SMB 2.1 protocol. • The file shares appear as mapped drives on the virtual machines they are assigned to.
  • 9. • Azure files is a way to share persistent data between multiple servers or PaaS roles (such as websites) without having to set up file servers. • The storage is provided by highly resilient storage and so there is no need to worry about placement and accessibility of individual VHD files • You can share it with several VMs for read/write access ( Azure Drive allows to write only one VM, but read data from many)
  • 10. Currently during the preview the costs are discounted at 50% : • €0.0298 per GB for locally redundant file shares • €0.0373 per GB for geo redundant file shares. Full pricing for storage can be found here http://azure.microsoft.com/en-us/pricing/details/storage/ .
  • 11. • First we use PowerShell to show how to create a new Azure File share, add a directory, upload a local file to the share, and list the files in the directory. • Then you can mount the file share from an Azure virtual machine, just as you would any SMB share • You also can use the Azure .NET Storage Client Library to work with the file share from a desktop application.
  • 12. • Since a File storage share is a standard SMB 2.1 file share, applications running in Azure can access data in the share via file I/O APIs. • Developers can therefore leverage their existing code and skills to migrate existing applications. • IT Pros can use PowerShell cmdlets to create, mount, and manage File storage shares as part of the administration of Azure applications. This guide will show examples of both.
  • 13. Common uses of File storage: •Migrating on-premise applications that rely on file shares to run on Azure virtual machines or cloud services, without expensive rewrites •Storing shared application settings, for example in configuration files •Storing diagnostic data such as logs, metrics, and crash dumps in a shared location •Storing tools and utilities needed for developing or administering Azure virtual machines or cloud services
  • 15. • Azure files is in preview mode and so there will be no SLAs provided • Once activated, you must set up a new storage account which can be regional or assigned to an affinity group. • You can only create the file shares using PowerShell. • Read-Access Geographically Redundant Storage (RA-GRS) storage accounts are not supported • The file shares are only available to virtual machines or PaaS websites within the same datacenter as the file share storage account. • Access to the file shares is provided via Azure Storage Keys - there are is no AD integration.
  • 16. • 5TB per share • Max file size 1TB • Up to 1000 IOPS (input/output operations per second of size 8KB) per share • Throughput Up to 60MB/s per share of data transfer • SMB 2.1 support only
  • 17. • Activate Azure Files Preview • Create new storage account and retrieve access key. • Download the Azure file storage cmdlets, unblock, extract and import into your PowerShell session. • Install Azure PowerShell Modules and connect to you Azure subscription. • Setup the account credentials and create the file share from PowerShell,. • From another Azure VM attach the file share as a mapped drive.
  • 18. Prerequisites • Sign up for service: go to the Microsoft Azure Preview Portal, and sign up for the Microsoft Azure Files service using one or more of your subscriptions • Create a new storage account The file endpoint for the account will be: <account name>.file.core.windows.net.
  • 19. # import module and create a context for account and key import-module .AzureStorageFile.psd1 $ctx=New-AzureStorageContext <account name> <account key> # create a new share $s = New-AzureStorageShare <share name> -Context $ctx # create a directory in the test share just created New-AzureStorageDirectory -Share $s -Path testdir # upload a local file to the testdir directory just created Set-AzureStorageFileContent -Share $s -Source D:uploadtestfile.txt -Path testdir # list out the files and subdirectories in a directory Get-AzureStorageFile -Share $s -Path testdir # download files from azure storage file service Get-AzureStorageFileContent -Share $s -Path testdir/testfile.txt -Destination D:download # remove files from azure storage file service Remove-AzureStorageFile -Share $s -Path testdir/testfile.txt
  • 20. • You can also create a file share programmatically using the ‘Create Share’ REST API with version 2014-02-14 REST APIs are available via http(s)://<account name>.file.core.windows.net Uri. • The .NET Storage Client Library starting with 4.0 version uses the REST version 2014-02-14 and supports Azure Files. static void Main( string[] args) { CloudStorageAccount account = CloudStorageAccount.Parse(cxnString); CloudFileClient client = account.CreateCloudFileClient(); CloudFileShare share = client.GetShareReference("bar"); share.CreateIfNotExistsAsync().Wait(); }
  • 21. • To use the share via SMB 2.1 protocol, log into the VM that requires access to the share and execute “net use” : net use z: <account name>.file.core.windows.net<share name> /u:<account name> <account key> • Share from C# code: ExecuteCommand(“ <your command> “ );
  • 22. “net use” demo : • cmdkey /add:uploadfileshare.file.core.windows.net /user:uploadfileshare /pass:cjz1PD0ivoammgPUJGfRu2Lcy/blhmvlHUkAWX6tSN6lz2/kJVG zTyqYJ2Byf5Y4/BwG8KNS/jWXvQfRsZiDPA== • net use z: uploadfileshare.file.core.windows.netmyshare
  • 23. Azure Files is a separate service from Azure Blobs. In preview, we do not support copying Azure Blobs to Azure Files. Microsoft Azure Import/Export Service does not support Azure Files for preview
  • 24. AzCopy •Upload files from your local disk recursively to Azure Files, with all folder structures copied as well. AzCopy d:test https://myaccount.file.core.windows.net/myfileshare/ /DestKey:key /s • Upload files with certain file pattern from your local disk to Azure Files. AzCopy d:test https://myaccount.file.core.windows.net/myfileshare/ /DestKey:key ab* /s •Download all files in the file share recursively to local disk, with all folder structures copied as well. AzCopy https://myaccount.file.core.windows.net/myfileshare/ d:test /SourceKey:key /s •Download one file from the file share to your local disk AzCopy https://myaccount.file.core.windows.net/myfileshare/myfolder1/ d:test /SourceKey:key abc.txt
  • 25. Setup for accessing the file share private string connectionString { get { return @"DefaultEndpointsProtocol=https;AccountName=" + StorageAccountName + ";AccountKey=" + StorageAccountKey; } } CloudStorageAccount cloudStorageAccount = CloudStorageAccount.Parse(connectionString); CloudFileClient cloudFileClient = cloudStorageAccount.CreateCloudFileClient();
  • 26. Setup for accessing the file share CloudFileShare cloudFileShare = cloudFileClient.GetShareReference(ShareName); cloudFileShare.CreateIfNotExists(); CloudFileDirectory rootDirectory = cloudFileShare.GetRootDirectoryReference(); writeToRoot = string.IsNullOrWhiteSpace(FolderPath); CloudFileDirectory fileDirectory; if (writeToRoot) { fileDirectory = null; } else { fileDirectory = rootDirectory.GetDirectoryReference(FolderPath); fileDirectory.CreateIfNotExists(); }
  • 27. Download files from a folder on the share CloudFile cloudFile2 = directoryToUse.GetFileReference(fileNameOnly); cloudFile2.DownloadToFile(localPath, FileMode.Create); Get a list of files in a folder on the share public enum ListBoxFileItemType { File, Directory, Other }; public class ListBoxFileItem { public string FileName { get; set; } public ListBoxFileItemType FileItemType { get; set; } public override string ToString() { return FileName; } }
  • 28. •Azure Data Disks – Provides client libraries and a REST interface that allows data to be persistently stored and accessed from an attached virtual hard disk. Reasons you would use Azure Data Disks: • You want to lift and shift applications that use native file system APIs to read and write data to persistent disks. • You want to store data that is not required to be accessed from outside the virtual machine to which the disk is attached.
  • 29. •Azure Blobs - Provides client libraries and a REST interface that allows unstructured data to be stored and accessed at a massive scale in block blobs. Reasons you would use Azure Blobs: • You want your application to support streaming and random access scenarios. • You want to be able to access application data from anywhere.
  • 30. •Azure Files - Provides an SMB 2.1 interface and a REST interface that allows easy access from anywhere to stored files. Reasons you would use Azure Files: • You want to lift and shift an application to the cloud which already uses the native file system APIs to share data between it and other applications running in Azure. • You want to store development and debugging tools that need to be accessed from many virtual machines.
  • 31. • • Azure Files 2014-04-14 version • AzCopy • Azure File PowerShell Cmdlets (CTP) • Storage .NET Client Library 4.0 for 2014-04-14 version • • • • http://www.Infragistics.com/mihail_mate ev