AWS, Cloud

Serverless Framework in dotnet / C#

I’ve been exploring the serverless framework and took some courses in it using writing handlers in node.js. But since I do a lot of C#/.NET development too, I thought I’d do an example (not as many out there in .net) in C# by creating a starter project with the serverless framework.

Code on https://github.com/kousekt/aws-serverless-rest-dotnet

https://serverless.com/

AWS, DevOps

AWS CodeDeploy, CodePipeline with Jenkins Build Step

About a year ago, I did a post on utilizing CodeDeploy/CodePipeline for a .NET 1.1 and 2.0 project which included the cloudformation templates

Deploy .NET Core 2.0 app to AWS using Cloudformation/CodePipeline/CodeDeploy

I’m doing another review of AWS Code pipeline/deploy and Jenkins as it’s been a while since I had to use CodeDeploy/CodePipeline.

Thought I’d make a video demonstrating the tutorial here

https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-four-stage-pipeline.html

and part 2 (I accidentally ended part1)

AWS, Kubernetes, Microservices

EKS – Kicking the tires

Before EKS, running Kubernetes on AWS was non trivial as you had to install KOPS, etc.. No, I never tried to install KOPS, etc..

There are a whole bunch of resources now on learning Kubernetes and containers so I did not attempt to really go into any of that in these videos.  The same applies to the concepts of microservices (bounded context, aggregates, etc..) as that’s outside the scope here.  This demo assumes that you have a basic understanding of Kubernetes. My intended audience are those who are familiar with K8 have heard of EKS but never looked at it as well as those who are familiar with K8 and may never have heard of EKS. The end result of the videos is (hopefully) you will walk away with a better understanding of EKS and enough to get you going to try some of the tutorials on your own.

I meant to create 1 video here demonstrating EKS and running a sample program but I kept accidentally ending the recording session so I ended up with 3 videos. I apologize about that. They’re meant to be viewed one after another.

Corrections in the video I need to make: 

I refer to the K8 resource definition files (ie, .yaml) such as deployments, services, etc. as “Cloudformation scripts”.  I am sorry as I did not mean to as those are “resource definition files”.  Doing the videos are hard and I have a lot of respect for instructors who create online courses.  It’s very easy to make mistakes  🙂

 

Some good resources are Amazon’s EKS site, kubernetes.io, etc..

Also, the Stephane Maarek course is a great course to take to get an understanding of EKS. It assumes you already know the basic/intermediate level K8 (Pods, Services, Deployments, Volumes, etc..) and the basics of AWS as it discusses EC2, Loadbalancing, S3, VPC, etc..

 

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