#AzureStack & Storage Space Direct (#S2D)

#AzureStack & Storage Space Direct (#S2D)

How Does Azure Stack Utilize S2D?

Just a brief on where and how S2D was fit into Azure Stack box!

Azure Stack uses S2D in the hyper-converged mode. In addition, Microsoft made the following design choices for Azure Stack and S2D:

Let’s start with File System and will be Clustered Shared Volume File System (CSVFS) with Resilient File System (ReFS).

    • Cluster-wide data access
    • Fast VHDX creation

Storage Spaces will be Single storage pool utilizing all available drives (except boot drives). In Azure Stack: 

Two virtual disks created per node in the Azure Stack deployment. One for tenant storage and another for ephemeral storage such as pagefile blobs for virtual machines.

Storage Bus Cache will be SMB3 and SMB3 direct

Storage in Servers with locally attached disks are listed below:

    • Serial ATA (SATA)
    • Serial Attached SCSI (SAS)
    • Non-volatile Memory Express (NVME)
Answers for 1st Quiz on #AzureStack

Answers for 1st Quiz on #AzureStack

Question: You architect a hybrid solution for a company that includes Azure Stack. You need to allocate teams to each role. Which person is responsible for allocating tenant subscriptions?

  • Developer
  • Azure Stack Operator
  • Azure Administrator
  • Azure Solution Architect

Answer: The Azure Administrator is responsible to manage (create, update, and remove) user subscriptions in the cloud, including who can access them and the actions that can be performed on the subscriptions.

Question: Which following role is best described as the persona to consume resources offered in an Azure Stack cloud environment?

  • Developer
  • Azure Stack Operator
  • Azure Administrator
  • Azure Solution Architect

Answer: The developer persona is responsible for managing the deployment and configuration of resources consumed in Azure Stack from a user perspective.

Question:  An Azure Stack user would like to download the latest solution built and published for Azure from a third-party vendor on the public Azure Marketplace. What should you, as the Azure Stack Operator of the Azure Stack environment, do?

  • Install Active Directory Federation Services (AD FS) with the deployment.
  • Enable DevOps for the deployment.
  • Promote the tenant to cloud administrator.
  • Enable Marketplace Syndication for the deployment.

Answer: Marketplace Syndication can be used to allow Azure Stack Operators to download solutions from the Azure Marketplace.

Question: By default, which two Azure services can be used with Azure Stack?

  • Cognitive Services
  • Machine Learning
  • Networking (virtual network, load balancer, VPN gateway)
  • Blob Storage

Answer: Azure Stack offers a subset of Azure services that are available on public Azure. The following Azure services are available in default Azure Stack deployment: virtual machines, VM scale sets, Virtual network, Load balancer, VPN gateway, Storage, Blob, Tables, Queues, and Key Vault. Azure App service, SQL and MySQL RPs can be deployed by users onto their Azure Stack environment after the initial deployment.

Question: A company is developing a solution that processes sensitive data. The cloud strategy dictates stringent data handling. Which persona is responsible for meeting the data protection requirements?

  • Developer on Azure
  • Azure Stack Operator
  • Azure Administrator
  • Azure Solution Architect

Answer: The Azure solution architect persona is responsible for the design of the cloud from a strategic perspective to ensure it meets the needs of the business. The other persons are responsible for executing and implementing this strategy.

Question: You are developing a solution that processes sensitive data. The customer decides that the solution must run on On-Prem cloud infrastructure due to regulatory requirements. For which three use cases should you implement Azure Stack?

  • leverage the cloud application model for their on-premises environment
  • edge and disconnected scenarios
  • having Microsoft manage the complete infrastructure
  • having everything updated as soon as possible
  • cloud applications that meet varied regulatory requirements

Answer: Azure Stack is an extension of Azure, and it unlocks innovation with hybrid cloud applications. It addresses latency and connectivity requirements in edge and disconnected solutions. Customers can develop and deploy applications in Azure and on-premises with Azure Stack to meet their regulatory or policy requirements. Customers can also update and extend legacy applications with modern Azure services and deploy on-premises with Azure Stack.

Question: You architect a hybrid solution for a company that includes Azure Stack. You need to allocate teams to each role. Which person is responsible for consuming and managing resources offered by the Azure Stack environment?

  • Developer
  • Azure Stack Operator
  • Azure Administrator
  • Azure Solution Architect

Answer: The developer persona is responsible for managing the deployment and configuration of resources consumed in Azure Stack from a user perspective.

