Presentation is loading. Please wait.

Presentation is loading. Please wait.

Office Hours for Startups

Similar presentations


Presentation on theme: "Office Hours for Startups"— Presentation transcript:

1 Office Hours for Startups
Making most of Azure platform Bojan Vrhovnik/Miroslav Kubovčík 28th July 2016 From technology point of view 90 minutes + QA

2 Bojan Vrhovnik Miroslav Kubovčík
Technical Evangelist in Slovenia ( Web Developer and IoT enthusiast Azure Certified Professional Developer Hiker, new Father(4 months old baby boy) Technical Evangelist in Slovakia (slovakia.travel) Database and .NET Developer Azure Solutions Architect Certified Primary specialization – biking  Miroslav Kubovčík

3 Logistics Question in chat please, we will (try) to answer as soon as possible (or at the end). Limited number of attendees: feel free to use mic! (Do not forget to unmute FIRST )

4 Let’s start

5 Agenda How to extend your Bizspark team and technically connect Azure subscriptions How to control your Azure Services without Azure portal & Powershell Platform Services – AppService, Logic Apps, API Apps SaaS – Database, NoSQL and many others

6 BizSpark team benefits summary
MSDN Subscription Software for development, testing and production 5 individual MSDN subscriptions in BizSpark (Administrator + 4) Azure benefit Individual Azure subscription per MSDN subscription For dev/test and production (Windows Server, Linux, Open Source...) Credited with 150 USD/month per Azure subscription Every owner of MSDN subscription has to create own Azure subscription

7 How to add new member to your BizSpark team

8 BizSpark administrator: log in to www.bizspark.com

9 BizSpark Administrator: manage your team

10 BizSpark Administrator: add new member and submit

11 New member: click on activation link in received e-mail

12 New member : activate your membership

13 New member : accept membership

14 New member : http://msdn.microsoft.com/subscriptions
Log in with same used in membership activation!!!

15 New member: Activate Microsoft Azure
Click on “Activate Microsoft Azure” on MSDN Subscriptions/My Account

16 How to connect services from separate Azure subscriptions
12/3/ :07 PM How to connect services from separate Azure subscriptions Platform services (e.g. Azure SQL DB, WebApps, DocumentDB, Storage,…) has public DNS addresses. So, it’s simple. Non-publically visible VMs can be connected through VNETs Using VPN Gateways, usable for cross-region VNETs Using VNET Peering (public preview from 27th july) inside region VNETs With spending limit activated suitable only for dev/test scenarios IP address space of connecting VNETs cannot overlap © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 How to connect VNETs cross-subscriptions using VPN Gateways

18 BizSpark member with Azure Subscription 1
Then create Gateway Subnet in this VNET Then create Virtual Network Gateway for this VNET

19 BizSpark member with Azure Subscription 2
Then create Gateway Subnet in this VNET Then create Virtual Network Gateway for this VNET

20 Finally connect VNETsSub1GW and VNETSub2GW
Prepare one “shared key” for both connections PowerShell supported (PS script on next slides) New-AzureRmVirtualNetworkGatewayConnection Create VNET connection from VNETSub1GW to VNETSub2GW Create VNET connection from VNETSub2GW to VNETSub1GW At last check servers visibility with psping or telnet to port

21 PowerShell script from Subscription1
#Run in Subscription1 Login-AzureRmAccount Get-AzureRmSubscription Select-AzureRmSubscription -SubscriptionName “name of Subscription 1" #Subscription1 info, resource group info $Location1 = "North Europe" $RG1 = "rgcrossiet" $GWName = "VNETSub1GW" $vnet1gw = Get-AzureRmVirtualNetworkGateway -Name $GWName1 -ResourceGroupName $RG1 #Subscription2 info $vnet2gw = New-Object Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGateway $vnet2gw.Name = "VNETSub2GW" #read from Azure portal in Subscription2 from VNETSub2GW -> Properties resourceID $vnet2gw.Id = "resurce ID of VNETSub2GW in Subscription 2" #create connection from Subscription1 to Subscription2 with shared key e.g. AzurePre1Po3J3 $Connection12 = "VNet1toVNet2" New-AzureRmVirtualNetworkGatewayConnection -Name $Connection12 -ResourceGroupName $RG1 -VirtualNetworkGateway1 $vnet1gw -VirtualNetworkGateway2 $vnet2gw -Location $Location1 -ConnectionType Vnet2Vnet -SharedKey 'AzurePre1Po3J3'

22 PowerShell script from Subscription2
#Run in Subscription2 Login-AzureRmAccount Get-AzureRmSubscription Select-AzureRmSubscription -SubscriptionName “name of Subscription 2" # Subscription2 info, resource group info $Location2 = "North Europe" $RG2 = "rgcrossiet2" $GWName = "VNETSub2GW" $vnet2gw = Get-AzureRmVirtualNetworkGateway -Name $GWName2 -ResourceGroupName $RG2 # Subscription1 info $vnet1gw = New-Object Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGateway $vnet1gw.Name = "VNETSub1GW" #read from Azure portal in Subscription1 from VNETSub1GW -> Properties resourceID $vnet1gw.Id = "resource ID of VNETSub1GW in Subscription 1" #create connection from Subscription2 to Subscription1 with shared key e.g. AzurePre1Po3J3 $Connection21 = "VNet2toVNet1" New-AzureRmVirtualNetworkGatewayConnection -Name $Connection21 -ResourceGroupName $RG2 -VirtualNetworkGateway1 $vnet2gw -VirtualNetworkGateway2 $vnet1gw -Location $Location2 -ConnectionType Vnet2Vnet -SharedKey 'AzurePre1Po3J3' #check connection Get-AzureRmVirtualNetworkGatewayConnection -Name $Connection21 -ResourceGroupName $RG2 -Debug

23 How to connect VNETs cross-subscriptions using VNET Peering (through Azure portal soon)

24 Or through Azure PowerShell ( version > 1.6 )
BizSpark member with Azure Subscription 1 Login-AzureRmAccount Get-AzureRmSubscription Select-AzureRmSubscription -SubscriptionName “name of Subscription 1" $vnet1 = Get-AzureRmVirtualNetwork -ResourceGroupName rgcrossiet -Name VNETSub1 #read from Azure portal in Subscription2 from VNETSub2 -> Properties value of resourceID $VNET2ResourceID = "resurce ID of VNETSub2 in Subscription 2" Add-AzureRmVirtualNetworkPeering -name LinkToVNET2 -VirtualNetwork $vnet1 -RemoteVirtualNetworkId $VNET2ResourceID -verbose BizSpark member with Azure Subscription 2 Select-AzureRmSubscription -SubscriptionName “name of Subscription 2" $vnet2 = Get-AzureRmVirtualNetwork -ResourceGroupName rgcrossiet2 -Name VNETSub2 #read from Azure portal in Subscription1 from VNETSub1 -> Properties value of resourceID $VNET1ResourceID = "resurce ID of VNETSub1 in Subscription 1" Add-AzureRmVirtualNetworkPeering -name LinkToVNET1 -VirtualNetwork $vnet2 -RemoteVirtualNetworkId $VNET1ResourceID -verbose

25 Agenda How to extend your Bizspark team and technically connect Azure subscriptions How to control your Azure Services without Azure portal & Powershell Platform Services – AppService, Logic Apps, API Apps SaaS – Database, NoSQL and many others

26 12/3/2017 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

27 REST and MAML REST endpoints (http://aka.ms/rest-service-azure-api)
Microsoft Azure Management Libraries (MAML)

28 Demo REST & MAML in Action

29 Agenda How to extend your Bizspark team and technically connect Azure subscriptions How to control your Azure Services without Azure portal & Powershell Platform Services – AppService, Logic Apps, API Apps SaaS – Database, NoSQL and many others

30 AppService multiplatform
12/3/ :07 PM AppService multiplatform WebApps for scaled web applications/WebAPIs Mobile Apps for .NET or Node.js backend for mobile applications Logic Apps for data and workflow automation API apps to build/use cloud APIs -> Let’s practically look into webapps environment (Kudu, Extensions) © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

31 Agenda How to extend your Bizspark team and technically connect Azure subscriptions How to control your Azure Services without Azure portal & Powershell Platform Services – AppService, Logic Apps, API Apps SaaS – Database, NoSQL and many others

32 One integrated offering
Mobile Apps Build Mobile apps for any device Web Apps Web apps that scale with your business LOGIC Apps Automate business process across SaaS and on-premises Api Apps Easily build and consume APIs in the cloud

33 Built-in API Connectors
Box QuickBooks Azure Web Jobs Chatter SalesForce Yammer Delay Sugar CRM Dynamics CRM Dropbox SAP Dynamics AX Azure HD Insight Azure Service Bus Hybrid Connectivity Marketo Azure Storage Azure Media Services Timer / Recurrence OneDrive Twilio SharePoint Twitter SQL Server IBM DB2 Office 365 Informix Oracle Websphere MQ Protocols BizTalk Services HTTP, HTTPS File Flat File FTP, SFTP POP3/IMAP SMTP SOAP + WCF Batching / Debatching X12 Validate EDIFACT Extract (XPath) AS2 Transform (+Mapper) TPMOM Convert (XML-JSON) Rules Engine Convert (XML-FF)

34 Web API and Logic App in action
Demo Web API and Logic App in action

35 Agenda How to extend your Bizspark team and technically connect Azure subscriptions How to control your Azure Services without Azure portal & Powershell Platform Services – AppService, Logic Apps, API Apps SaaS – Database, NoSQL and many others

36 Database as A Service for structured data Azure SQL Database
12/3/ :07 PM Database as A Service for structured data Azure SQL Database Based on relational database engine of Microsoft SQL Server Painless, in a matter of seconds provisioning of structured database with builtin backup/restore and geo-redundancy Performance scaling without disruption Advanced security features Database firewall, row level security, always encrypted, transparent data encryption, dynamic data masking etc. ->Let’s practically look at some tips/tricks for Azure SQL Database © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

37 NoSQL database as A Service DocumentDB
12/3/ :07 PM NoSQL database as A Service DocumentDB Fully managed, schema-free NoSQL database Elastically scalable throughput and storage (incl. multiregion replication) AdHoc queries aka SQL language Stored procedures, triggers, UDF in javascript Protocol support for MongoDB (core MongoDB API functions) ->Let’s practically look at DocumentDB © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

38 Agenda How to extend your Bizspark team and technically connect Azure subscriptions How to control your Azure Services without Azure portal & Powershell Platform Services – AppService, Logic Apps, API Apps SaaS – Database, NoSQL and many others

39 12/3/2017 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

40

41 How to detect DB failures in a web app
How to detect DB failures in a web app? - if it is outage of AzureSQLDB, then Azure SQL Server has status „Degraded“. Detect this status in application with REST API (see detail ) - if database is not connectable, catch error in application ("unable to connect" message , error code ) - if database is not functioning according to your application logic (e.g. all connections rejected in last 3 minutes) How to automatically switch to the secondary DB and upgrade the secondary DB to primary with SQL Database Active Geo-Replication enabled? - primary and secondary has different connection strings, application has to know both and it has to know, which one is primary - if it is outage, datacenter will automatically send command to change secondary to primary without any data loss - if you will initiate failover and primary is inaccessible, there can be data loss of 5 seconds. You can initiate unplanned failover with REST API (see detail or through T-SQL on secondary “ALTER DATABASE <MyDB>   FORCE_FAILOVER_ALLOW_DATA_LOSS;” - if you will initiate failover and primary is accessible, there is no data loss, if you will initiate planned failover with REST API (see detail ) or through T-SQL on secondary “ALTER DATABASE <MyDB> FAILOVER;”


Download ppt "Office Hours for Startups"

Similar presentations


Ads by Google