Deprecated: Use of "static" in callables is deprecated in /chroot/home/a40b7614/774635bdc8.nxcli.io/html/wp-content/plugins/moosend-email-marketing/vendor/moosend/website-tracking/src/Utils/Uuid.php on line 15 Deprecated: Use of "static" in callables is deprecated in /chroot/home/a40b7614/774635bdc8.nxcli.io/html/wp-content/plugins/moosend-email-marketing/vendor/moosend/website-tracking/src/Utils/Uuid.php on line 15 Deprecated: Use of "static" in callables is deprecated in /chroot/home/a40b7614/774635bdc8.nxcli.io/html/wp-content/plugins/moosend-email-marketing/vendor/moosend/website-tracking/src/Utils/Uuid.php on line 15 Deprecated: strtr(): Passing null to parameter #1 ($string) of type string is deprecated in /chroot/home/a40b7614/774635bdc8.nxcli.io/html/wp-content/plugins/moosend-email-marketing/vendor/moosend/website-tracking/src/Utils/Encryption.php on line 8 Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /chroot/home/a40b7614/774635bdc8.nxcli.io/html/wp-content/plugins/moosend-email-marketing/vendor/moosend/website-tracking/src/Payload.php on line 202 azure – Page 9 – SoftwareArchitect.ca

Tag: azure

  • New Azure UI: Choose VM Size

    New Azure UI: Choose VM Size

    Here’s some brand new content from the SoftwareArchitect.ca YouTube channel that you might find interesting.

    Microsoft has revamped the UI around selecting VM sizes, and it’s about time! The information is now much more compact. Way less scrolling. And it’s easier to find a VM size from among the dozens and dozens of options.

    Quickstart Series: Windows Web App in Azure

    In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you.

    Or you can see the video directly on YouTube.

    Transcript:

    Well, hi there. This is Scott Duffy from SoftwareArchitect.ca. In this video I want to highlight brand new interface changes that just went live around creating virtual machines, specifically selecting the virtual machine size. Switch over to the portal. And I took the liberty of filling out the form fields for setting up the virtual machine. So step one really hasn’t changed too much. When I click OK button, it’s going to take me to this Choose a Size screen, and we’re going to see all of the options that Microsoft has.

    Now, you’ll recall that this used to be a grid format with boxes and it took forever to scroll through them, and oftentimes you would miss what you were looking for. Now, there’s still a lot of options. So as I go down this list, you can see ten, twenty, thirty, forty, fifty options. And then, there are options that I don’t even qualify for because there’s a ten CPU limit on this test account that I use. But, if I did increase that limit, I could see another ten or twenty options. And then, there’s things that are no longer available. So this version is not available for my subscription. Again, I could probably message Microsoft to open a ticket with them and they would open this up, if I was to request it. So I can see now much clearer what’s available, what’s unavailable, what’s the pricing, et cetera.

    The other advantages of some of these filters up here. So, if you know in advance that you’re looking for compute optimized versions, well that just filters out everything else and you’re left with the F series. So this makes it a lot easier if you’re looking for compute optimized servers to select the one, you can see the pricing, it all lines up together. So kudos to the Azure team for simplifying how easy it is to select the correct size. So, I just wanted to highlight that out to you. Some of this is changed. We’re talking about availability zones now, et cetera. We’ll get into that in new videos. But I wanted to highlight this size screen being a brand new option for creating virtual machines.

  • Azure Virtual Network Step by Step

    Azure Virtual Network Step by Step

    Here’s some brand new content from the SoftwareArchitect.ca YouTube channel that you might find interesting.

    Azure Virtual Network Step by Step. In this tutorial, I show you how to create an Azure Virtual Network setup. I take you through the fields of the Azure Portal create virtual network screen, and tell you why I am choosing the values I did. We also go into detail about subnets, and create multiple new subnets on the virtual network.

    You’ll see an Azure Virtual Network Gateway Subnet being added, as well as the creation of new Network Security groups. NSGs are important for Azure Virtual Network security.

    At the end of the video, I create a Windows VM to add to the network as a connected device.

    Quickstart Series: Windows Web App in Azure

    In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you.

    Or you can see the video directly on YouTube.

    Transcript:

    Hi there, this is Scott Duffy from softwarearchitect.ca and in this video we’re going to create a virtual network and I’ll show you how to do that step-by-step. To start off with, we’re going to go to the top left of the Azure portal, this is portal.azure.com. Hopefully, you already have an account and you can sign up for a free account if you don’t have one. And the first thing we want to do is say create a resource. We’re going to go into the marketplace here, it’s organized by category. We’re looking for a virtual network, so we’re going to choose the networking category and we’re going to choose virtual network, which is the first item. I’m going to minimize this menu to get that out of the way.

    Now, the virtual network screen comes up and we have to give our virtual network a name and I’m going to call it AZNewVnet. Now, you can call this whatever you want, it doesn’t have to be unique to all of Azure, just as long as it’s unique to your own Azure subscription, give it a name that means something to you. The most important decision we have to make when we’re creating a virtual network to start is the size of the address space. By default, Microsoft is offering to me 10.0.0.0/16. This is called CIDR notation, and CIDR notation uses this slash with a number to represent a range of IP addresses. So, Microsoft helpfully shows you at the bottom that 10.0.0.0/16, means that it starts at 10.0.0.0 and goes all the way to 10.0.255.255. This encompasses 65,536 IP addresses. Now, that is quite a lot and the chances are excellent that you’re never going to use all of these addresses on a single virtual network.

    So this might be a bit excessive. If you do have plans of growing your Azure account, creating lots of different resources for lots of different projects, you might want to start to think about protecting your private addresses. So, 26 is a bit excessive, if I change this to 24, then you’ll see here that I’m given 256 addresses from 10.0.0.0 to 10.0.0.255. Now, it’s not actually 256 addresses because Microsoft does reserve five addresses for its own purposes. Actually, I’m going to change this to 23 and I’ll give myself a double the amount of addresses which is 512 in this case.

    My subscription is a pay-as-you-go, you may have the free plan or MSDN or any visual studio or any of the other plans that Microsoft has. You have to create your resources in what’s called a resource group. A resource group is a logical grouping of related resources. It’s used for management, security and billing, things like that. So I would create a resource group. I’m going to give it the same name as the virtual network because this is a demonstration. But if you’re going to create a virtual network and you’re going to create public IP addresses and you’re going to create virtual machines, you might want to put them all into the same resource group and give that a logical name that you’ll know on the billing reports, et cetera, what these resources stand for, who’s going to pay for them, et cetera.

    Microsoft now has up to 50 regions around the world that are available for you to create resources in. Now, some of these regions are government regions and so we can’t create resources in government regions, and some of them are in places like China where we can’t create resources in there either without sending up agreement. But the rest of the world, everywhere from Europe, Asia, South America, North America, Canada, all these other places, we have lots of options available for most of the world, in India even.

    I would choose a that is close to where you are, close to where your users are likely to be. The closer it is then the quicker it’s going to be in terms of response times. The only other consideration is if you’ve got regions that don’t have every service and you’re going to need a specific service, then you may want to choose a different region. So I’m going to click East US2.

    Now, the other important part of virtual networks is a concept called subnets. Subnets are a way of splitting up your virtual network into at least one or more sub networks. The default subnet is called default but you can call it whatever you want. So this could be my front-end subnet. In this subnet, I would place all my web servers and all my public facing services. You have to specify an address range which is a subset of your total address space. So, in this case, I created 512 addresses for the network and this first subnet called front-end is going to take half of them. It’s going to take the 10.0.0.0 to 10.0.0.255. That’s great. So I’m basically splitting my networking to half.

    Microsoft’s also now offering what’s called DDoS protection, Distributed Denial-of-Service protection and you get basic protection for free. Now, basic protection basically provides you what Microsoft can do in terms of protecting your network against Distributed Denial-of-Service attacks, and so it basically does some basic level for ipv4 and ipv6. If a single attacker is throwing a lot of garbage traffic at your resources, you can get basic DDoS protection.

    Standard DDoS protection gives you more options in terms of traffic monitoring, there’s machine learning algorithms that is looking at the traffic, it’s going to apply policies to all of your public IP addresses associated with resources. So if you have load balancers or gateways or service fabric running within this network, then it’s going to provide intelligent policies that will monitor the traffic and take appropriate action if it thinks that you’re under attack. I’m going to leave it as basic for now.

    Service endpoints is also a cool new feature that allows this virtual network to be open directly to other Azure services. It’s just basically establishing a private connection between this virtual network and Microsoft storage sequel database, Cosmos DB or sequel data warehouse. So those are the options in terms of having private networking between your resources and these kind of storage accounts. But this will allow you to do then is basically block, if you wanted to open this up to Microsoft storage for instance, you can block external access to your storage account.

    Now, normally storage is provided like platform-as-a-service, the URL is publicly addressable. The only way you can get access to a storage account is if you have the proper security keys. So it is authenticated, it is protected but the URL and the endpoint is still open. If you were to connect your virtual network into a Microsoft storage account, then you can protect traffic coming into that storage account and actually block it. So it’s more of a firewall protection than just relying on authentication. I’m going to leave this off for now. We’re not going to enable service endpoints but it’s a really cool new feature.

    I’m going to pin this to my dashboard. When I click the create button, it’s going to fire off and create me a virtual network. Now, it does this pretty quickly, but I’m going to pause this video for just a second until it’s completed. All right. So that took under 60 seconds and I have a new virtual network. Now, there are no devices, there’s no nodes or anything on this network. It is a completely untouched network but it’s available to me. If I go into the subnets, I can see the front-end subnet that I created, it used to be called default. It takes up one half of the address space, and remember I said that Microsoft takes five IP addresses for its own uses. So out of 256 addresses, you’re only left with 251 that you can do anything with.

    I’m going to create a second subnet and we’re going to call it backend, and this is where I’m going to put my application servers. I’m going to actually only use … So, instead of using all 255, I’ll only use half of the remainder. So, instead of having 128 addresses, there’s 123 net addresses available for me to use. So I’m creating a second subnet and I still have unused IP addresses in my virtual network. You’ll see here that subnets really are a way of breaking out your network into sub-networks.

    Now, you might see there’s this gateway subnet option at the top. Let me tell you a little bit about that. If you’re going to be creating a virtual private network, the virtual private network uses what’s called a network gateway to connect your own network, if you’re on your own corporation or in your own home, into Microsoft Azure but the gateway needs its own subnet. So, if I want to add a virtual private network to my virtual network, then I would have to start by adding a gateway subnet. There’s no really no options here other than choosing this range of address. It doesn’t need that much but /28 is fine. I could say, okay. I’ll do that and it will add a gateway subnet to my network and that way I can connect a private network to it.

    Now, one thing we didn’t talk about is the security aspect of this. Virtual networks and subnets are where you attach your security to your firewalls. Let’s go into the front-end subnet here and we’ll see that there’s a number of options but one of the options says network security group. Now, I don’t have any network security groups to find in East US 2. So why don’t we go, I’m going to say create network security group. I’ll show you how this works. Network security group. Let’s create a network security group in East US 2. Let’s call this front-end network security group and I’m going to use the virtual network resource group that we created our virtual network on, that way it keeps the resources together.

    We’re going to create the front-end network security group and while I’m here, I’m also going to create a back-end network security group, we’ll deal with both. I will go back here and I say network security group. Network security groups are really the firewall setting for networks. Use existing, new virtual network, East US 2. We’re going to go into our resource groups here. Go into our new virtual network resource group and we can see here that besides our virtual network, we have a front-end network security group that’s also been created.

    Now, network security groups are basically firewalls and they have inbound and outbound rules. The rules are processed in order from lowest priority to the highest and it does come with a number of preset rules. I’m going to switch over to the inbound security rules settings so that we can see them clearer. So there are three rules that come built into it. The first rule, basically, allows any other traffic on the virtual network to travel from other virtual network into our virtual network. This also allows the load balancer traffic to travel into our virtual network and then denies all other traffic.

    So, if I was to apply this front-end never security group rule to our front-end subnet, it would deny all public internet traffic by default. Let’s say then I do want to add HTTP traffic over port 80. So let’s go into the basic set up because it has that for me. I can choose HTTP service, it knows that it’s port 80. It will define that in a low priority number, so number 100 is much below the 65,000, and if I add it, this will then allow port 80 traffic to travel from anywhere into this virtual network. So let’s let that do that. I’m also going to have port 443, which is the secure HTTP channel. So let’s add that. It has to … 443.

    Now I’ve added two network security group rules, one for port 80 and one for port 443. Since I didn’t change this name, it’s a little bit confusing. I can’t change the name. So, I’ve allowed two types of ports to travel from anywhere into this network. Now, if I was to go back to my network security group. So let’s go into the virtual network. Let’s go into the subnet. Let’s go into the front-end and let’s choose the front-end network security group to attach it to the front end subnet. And if I save this, now I am allowing port 80 in port 443 traffic to travel from the public internet into any devices that are attached to the front-end subnet. Right now we don’t have any devices attached to the front-end subnet. We can see the security group.

    If I was to attach the backend security group to the back end network, remember it denies all inbound traffic, only allows traffic from other virtual networks, it allows the load balancer traffic. So, by setting up these security group settings, I am severely restricting traffic to the backend and I am allowing traffic over two ports into the front-end. So that’s how you deal with security at the subnet level. Hopefully, you’re getting a better understanding of how Microsoft Azure deals with virtual networks and specifically with subnets. It is the subnet level that we basically attach devices. Right now there are no devices but if we had one, it would tell us what subnet it’s part of.

    Another thing we should talk about is this concept of peering. It’s a primitively new concept as well within Microsoft Azure. But let’s say that we have some resources in another virtual network or in another subscription or another region of the world, and we want to allow traffic to travel between that virtual network and this virtual network. So peering is the ability to connect two virtual networks no matter where they are within Microsoft Azure. So we have this AZNewVnet. If I was to create another virtual network, then I could choose it and I would allow the traffic to travel between two different virtual networks. Or if I again had a specific virtual network in a different account or somewhere else, then I could put the full resource ID in there and that will allow virtual network traffic to travel between those networks. So that’s a new emerging important concept.

    The last thing we probably talked about is how you would add devices here. So let’s go home and we’re going to create a resource for our virtual network. We’re going to try to be very quick with this, right. I’m going to create a new virtual machine, give it a user ID, put it into the existing v-net resource group. It’s important that the resources exists in the same region, under the same subscription in order for us to connect it to our virtual network. So I’m going to choose the simplest. I have a basic B1 option here, it’s only $17 a month. Remember when we’re getting resources that this is paid by the minute, so even if it’s $17 a month, it’s only 50 cents a day, it’s only two cents an hour. So, if I created this for an hour, I would only be charged two cents. I’m going to skip the other options.

    You’ll see here that it’s automatically filled in our AZNewVnet virtual network, it’s chosen the first default subnet, which is front-end. If I want this virtual machine to exist on this other front end, I can just let it or I can choose to add it to the backend. So right in this option here, I get a chance of either assigning it to the front-end or to the backend. This is how we set this up. Now, the machine itself can have a public IP address. We can choose to have none or we can choose to create a new one. And you’ll notice that it’s asking me to create an network security group. We have the network security group assigned to the subnet, we can also optionally have it assigned to the virtual machines NIC, network card. I’m just going to reuse instead of creating a new network security group. It’s a good practice to allow to reuse security groups as a way of it being a good security practice.

    So, if I’m going to put this in the front-end group, then I’m going to … The other option is I can choose no security group because I know that the front-end subnet has one. So remember, there’s basically two ends of this connection. There’s the subnet connection and then there’s the virtual network interface connection, and I don’t have to have the security group on both. If I just say okay and I say create, this is going to create me a new resource onto my virtual network. Now, there’s a few things that it creates including the network card that are more than just the virtual machine, but that’s how you create a virtual network step-by-step and we even went so far as to create security network, security groups and to add a brand-new Windows virtual machine to this existing network. Thanks a lot guys. I would offer it to you to subscribe to this channel. Please hit subscribe if you want more videos like this or hit thumbs up or share this with your friends.

  • Create SQL Server 2016 on Windows Server 2016 on Azure

    Create SQL Server 2016 on Windows Server 2016 on Azure

    Here’s some brand new content from the SoftwareArchitect.ca YouTube channel that you might find interesting.

    In this video, I create a SQL Server 2016 database running inside a Windows virtual machine, using Microsoft Azure. You can see everything that I do to create it, the settings I chose, and I explain why.

    SQL Server in a VM allows an easy transition from hosting your own SQL Server, with an easy migration path to the cloud.

    Quickstart Series: Windows Web App in Azure

    In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you.

    Or you can see the video directly on YouTube.

    Transcript:

    Hi there, this is Scott Duffy from SoftwareArchitect.ca. In this video, we’re going to create a SQL server running in a Windows Virtual Machine in Microsoft Azure. I’ve logged into the Azure portal. I’m going to go to the new resources, the plus sign at the top left. Now I’m going to search the marketplace for SQL Server. I know that I’m looking for the developer edition, which is the free edition. You can see that we have a number of options, but we have the free license of SQL Server 2016, on Windows Server 2016. That’s good enough for me, so this is the one we’re going to select.

    We’re always going to deploy new resources, in the resource manager model, there’s really no reason to deploy to the classic model unless you have a whole bunch of classic resources, and you need to maintain that. So the resource manager model is the way to go. Now I got to create a name for the virtual machine, so I’m going to call it aznewsjdvm. I have to give a username. Now this username is what I’m going to be using to log into the virtual machine using Windows Remote Desktop. I’m going to use my existing subscription, which happens to be pay-as-you-go. If you’re running in the free account, you may have a free subscription, if you’re running MSDN, or you’re Enterprise, you’ll have a different value.

    I have to create a resource group. Out of laziness, I’m going to create the same name as the virtual machine, and we get to choose where in the world we want our virtual machine. Everywhere from Korea and Japan, Europe, India, and Canada, and United States. So I’m going to put this in Central US. I do have the choice of using an existing Windows license, but I don’t have one, so I’m going to say leave that at no, and say okay.

    Now Microsoft has come out with this brand new list of virtual machine sizes, so I like it a lot. I think it’s easier to find virtual machines that fit the needs that you’re looking for. For instance, I know I don’t need anything more than four CPUs, and so I can just drag down this slider and get between one and four CPUs. I can also choose everything from general purpose, memory optimized, storage optimized servers. So maybe for a database server, a memory optimized server would be more useful. Then we can see here that the pricing, just sort of eyeball it down from 200 dollars, 400 dollars, a thousand dollars, seventeen-hundred dollars, et cetera. Now because my account is … I have not upgraded my account, that there are some sizes that are just not available to me, if I said, the mouse over says this size currently unavailable in this location for this subscription. So I would have to open a support ticket with Microsoft and get them to open this up if I wanted the GS size, specifically.

    So I want to pick one of the DS sizes. So I’m going to choose DS 11, which is two CPUs, 14 gigabytes of RAM, and eight data disks. Now there is a cost. You see that it runs around $300 a month, but this is just a test, and it’s not going to last more than a day or two, so it’s going to cost me about $10 to do this test, if I leave it all day. I’m not going to set it up in an availability zone, or using availability set right now. This would be more for if you’ve got high availability needs, you need to have multiple sets of VMs running in availability set. I’ll let them use the manage disks, otherwise I’m going to have to choose storage sizes, and manage that. I’ll just let Microsoft take care of the storage stuff for me. The network is set up as a new network for me, so if I had an existing virtual network, I could install this virtual machine on it, but for this testing purpose, I don’t mind leaving the defaults here.

    You’ll see that I have an option for accelerated networking, and that is the high performance, high throughput networking option, that’s actually enabled for this DS 11. I’m not going to install any extensions for the virtual machine. I could use an extension for metrics, guest operating system metrics, et cetera. Well you see I could just turn it on right here. I do want the auto-shutdown, so it’s around, let’s see, what time is it … it’s around 9:00 right now, so why don’t I set this to turn off at eleven. I’m going to tell it my timezone, and so in two hours from now, this machine will shut down by itself, and I don’t need to be notified. We’ve got monitoring, boot diagnostics, and guest OS diagnostics enabled. The guest OS diagnostics is to give you more than just CPU disk rights and network speed. If you want any more performance diagnostics, you have to turn this on to get that service into Azure. It’s going to create a new storage account for my diagnostics. I am not going to hook it up with Azure Active Directory. I’m going to say okay.

    Now we’re getting into the SQL server settings. You’ll see here that this image that I chose, the virtual machine image, has the SQL server built in. I could have chosen a Windows virtual machine, and installed SQL server using a downloadable image, et cetera, but this is way more convenient. Now one of those first decisions I get to make is how secure I want this to be. I could turn off all outside connection from the machine, so that no other machine can connect to this SQL server, I can allow only virtual network, connect computers to connect to it, or I could open it up to the public, which includes myself, and my own computer. I’m going to leave this open to the public. This is typically not a great idea, and you’re going to want to set very specific network security group security on this, maybe specific IP address, or a specific range, but this is just a temporary test. Like we said, it’ll only last for a couple of hours.

    We do need to enable SQL authentication. That’s the only way that we can log into SQL server over the open internet. It does not support Windows authentication over the internet. So that’s turned on. It’s going to take my Windows username and password as the username and password for SQL authentication. We can leave the storage options, the way that it does patching, backups, Azure key vault, et cetera. R Services, which is advanced analytics, typically used in big data, et cetera. So I’m going to leave all the defaults from that point, and say okay.

    Now Microsoft Azure will do the final calculations. It’s telling me that a standard DS 11 V2 plan, with the free version of SQL server, developer edition, will run me 40 cents Canadian per hour. So I know that I’m incurring this charge, as soon as I start it up. This 40 cents per hour is charged to the nearest minute, so rounded down. So if I run it for even just for five minutes, I’m going to get four or five cents charge for this configuration. I can now say create, and Microsoft will go off and create me a new virtual machine running SQL Server 2016, running Windows Server 2016. I’m going to pause the video, and we’ll let this machine boot up.

    All right, well that took a few minutes because Microsoft Azure has a bunch of things to do. Actually, if I go up to the resource group, you’ll remember that we created this resource group brand new, and now we can see that it’s actually created 11 resources within that resource group, so besides the virtual machine itself, it’s created a couple of disks, it’s created the network interface, a storage account for diagnostics, and IP address, and all that wonderful stuff. So let’s go into the virtual machine. We can see here, on-screen, that it has a public IP address. Now it is a SQL server, so I would have to connect to it using SQL Server’s management studio, which I can do, and we can see the overview here, with CPU, Network. This is a fairly powerful box, I mean it’s two CPUs, not a screaming powerful box, but 14 gigabytes of memory. So it didn’t take too long to start up. The CPU is running around 50% average, in this time, so it’s probably still doing some stuff, but right now it’s down in the 6% range.

    So let’s connect to this using SQL Server Management Studio, and show you that we have a database now, running within Microsoft Azure. So I started SQL Server Management Studio on my local machine. This is something that you do have to download and install, if you don’t have. I entered the public IP address of this server, and the username and password based on SQL Server authentication, so I should be able to click connect, and you can see here that it’s connected to the machine, and it successfully logged in. Now I don’t have … this is a brand new machine. There are no user databases. Only the four default system databases that we all know and love. So this is a machine ready for me to start developing against it, or to import my database from another server, et cetera.

    So that’s how you create SQL Server, running within Microsoft Azure, using a Windows Server 2016 virtual machine. Hopefully that was interesting to you. You will see that it wasn’t too difficult. The only painful part, if anything, is having to pay for it, because like we said, it’s going to cost me 40 cents per hour, and that’ll add up to a couple of hundred, almost $300 over the course of a month, so this is for a business purpose, hopefully, and you’re going to save money by not having to purchase a machine, not having to purchase SQL Server, and have that running within your own hosting environment.

  • March 2018 Changes to 70-532 Exam

    March 2018 Changes to 70-532 Exam

    I just received notification that Microsoft has updated the 70-532 exam. The changes took effect March 22, 2018, and the official exam web page just changed this week.

    Here is a summary of new/changed items on the exam:

    Virtual Machines:

    • Ansible
    • Accelerated Networking
    • Availability Zones
    • Claim and Unclaim VMs using DevTest Labs

    Storage:

    • Virtual Network Service Endpoints
    • Azure Files Backup
    • Redis Geo-Replication
    • Azure Search Synonyms

    App Services:

    • App Service Isolated
    • Serverless Applications
    • Distribute Mobile App
    • Mobile App Analytics
    • Collect Crash Data
    • Location Aware Applications

    Kubernetes:

    • Create Container Images
    • Azure Container Registry
    • Docker Hub
    • YAML Application
    • Scale Applications
    • Update Applications
    • Container Monitoring in Log Analytics
    • Development Cluster
    • Configuration Values

    Are you interested in being notified when there are new exam changes? Or when I have new free videos on new features of Azure? Sign up to my list and I’ll send you occasional emails on it.

    [thrive_leads id=’6447′]

  • March 2018 Changes to 70-533 Exam

    March 2018 Changes to 70-533 Exam

    I just received notification that Microsoft has updated the 70-533 exam. The changes took effect March 22, 2018, and the official exam web page just changed this week.

    Here is a summary of new/changed items on the exam:

    App Services:

    • All mentions of “web apps” changed to “apps”
    • Microsoft Operations Management Suite (OMS) Workspaces

    Storage:

    • Blob-Level Tiering (Hot, Cool, Archive)
    • Storage Encryption Keys

    Containers:

    • “ACS” changed to “AKS”

    Virtual Networks:

    • Monitor ExpressRoute
    • Accelerated Networking
    • Virtual Network Service Endpoints

    ARM Templates:

    • Configure Lock Policies

    Operations:

    • Implement Serverless Computing, including Azure Functions, Event Grid, and Service Bus
    • IT Service Management Connector (ITSMC)

    Identity:

    • Azure Managed Service Identity
    • Privileged Identity Management
    • Azure AD Identity Management
    • Self-Service Password Reset

    Are you interested in being notified when there are new exam changes? Or when I have new free videos on new features of Azure? Sign up to my list and I’ll send you occasional emails on it.

    [thrive_leads id=’6447′]

  • March 2018 Changes to 70-535 Exam

    March 2018 Changes to 70-535 Exam

    I just received notification that Microsoft has updated the 70-535 exam. The changes took effect March 22, 2018, and the official exam web page just changed this week.

    Here is a summary of new/changed items on the exam:

    Virtual Machines:

    • Azure Batch AI
    • Reserved Instances
    • Design for DevTest Lab
    • Accelerated Networking
    • Azure Backup for Linux
    • Availability Zones

    Serverless:

    • Data Storage for Serverless Computing
    • Azure Event Grid
    • Stream Processing and Bot Messaging

    App Service:

    • Azure App Service Environment (ASE) changed to App Service Isolated

    Compute Intensive:

    • Low Priority Batching and Job Task Counting

    Azure Storage:

    • Azure Data Box
    • Azure Storage Service Encryption

    Relational Database:

    • SQL Data Warehouse Columnar Storage

    NoSQL:

    • Managing Recurring Jobs

    Virtual Networks:

    • Virtual Network Service Endpoints

    Container Networking Interface (CNI) Plugin

    • Global VNet Peering

    Security:

    • Service Tags

    Media Service:

    • File-Based Encoding or Azure Media Analytics

    Monitoring:

    • TCP Connections

    Operations Automation:

    • Update Management Strategy

    Are you interested in being notified when there are new exam changes? Or when I have new free videos on new features of Azure? Sign up to my list and I’ll send you occasional emails on it.

    [thrive_leads id=’6447′]

  • New Azure UI: Create App Service Plan

    New Azure UI: Create App Service Plan

    Here’s some brand new content from the SoftwareArchitect.ca YouTube channel that you might find interesting.

    I noticed that Azure rolled out a new User Interface for choosing an App Service plan while creating a new App Service today. It’s a big improvement to the “lots of scrolling” that it used to require.

    Quickstart Series: Windows Web App in Azure

    In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you.

    Or you can see the video directly on YouTube.

    Transcript:

    Hi there! This is Scott Duffy from SoftwareArchitect.ca. In this video, I want to show you a brand new user interface that Microsoft Azure just rolled out for the Azure App Services, specifically around selecting plans. Switching over to the Azure portal, you can see the usual create web app selections. You give it a name, pick your subscription, put it in a resource group. We do have, now, a docker option between Windows, Linux, and Docker in terms of choosing the operating system. But more significantly, when you go to choose the app service plan, you can create a new plan, give it a name, a location, and when you choose the pricing you get a whole new way of choosing the app service plan. You can see there are three tabs along the top. One is for Dev/Test, one is for Production, and one is for Isolated. Selecting any of them brings up plans that are only related to those scenarios.

    Under Dev/Test, you can see there’s three recommendations, but when I say, “See Additional Options,” there are two additional basic plans. I’ve got the free plan. That hasn’t gone away. We’ve got the D plan, which is shared infrastructure, extremely cheap at almost 1.5 cents per hour. Up to the basic plan, which is 10, 18, and 36 cents per hour in Canadian dollars.

    When I switch over to the Production side, I can see all the additional features that come with it. Now the thing I like about this is it’s way less scrolling. In the old interface when I would go to select app service plan, there were all the plans laid out. There were taking up 1/9th of the screen each and so I had to scroll quite a bit to get to the basic or free or standard plans. This way, I basically get to filter off my scenario right off the top.

    It also has pulled out the features. Instead of listing each feature under each plan, the features are listed on the bottom here. This is pretty cool. It’s a brand-new interface for selecting plans. Kudos to Microsoft and the Azure team. I think this makes it a lot clearer in terms of what you’re selecting and I’m not a huge fan of just all text and not very much icons. Not very much graphics. But it does convey a lot of information. I can see the progression from 12 cents, to 24 cents, to 48 cents, to 97 cents per hour. It makes it very easy.

    I’m going to select the premium plan for this example, but anyways, I wanted to point out there’s a brand-new interface. Still pretty simple. We’ll get into the Docker web apps at some future video, but the web app interface is changed and I like it.

  • Quickstart: Deploy an App to Azure Service Fabric

    Quickstart: Deploy an App to Azure Service Fabric

    Here’s some brand new content from the SoftwareArchitect.ca YouTube channel that you might find interesting.

    Azure Service Fabric is a new way of deploying applications into the cloud using microservices. You package and upload your applications to the Service Fabric, and Azure takes care of ensuring it’s using the resources of the cluster of servers it’s deployed on to.

    In this video, I show you how to create a service fabric cluster, and deploy a sample application to it using Visual Studio 2017.

    Quickstart Series: Windows Web App in Azure

    In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you.

    Or you can see the video directly on YouTube.

    Transcript:

    Well hi there, this is Scott Duffy. In this video we’re going to set up a service fabric cluster from scratch within the Azure portal. We’re going to use Visual Studio 2017 to deploy the service fabric application into it. So we’ve got a lot to do here, so let’s get into it.

    So just so that you know, I’m going to be using the community edition of Visual Studio. The Visual Studio 2017 is downloadable free version of the Visual Studio IDE. You do need to prepare your environment by having the Microsoft Azure Service Fabric SDK. So if you just Google Microsoft Azure Service Fabric SDK, you can get to a page like this where you can download it and install the SDK.

    We go into Microsoft Azure and we choose a service fabric cluster type from the marketplace. I’m going to say “create”. Now you give it a name; so I’m going to say AZ service fabric cluster and my initials. You’ll see here that it’s fully qualified, so it has to be unique. We get choice of operating system, there’s a couple of Linux versions and there’s a bunch of Windows versions. So I’m just going to pick the default which is the 2016 data center with containers. We have to enter user ID and password, so give me one second for that. We have to create a user resource group, since service fabric does create seven or eight different resources. I’m going to create a brand new resource group for that, and we give it a location.

    The fundamental part of service fabric is you can have one, two, or three node types, and you have a quantity of nodes within each type. So we just need one node type for this example. We’re going to configure the required settings. I’m going to call this a basic node; there’s a very limited naming up to nine characters for the node type. I don’t need durability for this. Selecting the m size, I’m just going to take the smallest recommended size because this is only going to live for a couple of hours. Now we do have the option when we’re testing to try this single node cluster, but in this case I’m going to create a five node cluster. We do need to enable reverse proxy in order for the Visual Studio to be able to connect to this. So I’m going to say okay. Then I’m also going to say okay to that.

    We do need to use a security key, so the security key is used for the publishing from Visual Studio. You are going to create a key, and you’re going to have to choose your key vault and give the certificate a name. When you click the okay button it’s going to go off and create a key and then you can download that key.

    I’ve actually gone through this process already. I’m going to close out of this, and we’re going to go back to the home page. I’ve got a service fabric up and running that I just did a few minutes ago before starting this video. So the key to this, this is a three node fabric, not the five that I was trying to create before. But you’ll see here, you’ll see my nodes … It deployed successfully. Everything is up and running. I need to copy the client connection endpoint, because that is important. Let’s switch over to Visual Studio and we can see about this sample application that we’re going to be using.

    Now for the code, I’m not going to create anything from scratch. I’ve chosen from the Azure samples GitHub repository, the service fabric dot net getting started sample. So download this and go into Visual Studio with it. This is Visual Studio, this is the code. This is deployment, but this is the package that comes with it. There’s a lot of different applications, web services, stateful and stateless, actor, et cetera. We’re going to go into the getting started application. We’re going to build it. Make sure that it builds on your local first, obviously. It builds on mine. Then I’m going to say “publish”. Now the key here is to put the correct connection endpoint that we took from the portal here into the connection endpoint. The other key is that we have to install the key that we downloaded from the Azure portal. So if I go into my documents here, I downloaded the key from the Azure portal. Let’s look at it within the key vault.

    So I have the key that I downloaded from Azure. I can click “install” and I want to make sure that it’s installed as a machine certificate into my personal certificate store, so you can see here that it is installed as a machine certificate. We’ll see that with a restarted Visual Studio that the connection endpoint is accepted, there’s a green check mark. If I was to click the publish link, which I will do, it will build this solution and will start to publishing into the service fabric cluster. So that’s going to take a few minutes actually, so let’s pause the video and we’ll come back when it’s deployed.

    So just watching the deployment about to finish up here. I can see that it’s now deploying of the individual projects within this file. So we can see that this web service is ready. The publication succeeded. That took just over one minute to deploy.

    Now if you go into the portal, you’ll see there’s this service fabric explorer. If you’re able to get into there, then you’ll see that … Look at that. We have our getting started application deployed into our three node service fabric. Yeah, Microsoft’s Azure Service Fabric is now managing the running of this application, distributing it within the three nodes. If we were to start to hammer the performance of one of these, it would then distribute more services to make up for it.

    That’s pretty much what I wanted to show you. This is a creation and a deployment of a service fabric app into the Microsoft Azure Service Fabric. If you like this video, let me know. If you have questions, of course, let me know. Thanks.

  • Quickstart Series: Cosmos DB + MongoDB in Azure

    Quickstart Series: Cosmos DB + MongoDB in Azure

    Here’s some brand new content from the SoftwareArchitect.ca YouTube channel that you might find interesting.

    In this video, I show you how to create a MongoDB Databased in Microsoft Azure using Cosmos DB. The data is stored in CosmosDB, but the MongoDB API is compatible with the standard MongoDB API, and so you can migrate your data into CosmosDB and simply point your apps at it without coding changes.

    I’ll show you how easy it is to create a MongoDB in Azure.

    Quickstart Series: Windows Web App in Azure

    In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you.

    Or you can see the video directly on YouTube.

    Transcript:

    Hi there, this is Scott Duffy of SoftwareArchitect.ca. In today’s quick start video, we’re going to go and create ourselves a MongoDB database using the Microsoft Azure Cosmos DB service. Now, in case you’re not aware, Cosmos DB is a relatively new service within Microsoft Azure that contains many different types of data models. It is actually a globally distributed, multi-model database service. What that means is that you can create, very quickly and actually cheaply, your data in the cloud, in many different regions of the world. It is scalable, it is guaranteed low latency, and you can choose from the key value model, or document DB model, or graph API model, or column-value model. It’s got a whole range of consistency models for you to choose from.

    Microsoft offers comprehensive service level agreements, so that you’ll know exactly how much up time the application has, and how quickly you expect the application to respond. It is a database for the modern way of developing apps, contains many different languages that it can connect to, so in this video, we’re going to go into the Azure portal and we’re going to create ourselves a MongoDB database.

    So I’m in the Azure portal, that is http://portal.Azure.com, and I want to create a Cosmos DB. So I go into the creator resource, and you’ll see all the options. Now, the Cosmos DB is actually right off of the getting started tab, so you can see it right off this first screen, but if I really wanted to get MongoDB, I could do a search for it. Now I’ll be given options for running MongoDB as a hosted instance within a virtual machine. Bitnami has some images. There’s also containers, if you like the docker model, but we’re looking for, Microsoft has the database as a service for MongoDB.

    Now this is actually Cosmos DB. They’ve just given it another label, so that it comes up on a search for MongoDB. I’m going to close out of this, go back to the marketplace getting started tab, and go into the Cosmos DB from there. Now we have to give it a name. It has to be unique, globally unique. You see the fully qualified domain name as “.documents” Azure.com. So I’ve pre-chosen a unique ID here, and it’s unique across all of Azure. The first big question is the API. Now Cosmos DB comes with a number of API compatibilities to access the data inside, and the one that we’re curious about is Mongo DB. Okay, so you can access things like a table, which is a key value pair, the famous no sequel database Cassandra. There’s also a SQL compatible API that returns JSON, and Graph API.

    But what we want to do is go to Mongo DB. We’ve got our subscription, now you could have the free account, or you could be on a free trial, or MSDN subscription. This is my own subscription. I’m going to put these into a resource group. I’ll use the same ID as the Cosmos DB. Pick one of the regions, now I believe Cosmos DB is supported through all of Microsoft’s regions, so you’ll see a lot of options from Europe, North America, South America, Australia, et cetera. I’ll just choose the default.

    Geo-redundancy, this allows my data to be created in West US and East US, and I can add other regions later, so this is so that if there’s a disaster, it adds to the availability of your solution. Now the new security feature here is to configure virtual networks, and if you do this, this allows you to restrict access. So instead of your Cosmos DB having a public URL, you still need, of course, security to access it, but if you just wanted to block off access to it, you could configure this to a virtual network, and only other machines on the virtual network on the subnet can use the Cosmos DB. So if you have an application on Azure, and you want to create a Cosmos DB only for that application, you can enable this, but I will leave it disabled.

    Pin to dashboard, and I will click create. Now that did take a few minutes, but Microsoft Azure did come back and create me a new Cosmos DB account. You can see here that I selected geo-redundancy, so I have the primary database in the western US, but there is a readable location in the eastern US, and I can get the connection strings and start using it as a Mongo DB database. This is, again, an alternative to hosting MongoDB yourself, in your own data center. You can use Cosmos DB using a MongoDB API. If I go under the quick start tab of the settings, it actually gives me some sample code I can pull in the connection string into .NET, or if I am a Python developer or Node.JS, et cetera, there’s other ways of getting it. It gives me my user ID and password for the connection string, so using Azure for your MongoDB needs is as quick and easy as this video.

  • Quickstart Series: Windows Web App in Azure

    Quickstart Series: Windows Web App in Azure

    Here’s some brand new content from the SoftwareArchitect.ca YouTube channel that you might find interesting.

    In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you. Or if you want to see me do it and follow along yourself.

    Quickstart Series: Windows Web App in Azure

    In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you.

    Or you can see the video directly on YouTube.

    Transcript:

    Well hi there, my name is Scott Duffy, from softwarearchitect.ca, more than 80,000 students have chosen to learn topics such as Microsoft Azure from me. I am super appreciative of that. In this video, we’re going to do a quick start, which means we’re going to go into the Microsoft Azure portal and we’re going to create a Windows web app, which is part of the app services using Microsoft Azure I’m going to show you how easy it is to get a Windows web app up and going, so that you can deploy your custom code into it.

    Let’s switch over to the portal. The URL is portal.azure.com. This is the Microsoft Azure portal. I’m going to go over to the plus sign. Now we have a number of categories, one of them is Web + Mobile and web app is the first option of the web and mobile category. It’s also under Getting Started, there’s the third one down. If we choose it we’re going to be brought into the settings tab and we’re going to start to create our Windows web app.

    Give it a name. I’m going to call it Windows Web App. Now you’ll see this is a fully qualified domain name in that it’s got the .azurewebsites.net. I’m going to be able to access this over the web, based on this URL. I’m going to use my existing subscription, you may have a free plan or a MST subscription, or your corporation or visual studio. I use pay as you go. This charges me every month. Can’t use the word Windows in the resource group, that’s a new one. Thank you. The resource group is a way of organizing your resources. For web apps this is fairly straight forward, you’re just going to create the web app, you can create one resource group that contains many web apps. But for virtual machines and networks and other things you may want to have multiple resources grouped under one name.

    We’re going to create a new resource group for this. Now I do have the choice between Windows and Linux. This video is about a Windows web app and so we’re going to choose Windows. Now we do have the choice of where this Windows web app is going to get deployed. The Windows web app is by default going to go into the South Central US, which is one that I chose. I have an existing web app which is the free plan. Let me show you the pricing options and we can choose. Let’s create a asjdwebapp. We can reuse the same names on multiple different things and Azure will take care of it, as long as it’s not the same type.

    I can put this in any of Azure’s 40 plus regions. I’m going to choose East US 2 and let’s look at the pricing options. Microsoft’s offering you the ability to run your Windows web app on isolated hardware, that means there’s no other person or tenant using this hardware and so you’re paying for that privilege for a one core, two core, four core isolated hardware, you’re getting 300 to $12,000 a month. This includes your networking and such like that, that becomes a lot faster. The premium service is still pretty good. You will pray for this, but this includes slots and traffic manager, custom domains, based on this type of pricing. We can see here that there’s a V2 option as well as the V1 option. The V2 options actually a bit cheaper, plus you get more memory so it’s hard to know why you would want to choose the old one unless all of your other web apps are running on this and you want the consistency.

    Then we go down to the standard plan, you don’t get the same number of slots and there’s less instances and less storage and stuff like that, down to the basic plan where you get almost nothing. You can’t have traffic manager, you can’t have deployment slots, and they do also have a free plan. And a shared plan even for as low as $11 a month. You have a lot of different options depending on your needs. I’m just going to choose the S1 plan. It’s a standard plan, gives me all the cool things but I don’t need the performance just yet because we’re just testing out.

    I’m going to choose the S1 standard plan instead of the free plan that my other app is running on. Now that’s it, it’s a one page set of settings. This is going to create me a web app. I’m going to pin this to my dashboard and click Create. Now the thing about web apps is that you create them and they’re empty. So you actually do need to deploy code. If you’ve got Microsoft Visual Studio, you can connect Visual Studio using the Azure plugin and then deploy your applications directly into this web app. One click, you click Publish and it will do that. This is going to take … It’s very quick to create a web app because it’s not like a virtual machine where it has to create networks and NIC cards and all these sort of things. It’s going to create this for me fairly quickly and then I can customize it.

    That was quite quick, my web app is already created. We can see on this over view screen, the URL of our web app. I’ve got FTP user name and I can FTP into the site and deploy my site using FTP. If I go down to application settings I can see that I can choose a .NET Framework version, PHP version, Python version, a Java if I want to install. These things are not installed by default. 32 bit verses 64 bit. This is where all of your settings are when you deploy your app. You get all these extra things such as SSL, custom domains, Azure to manager your backups. You can do a backup type of job.

    Here’s how you create an Azure Windows web app. Let me know how that goes for you.