Question: You are designing a hybrid cloud solution for a company. You need to decide if Azure Stack is an appropriate platform for the solution. Which two Azure services does Azure Stack offer out of the default deployment?

  • application insights
  • app service
  • Networking (virtual network, load balancer, VPN gateway)
  • Azure machine learning
  • Cosmos DB
  • virtual machines and VM scale sets

Answer: Azure Stack offers a subset of Azure services that are available on public Azure. The following Azure services are available in default Azure Stack deployment: virtual machines, VM scale sets, Virtual network, Load balancer, VPN gateway, Storage, Blob, Tables, Queues, and Key Vault. Azure App service, SQL and MySQL RPs can be deployed by users onto their Azure Stack environment after the initial deployment.

Question: You are managing an Azure Stack environment. Which portal should you use for each scenario?

  • Azure Stack Operators to manage and maintain the Azure Stack environment
  • View and manage the cloud resources.

Azure Stack Admin Portal?

Azure Stack Tenant Portal?

Answer: Upon completion of deployment, Azure Stack solution comes with two separate portals, one for Azure Stack Operators to manage and maintain the Azure Stack environment and another for Azure Administrators, developers and other users to request, create, manage and maintain the cloud resources that are allocated for them under their subscription.

  • Azure Stack Operators to manage and maintain the Azure Stack environment

Azure Stack Tenant Portal

  • View and manage the cloud resources.

Azure Stack Admin Portal

Question: In today’s cloud environment, customers have choices of deploying and leveraging various types of cloud computing technologies, for example, public cloud, hybrid cloud, community cloud, and private cloud. Which of the two answers below best define the type of cloud that Azure Stack is?

  • community cloud
  • hybrid cloud
  • private cloud
  • public cloud

Answer: Azure Stack enables deployment and management in a hybrid cloud environment or in a private cloud scenario.

Question: You plan to deploy an Azure Stack environment. You are trying to map various user/job roles to their corresponding responsibilities in a hybrid cloud environment. Select the best matching role for the following responsibilities:

  • The user who is responsible for day-to-day operations of an Azure Stack deployment
  • The user who is responsible for managing Azure Stack subscriptions
  • The user who is responsible for configuring individual subscription services

Chose a right option from below:

  • Azure Administrator
  • Azure Solution Architect
  • Azure Stack Operator
  • Developer

Answer: The Azure Solution Architect is the persona that is responsible for the overall cloud strategy in a company. The Azure Stack Operator manages day-to-day operations for the Azure Stack deployment. The Azure Administrator can manage the subscriptions for a user. The developer persona consumes the cloud resources offered by clouds and can manage their own resources within a subscription.

#Microsoft #Azure #AzureStack #MSFT #MSFTADVOCATE #Settechie

 

1st Quiz on #AzureStack

1st Quiz on #AzureStack

#Microsoft #AzureStack #MSFTAdvocate #MSAzureStack #BrianStorming

Please try to answer questions, these will help you to decide the functions and roles of Azure Stack operations.

Question: You architect a hybrid solution for a company that includes Azure Stack. You need to allocate teams to each role. Which person is responsible for allocating tenant subscriptions?

  • Developer
  • Azure Stack Operator
  • Azure Administrator
  • Azure Solution Architect

Question: Which following role is best described as the persona to consume resources offered in an Azure Stack cloud environment?

  • Developer
  • Azure Stack Operator
  • Azure Administrator
  • Azure Solution Architect

Question:  An Azure Stack user would like to download the latest solution built and published for Azure from a third-party vendor on the public Azure Marketplace. What should you, as the Azure Stack Operator of the Azure Stack environment, do?

  • Install Active Directory Federation Services (AD FS) with the deployment.
  • Enable DevOps for the deployment.
  • Promote the tenant to cloud administrator.
  • Enable Marketplace Syndication for the deployment.

Question: By default, which two Azure services can be used with Azure Stack?

  • Cognitive Services
  • Machine Learning
  • Networking (virtual network, load balancer, VPN gateway)
  • Blob Storage

Question: A company is developing a solution that processes sensitive data. The cloud strategy dictates stringent data handling. Which persona is responsible for meeting the data protection requirements?

  • Developer on Azure
  • Azure Stack Operator
  • Azure Administrator
  • Azure Solution Architect

Question: You are developing a solution that processes sensitive data. The customer decides that the solution must run on On-Prem cloud infrastructure due to regulatory requirements. For which three use cases should you implement Azure Stack?

  • leverage the cloud application model for their on-premises environment
  • edge and disconnected scenarios
  • having Microsoft manage the complete infrastructure
  • having everything updated as soon as possible
  • cloud applications that meet varied regulatory requirements

