AWS & cloud are the two words you will hear together in the area of cloud.
And one awesome thing which I interacted recently with was AWS custom resources for the AWS CloudFormation.
This story/ article is going to focus mainly on custom resource for the AWS CloudFormation & AWS Lambda Functions using the AWS CDK & Serverless framework respectively.
It is very painful to map the Dynamo DB data as per the parameters that is standardized by the AWS.
And that grows to be more complex when there is a scenario of complex structure of column data like a List, Object, etc.
Doing that with plain code is really hard and that way maintenance goes very hauntingly weird and the best part about AWS is that they do provide us a kind of library/ utility to overcome that.
Continuing from the previous article here to setup VM on the local for the Windows server 2019, we will continue with the instructions for the ADFS setup now
We need ssl connection end to end so that would require — ssl certs and we will use mkcert for that part
Part 1 — Setup the IIS server.
Requirement are as basic as the title of the page i.e. setting up the windows server for playing with Windows 2019 server with ADFS on the local system using the Hyper V.
Continuing from the previous blog only which is here. This one will cover the same thing only but for multiple AWS accounts. And it is better that you go through the previous article to co-relate the things.
This one is just a hobby docker image to view/ look out for the ec2 instance’s metadata using a UI/ html hosted inside/ via nginx docker image.
While managing the AWS ec2 instances checking the instance metadata via curl is very manual and very repetitive work. So to fetch the same using some UI would be very easy for most us.
So here I was with the same challenge of removing the unwanted repeated stuff via curls and commands.
The main requirement is generating the Open API 3 specifications for the spring boot webflux based APIs and exposing the same using the swagger UI.
The pom.xml for the dependencies is shared as a gist below, the most important parts are:-
We will use the springdoc for OpenAPI support of configuration, annotations etc..
Configuration. The gist is shared below —
Controller and Model class
URL for swagger ui is http://localhost:8080/swagger-ui.html and that should be rendering your OpenAPI documentation which will automatically get generated. …
While going through the previous code at the article here people must have gone through the toughest scenario for loading mutual TLS authenticated JWKS(Json Web Key Store) URL.
It was little tricky at first but not impossible because of the so great framework Spring Boot is.
3. Internally that configuration loads a WebClient(Reactive in nature) and loads the JWKS for you
4. And this the main area we can lookout some option for
Continuing things from the previous article here, I felt what if the Authorization Server’s token URL endpoint is Mutual TLS protected, how to make that work?
The findings were little tricky but figured that out based on Spring Boot’s customization it supports.
Scenario 1 — Only the resource server…
Spring 5.0, had introduced huge changes(major one was supporting reactive programming) and part of it was re-writing the Oauth2 Client to support the reactive paradigm.
And I would love to share knowledge around the same. In this article I will focus on the Oauth2 Client part only.
API developer + Web Application developer + Devops Engineer = Full Stack Developer