Azure, Cloud, Docker, Microservices

Azure Service Fabric Mesh

I was sort of playing around (much in the way an architect would if they were trying to get a feel for the landscape of what something is about at a high level) with the Azure Service Fabric Mesh. I did a little video on it. I don’t claim to be an expert on it. I did walk away knowing what the service fabric mesh is about now 🙂 I love learning.

Here’s the tutorial

https://docs.microsoft.com/en-us/azure/service-fabric-mesh/service-fabric-mesh-tutorial-create-dotnetcore

https://docs.microsoft.com/en-us/azure/service-fabric-mesh/service-fabric-mesh-overview

https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-actors-introduction

and part 2 where we update/upgrade the app to have another column

Also when done, don’t forget to cleanup by deleting your resource group so that you won’t be charged extra.

In the Azure CLI


az group delete --resource-group "your resource group name"

Or thru powershell


Remove-AzureRmResourceGroup -Name "your resource group name"

Azure, Cloud

2018 Global Azure Bootcamp in St. Louis

Attended the St. Louis Azure Bootcamp hosted by our friends at ArchitectNow (thanks Kevin Grossnicklaus and crew).

https://github.com/ArchitectNow/Global-Azure-Bootcamp-2019

There are 3 labs.

I finished the first one at home (Modernizing legacy apps). It will cost you approx $12 in Azure credits to complete.

Here is lab 3 which is the Containers/Kubernetes (in AKS) one. I created a summary of what you’ll see if you do it. I’m sorry that I did not do that for lab 1.

Azure, N/A

Azure Containers and Clusters

So a few months ago I attended an Azure Bootcamp in St. Louis that was produced/sponsored by Kevin Grossnicklaus at Architect Now. Kevin is an expert at many technologies (including Azure) and has done some amazing things for the city of St. Louis with respect to “sharing the knowledge” with all of his work and effort in the devUp (formerly Days of .NET) and the St. Louis .NET users group,e tc.. Just wanted to thank him there. As a benefit for attending the boot camp a few months back, we received $300 of free Azure credits. I had to “claim” them by July 8 or they would expire. So naturally (as I have a lot of other things going on as well as learning), I needed to prioritize my learning and would wait until about now before claiming the credits. You have 3 months to use them. So this gives me a good opportunity to dig into Azure.

One of the things I already noticed is that the ARM Templates are pretty much what the AWS Cloudformation service does in AWS. So I like how you can take your hands on knowledge in AWS and immediately relate most of it to the equivalent in Azure (and vice/verse).

As I’m focusing much of my time and effort outside of work on microservices, I’m digging into Containers and eventually Clusters in Azure.

ACI (Azure Container Instances)is Azure’s service that allows you to run your containers (usually Docker as I’m not sure if they support Rocket) in Azure. They do all of the heavy lifting for you behind the scenes.

https://docs.microsoft.com/en-us/azure/container-instances/

Provides a quickstart.

If you have Pluralsight, you can take the following course (which is very good):

https://app.pluralsight.com/library/courses/azure-container-instances-getting-started/table-of-contents

ACI is not to be confused with AKS which is the Kubernetes service on Azure that will handle the load balancing and clustering of your containers into Kubernetes PODS.

I enclosed a great start video for AKS which explains what that is about.

Angular, AWS, Azure, Cloud, Web

Angular app using AWS Cognito, AWS Api Gateway and AWS Lambda

 

Wanted to put together this quick demo (which is not really a tutorial per se) that shows how you can use AWS Cognito to authenticate a front end (in this case an Angular app but it could be React, etc..).  Once authenticated, you can then invoke a restful API via the AWS Api Gateway service (which invokes a Lambda function).

AWS Cognito is what you could use if you’re using AWS and you’re developing a mobile app out there that needs to securely persist/use users/passwords out there.

I’d love to know what the equivelant in Azure would be.

Angular source

https://github.com/kousekt/angularcognitotest

 

 

I was curious of the Azure equivalents so I found this link

https://docs.microsoft.com/en-us/azure/architecture/aws-professional/services