Question: You architect a hybrid solution for a company that includes Azure Stack. You need to allocate teams to each role. Which person is responsible for consuming and managing resources offered by the Azure Stack environment?

  • Developer
  • Azure Stack Operator
  • Azure Administrator
  • Azure Solution Architect

Question: You are designing a hybrid cloud solution for a company. You need to decide if Azure Stack is an appropriate platform for the solution. Which two Azure services does Azure Stack offer out of the default deployment?

  • application insights
  • app service
  • Networking (virtual network, load balancer, VPN gateway)
  • Azure machine learning
  • Cosmos DB
  • virtual machines and VM scale sets

Question: You are managing an Azure Stack environment. Which portal should you use for each scenario?

  • Azure Stack Operators to manage and maintain the Azure Stack environment
  • View and manage the cloud resources.

Azure Stack Admin Portal?

Azure Stack Tenant Portal?

Question: In today’s cloud environment, customers have choices of deploying and leveraging various types of cloud computing technologies, for example, public cloud, hybrid cloud, community cloud, and private cloud. Which of the two answers below best define the type of cloud that Azure Stack is?

  • community cloud
  • hybrid cloud
  • private cloud
  • public cloud

Question: You plan to deploy an Azure Stack environment. You are trying to map various user/job roles to their corresponding responsibilities in a hybrid cloud environment. Select the best matching role for the following responsibilities:

  • The user who is responsible for day-to-day operations of an Azure Stack deployment
  • The user who is responsible for managing Azure Stack subscriptions
  • The user who is responsible for configuring individual subscription services

Chose a right option from below:

  • Azure Administrator
  • Azure Solution Architect
  • Azure Stack Operator
  • Developer

 

I will publish answers by Thursday 🙂

#set-techie #lingarajbenni

Azure Resource Manager Templates in Azure Stack!

Resource Manager templates are one of the key features in Azure Stack. They provide the ability to deploy an application including all its dependencies in a single operation. we also can redeploy templates to update an application or service when required. Example, there is a Resource Manager template that we can use to deploy a Dev SFB Infra that includes the following:

    • Virtual Networking
    • Storage Accounts
    • Virtual Machine configured with Active Directory Domain Services (AD DS)
    • Virtual Machine configured with SQL Server
    • Virtual Machine configured with a single machine instance of an SFB server with multi roles.

We can create templates by using JavaScript Object Notation (JSON) and then import them into Resource Manager when creating a new template. In addition to the SFB template mentioned, there are numerous other templates available on GitHub.

To view and download the Azure Stack Resource Manager templates from GitHub, go to the following website.

Azure/AzureStack-QuickStart-Templates

https://aka.ms/moc-10995A-az01

Other templates that are available include:

    • AD DS
    • SQL Server
    • Simple Virtual Machine

We can deploy templates by using the Azure Stack Portals, Windows PowerShell, Microsoft Visual Studio, or the Azure Command Line Interface (CLI).

How #AzureStack Enables #DevOps?

Cloud technology and Azure Stack can help to adopt of practices that enable DevOps. Like, self-service in a cloud allows for quick deployment of application(Software package) utilizing what is known as Infrastructure as Code (IaC). By using Azure Resource Manager (ARM) templates in #AzureStack, we can define reusable deployment configurations that we can use to quickly deploy application infrastructure with a predictable method that works every time. This is known as idempotent. The integration between ARM Templates and Desired State Configuration (DSC) enables you to also ensure the application is configured correctly when it is being deployed.

To further understand how Azure Stack enables DevOps, review the following common DevOps workflows that take place with the development of on-premises applications:

    1. Developers write the application and share their infrastructure requirements to the operations team.
    2. The developers currently use their staging environment to develop the application further.
    3. This leads to infrastructure requirement changes.
    4. The application is deployed to the staging environment successfully.
    5. When the application is deployed to the preproduction environment, it fails because the infrastructure has not been updated to meet the new requirements.

The issues noted in the preceding scenario can also be duplicated when we move the application from the preproduction environment to production. These issues fall into three main areas:

    1. The infrastructure required for the application is defined separately from the application.
    2. There are several hand-offs between development and operations.
    3. The definitions for deployment are platform-specific.

This can also mean that the deployment of the application to the cloud will also be problematic due to the infrastructure requirements. With Azure Stack and Azure, the workflow of the development process changes as shown in the following process:

    1. The application and infrastructure code are developed at the same time and stored in the same repository.
    2. The application is configured to run in the staging, preproduction, and production environments regardless of whether that is on-premises (Azure Stack) or in the public cloud (Azure).

