Get up to speed with the latest microservice framework from Microsoft Azure Service Fabric Mesh, which completely removes the need for infrastructure management and follows open standards for microservice orchestration.
At the core of containers and microservices is a thorough knowledge of Azure Service Fabric Mesh. In this course, Building an Application with Azure Service Fabric Mesh, you will first learn foundational knowledge of Service Fabric Mesh programming models. Next, you will explore state management. Finally, you’ll discover the basics of scaling, networking, and routing. When you are finished with this course you will have the skills and knowledge to create complex microservice applications straight away, without an overhead of creating or managing any kind of infrastructure.
Course Overview Hi everyone. My name is Ivan Gavryliuk, and welcome to my course, Building an Application with Azure Service Fabric Mesh. I'm a software and data architect and cloud computing professional, consulting for big clients as my day job. Containers, Docker, and microservices are popular trends today; however, in order to successfully deploy them to production, you need a container orchestrator system. In this course, we are going to look at a new technology from Microsoft, Service Fabric Mesh, which is an alternative container orchestrator that brings microservice development to a new level. Some of the major topics that we will cover include mesh programming models. Mesh programming model is beautiful. It stands out from other orchestrators in a way that is solving both infrastructure and software problems. We'll also compare it to other microservice technologies. Storing state. Although the problem of storing state is solved many times, Service Fabric Mesh brings it to a new level and makes it more natural. Scaling. You just can't go to production without scaling your services. Scaling is hard, but not with Service Fabric Mesh, being it horizontal or vertical, manual or automatic scaling. Networking and routing. Networking has always been a challenge and involved in installing and managing complex third-party systems. Service Fabric Mesh has built-in support for networking and routing, which understands both TCP and HTTP protocols. By the end of this course, you will have a solid understanding of Service Fabric Mesh and be ready to kick off your new project using this new emerging technology. Before beginning this course, you should be familiar with Microsoft Azure on a basic level and have some knowledge of the C# programming language. Knowledge of Docker is highly desirable, but not required. I hope you'll join me on this journey to learn Service Fabric Mesh with Building an Application with Azure Service Mesh course, at Pluralsight.
Getting Started Hello, and welcome to Pluralsight. In fact, welcome to the future, and I'm serious. If you are in any way into microservices, I'm telling you, Service Fabric Mesh will be a massive part of your future. Anyway, first things first. I'm Ivan, and I'm happy and privileged to be your instructor for the next 2 hours or so. I've been working with Service Fabric before it was announced for public preview. I've done a bunch of consulting around microservice architectures, Service Fabric, and containers, and other less interesting topics, and I live and breathe Service Fabric in my daily life. This course consists of six related modules, the first of which we are doing now, the overview. Then we'll get into preparing the development environment for Service Fabric Mesh to get your favorite programming rig ready for magic to happen. Then we'll have an overview of Mesh programming models, and that's where the beauty of mesh is, so prepare to be excited. We'll look at how you can store application state in Mesh applications, how to scale them, which is an essential part of microservice architecture, and Mesh really shines here, and how to expose your Mesh applications to the real world via public endpoints. You can always reach me here, on Pluralsight, or on Twitter @aloneguid, where I'm always happy to chat about containers and other cool technologies. But enough about me. Let's talk about this course.
Preparing Your Development Environment Okay, as the title suggests, this module is going to show you how to install Service Fabric Mesh development environment, and of course as we go, we'll be shedding light on each component required to run Service Fabric Mesh. See, I have no interest in showing you how to click Next, Next, Next while being totally oblivious to what's happening behind the scenes. No chance. So, we'll do a bit of explaining as we go of things like how Service Fabric Mesh applications actually run, both locally and on Azure, and which parts the application consists of. Also, how do you install each part and connect together, and so on. Therefore, in this module we'll do the following: get a general picture of what are the main components of Service Fabric Mesh, install each component on a local development machine, including Docker for container development, which you might or might not have by now, and also Service Fabric SDK, along with Service Fabric Mesh SDK. We'll also configure Visual Studio to include development tools required for Mesh and give everything a test run to make sure our environment is working. Anyway, first on the cards is to figure out what the Mesh is made of.
Mesh Programming Model Overview Okay, this module is all about understanding Service Fabric Mesh architecture and programming. You have the environment set up already, and if not, watch the appropriate earlier module. So let's have an overview what Service Fabric Mesh consists of. Therefore, in this module, we will do the following: Look at which components Service Fabric Mesh applications consist of, have an overview of Service Fabric Mesh resources, and create a few microservices and deploy them to a local cluster.
Storing State Hi again. Happy to see you here. At this point, you should be comfortable starting writing simple microservices with Service Fabric Mesh and debug them on a local cluster; however, at some point, when your application grows, or even at the beginning of its lifetime, it needs to store some state, being it intermediate cached data, some algorithm checkpoints, actual customer data, and so on. Having state is inevitable. Therefore, in this module we will discuss different options to store state in your microservices, clarify what are the pros and cons of every approach, and do some practical exercises to make our microservice storage aware.
Scaling Services Hello, and welcome to the next module in this course. You've progressed quite far, congratulations. There are still a few interesting topics to learn about Service Fabric Mesh, and here is one of them, scaling. No production application, especially a microservice application, can live without adapting to an incoming load. You should be able to scale it horizontally and vertically based on customer and application demands; Therefore, in this module, we will get a short overview what the scaling is about, what is horizontal and vertical scaling, why horizontal scaling is more preferred, and what are the types of horizontal scaling, and also look at a practical example of scaling our demo solution.
Exposing Web Endpoints Hello, and welcome to the next module in this course. You're almost ready to develop production-ready Service Fabric Mesh applications, and that's great news. I'm genuinely happy for you; however, there is one important bit missing in your arsenal of knowledge, and that's networking. So far, we've been creating console applications that don't need to be accessed from the outside and never discussed how you can create something like an API or a website. Therefore, in this module, we will correct the situation by getting an overview of how networking works in Service Fabric Mesh, how you can expose your services via public endpoints, and how to communicate between services. Let's go.