This workflow has the following benefits:

    1. The infrastructure required for the application is defined as a code (IaC), which implies fewer errors.
    2. Deployment times are faster providing end users with more value from their applications.
    3. Requirements can be defined for on-premises, off-premises, or both.

 

Azure Stack Usage and Billing

Azure Stack Usage and Billing

This write up explains you that how Azure Stack usage is processed under:

  • Enterprise Agreement
  • Cloud Service Provider (CSP)

Brief about Azure Stack licensing models:

Consumption

  • No upfront licensing fees: don’t pay until you use the service
  • Same subscriptions, monetary commitment, invoice as Azure
  • EA and CSP channels

Capacity

  • Fixed fee, annual subscription, based on number of physical cores
  • No usage metering or connection to commerce
  • EA channel only (no CSP)

Azure Stack usage reporting:

Azure Stack usage reporting - flow

Core Design

We will learn on how charging meters exactly work till we receive usage report with billing.

Base is Azure Stack Resources, process of having your meter data transferred to azure is explained in the following section, each resources provider will record the service usage (Usage Record- Details will be tagged with GUID of subscription) every hour and send Usage Record to Usage Service and it stores the info in Usage DB which is local in the stack. In usage DB two services will have access, those are Usage Service and Usage Bridge (Will be active every hour at least). Usage Bridge connects to Azure public cloud.

Usage Bridge is the one which will pass the data to usage gateway within Azure public cloud, once the data processed at usage gateway, it will be submitted to commerce of Azure. The Commerce will be submitting data to billing portal ad Azure usage API. The data of usage will be processed as Azure usage metering like it is been used in Azure Public. There is no technical difference in the metering services for Azure and Azure Stack as process is similar. The meters are kept separate as charging model is different for azure stack. Only two ways available to distinguish your azure stack usage in billing and those are, region of Azure datacenter which will be called as “AzureStack region” for Stack usage(Billing portal use this). Other one is category of metering services to charge you on the usage is different from Azure public category (Azure Usage API will use this).

Mapping usage for commerce processing, usage gateway performs the following mappings (3 types of operations will happen at Azure Stack Usage Gateway)

Mapping Usage for commerce processing

  • Mapping Local subscription  to Azure Subscription, which is similar to mapping local API data to Azure API.
  • The meter IDs are diff in stack and in commerce, meters itself which are built in the stack are different compared to commerce. The stack resource providers generate more than 20 kinds of those. But Microsoft will be charging using 6 meters. But remaining meters will help partners or company to charge end customer for another usage, example: D series machines is deployed in the stack and Microsoft is charging using only one meter “Base VM size hours” for raw VM OR “Windows VM Size Hours” for VM with MS OS License. Apart from this you might be willing to charge on the size of RAM used in the machine, which you can charge using the “VM Size Hours” meter. This meter will capture most of the other data for extra charge by service provider, user workloads should run in the user/local subscriptions.

Meters used by Microsoft are listed below:

Meters used by Microsoft1

Meters used by Microsoft

 

 

  • There is need of adjusting of time stamp for meters associated with usage, this is not always but may be required. Example : Network Outage, in case of outage the usage records might not get submitted on the same day and it will be submitted to commerce on next available day but commerce might reject the record. Hence Usage Gateway will modify the time stamp accordingly, this does not mean original time stamp will be erased! The original time stamp details will be kept under additional information data with usage record while submitting it to commerce. So you can view all the data in the bill, this data will help customers to review local subscriptions and this will intern help to create charges internally to the Bus if needed.

Usage reporting should be deployed and configured. Most of the scenarios you will have OEM deploying the same. Usage in the SDK is free but we can configure for testing and see in the azure billing section on how it will get billed. (Soon I will build a usage report using SDK)

Registration script:

(A deployment engineer will run this for you!)

Add-AzsRegistration -CloudAdminCredential $cloudAdminCredential -AzureDirectoryTenantName $azureDirectoryTenantName  -AzureSubscriptionId $azureSubscriptionId -PrivilegedEndpoint $privilegedEndpoint -BillingModel <PayAsYouUse or Capacity>

Documentation in GitHub > Azure Stack Tools > Registration

Usage Reporting for EA customers

  • EA with Azure enrollment
  • Azure subscription
  • Registration using EA Azure subscription
  • Usage reported via Azure EA portal and in usage reports

Usage Reporting for Service Providers

Direct CSP Tier1 partners, owns the Azure stack and operates it. These guys will register the CSP- Azure Stack, Internal CSP tenant has to be created for dummy use and CSPs are allowed to create this tenant as Subscription as zero showed below, this will allow CSPs to register the Azure Stack under it. While adding new or existing customer, CSPs have to create the AAD tenants and CSP azure subscriptions, then add these subscriptions under registration. End customer will not see their usage in their portal or their bill, these will be available in in your CSP subscription.

Each of these end customer might have multiple local subscriptions under one Azure stack subscription, billing data are passed in similar way like explained above. Looks similar to below:Direct CSP

The Direct CSP operates Azure Stack

  • Create tenants, and Azure subscriptions in Partner Center (same as Azure)
  • Update Azure Stack registration with tenants and subscriptions
  • Usage reported in Recon file and through Partner Center APIs

 

InDirect CSPThe Indirect CSP Partner operates Azure Stack, most of the distributors carry out these models:

  • Create tenants, and Azure subscriptions in Partner Center (same as Azure)
  • Update Azure Stack registration with tenants and subscriptions
  • Usage reported in Recon file and through Partner Center APIs

Within Azure Stack We can build our own billing commerce using local API metering and these data will be saved in Azure commerce for 180 days for us to retrieve and use. Where should I get usage data?

Azure Commerce/Partner Center

  • Chargeable meters only
  • Central view of all your Azure Stacks and Azure
  • Probably already doing it

Azure Stack Usage APIs

  • More usage meters
  • No time advantage
  • Need to run collection on each Azure Stack
  • Usage data retained for 180 days

Local usage meters

Resource provider Meter name Description
Network Static IP Address Usage Count of IP addressess used
  Dynamic IP Address Usage Count of IP addressess used
Storage TableCapacity Total capacity consumed by tables
  PageBlobCapacity Total capacity consumed by page blobs
  QueueCapacity Total capacity consumed by queue
  BlockBlobCapacity Total capacity consumed by block blobs
  TableTransactions Table service requests (in 10,000s)
  TableDataTransIn Table service data ingress in GB
  TableDataTransOut Table service data egress in GB
  BlobTransactions Blob service requests (in 10,000s)
  BlobDataTransIn Blob service data ingress in GB
  BlobDataTransOut Blob service data egress in GB
  QueueTransactions Queue service requests (in 10,000s)
  QueueDataTransIn Queue service data ingress in GB
  QueueDataTransOut Queue service data egress in GB
Compute Base VM Size Hours Number of vcores times minutes the VM ran
  Windows VM Size Hours Number of vcores times minutes the VM ran
  VM size hours Captures both Base and Windows VM. Does not adjust for vcores
Key Vault Key Vault transactions Number of REST API requests received by Key Vault data plane

Soon Microsoft will release AppService meter (vcores); meter will be chargeable

Current list : Local Meter ID list update

Azure Commerce meters

Resource GUID Service Name Service Type Resource Name Direct Unit of Measure
0c1fecb6-52d8-4130-bbfa-f79e6a5b056d Storage Standard Disks Storage 1 GB
190c935e-9ada-48ff-9ab8-56ea1cf9adaa App Service   App 1 Core Hour
3e59e16d-a651-4979-a727-423969613c6b Virtual Machines   VM Admin 1 Core Hour
44ca5145-137d-4740-9845-b08784206c45 Storage Standard Disks Storage Admin 1 GB
5849dc2e-ac2e-489f-a53c-b2dfb0f5bdff Storage Tables Storage 1 GB
5bfe1d6a-bdf3-4cfe-8d36-a1c8e4734921 Storage Queues Storage 1 GB
7bc19779-56bc-474d-8c88-36fbd79ae004 Virtual Machines   VM 1 Core Hour
8767aeb3-6909-4db2-9927-3f51e9a9085e Storage Block Blob Storage Admin 1 GB
8a913f38-33b4-4772-9488-e89522fc09e5 Storage Block Blob Storage 1 GB
8e9d8811-9f3d-4567-8258-0ba581c143b8 Storage Queues Storage Admin 1 GB
d30b4825-579c-4463-a83e-cbd0e04dff81 Virtual Machines   Windows VM Admin 1 Core Hour
daa83056-2903-4286-826b-564f3037bf61 Storage Tables Storage Admin 1 GB
dba5e57a-99ce-4843-b7a6-1d70f36fa1a1 App Service   App Admin 1 Core Hour
fb8c0713-ea20-40bf-901f-5560fd3f6330 Virtual Machines   Windows VM 1 Core Hour

Hope this is been informative to understand the Azure Stack metering and usage reporting services. Please evaluate the same by commenting and sharing the suggestions in comments section below.

If you have questions, you can share it with me.