Friday, September 25, 2026

Reference Architecture for AI-integrated Genomic Analytics on Oracle Cloud Infrastructure

 I have been thinking about writing this blog for some time. Genomics is a fascinating field and has potential to unlock so many hidden science behind the working of human body. 


Reference Architecture for AI-integrated Genomic Analytics on Oracle Cloud Infrastructure




Monday, July 06, 2026

Reference Architecture: Building a Cost Optimized, High-Throughput HL7, EDI, and FHIR Processing Pipeline on OCI

 OCI (Oracle Cloud Infrastructure) provides more than 200 services to build your next enterprise application. Explore the blog authored by me to learn how OCI can help build High-Throughput HL7, EDI, and FHIR Processing Pipeline on OCI. 

Reference Architecture: Building a Cost Optimized, High-Throughput HL7, EDI, and FHIR Processing Pipeline on OCI

Sunday, November 02, 2025

LLM Evaluation Fundamental techniques

In lot of my conversation  with fellow technologist one question which is mostly in everyones mind is "How to make sure my application is predictable" .

I thought of sharing my learning :


https://www.linkedin.com/pulse/mental-model-llm-application-evaluation-moving-beyond-raghu-iyer-webrc/?trackingId=pIuqdLvHbk0P551bDTApUg%3D%3D



Monday, September 29, 2025

Handle the error “OwnershipControlsNotFoundError” for buckets created prior to April 2023 when the bucket ownership was defaulted to “Object Writer”

Here you go published a  python code sample written for migrating S3 bucket ownership controls between AWS accounts. The code is written to help developers handle the error “OwnershipControlsNotFoundError” when get-bucket-ownership-controls API is used to read the S3 bucket ownership from buckets created prior to April 2023 when the bucket ownership was defaulted to “Object Writer”

Any suggestion on improvement , leave comment.

https://github.com/aws-samples/sample-migratings3bucketownership

Building resilient applications: design patterns for handling database outages

Check the blog authored by me on design patterns . Design pattern for any application is not a after thought, it is critical to think through before design is finalized.


https://aws.amazon.com/blogs/database/building-resilient-applications-design-patterns-for-handling-database-outages/



Friday, September 15, 2023

Gray Failures: What is it and how to detect one?

If you are reading this article , i guess you are curious to know about gray failures and different methods to detect gray failures. 


Hopefully this article authored by me and my peer will give you insight on question in your mind 

https://aws.amazon.com/blogs/mt/detecting-gray-failures-with-outlier-detection-in-amazon-cloudwatch-contributor-insights/



Thursday, August 24, 2023

How to select the best machine learning service in AWS

 

If you looking for directional information on how to select an Machine learning algorithm, check the below blog.   The blog i wrote though is specific for manufacturing but it can provide direction on different use cases

https://aws.amazon.com/blogs/industries/selecting-the-best-automatic-machine-learning-to-meet-your-manufacturing-needs/




Testing AWS Cloudformation Template

 Very interesting tool to test the cloud formation templates. Check it out 

TaskCat

https://github.com/aws-ia/taskcat






Wednesday, November 30, 2022

Tranformation in Manufacturing

 Do you want to know how CPG industry  is undergoing transformation using IoT technology, read the blogs on how AWS partners are using AWS technologies to build solutions for CPG industry


https://aws.amazon.com/blogs/industries/how-to-build-a-smart-production-solution-with-dxcs-spark-platform/



Friday, October 21, 2022

Wednesday, September 07, 2022

AWSIoTPythonSDK.exception.AWSIoTExceptions.connectTimeoutException

Are you getting the below error when sening data to IoT Core using the "AWSIoTPythonSDK." ?


Here is my error :


  File "/usr/local/lib/python3.6/site-packages/AWSIoTPythonSDK/MQTTLib.py", line 520, in connect
    return self._mqtt_core.connect(keepAliveIntervalSecond)
  File "/usr/local/lib/python3.6/site-packages/AWSIoTPythonSDK/core/protocol/mqtt_core.py", line 199, in connect
    raise connectTimeoutException()
AWSIoTPythonSDK.exception.AWSIoTExceptions.connectTimeoutException


The below can be reason for  this issue


1- You have not defined policy to allow the sending message to the IoT Core topic. If that is the case create a policy for the "Thing"


You need to define

  Publish/Subscribe policy 

Connect and Publish Policy

 

If the policies are defined than check the active version of policy, In my case old policy was active

 

2- Make the latest one active  

 Check this  under your "Thing" policy settings:

 


 

 Hopefully one of it works. Leave comment if it does help

Thanks



 



Monday, July 11, 2022

Temporary IAM credential for non AWS deployed application/ service - IAM Roles Anywhere

 Tired of managing long term IAM credential for connecting to AWS service from external application? Challenged with managing client ID and secret? Your security team not comfortable  you managing an credential for critical features?

 

Wait no more. 


Check out the new feature IAM roles anywhere which i have been missing all these years as managing long term IAM credential has always been an hassle and not secure.


https://aws.amazon.com/blogs/security/extend-aws-iam-roles-to-workloads-outside-of-aws-with-iam-roles-anywhere/


Tuesday, February 22, 2022

AWS Amplify : Failed to pull sandbox app, reason: unable to get local issuer certificate

Here is the scenario: 

You are trying to pull Sandbox app from Amplify and complete data model using the command:

amplify pull --sandboxId "AppGUID."

and you get the error message :

"Failed to pull sandbox app: request to https://production.us-east-1.appstate.amplifyapp.com/AppState/"AppGUID" failed, reason: unable to get local issuer certificate"


The solution which generally works:

Log off company VPN if you are connecting to your organization's VPN. You will find this solution when you google the error. Well, problem solved, RIGHT?  

It worked for me, and I was able to pull the application to local with the complete data model.

Curious and Open Question  :


But the question is why it even happened ????? Please read if you are curious and not just looking for an easy solution without knowing the actual cause. 


Rationale:

I performed a few tests using OpenSSL to understand the complete communication between client and server. One of the simpler commands you can use is the -connect command:

openssl s_client -connect production.us-east-1.appstate.amplifyapp.com:443 

After reading the article below, I learned that the proxy servers don't perform automatic checks for certificate chaining like browsers do by using the AIA (Authority Information Access) field in the certificate. 

refer to this article for intermediate certificate :https://blogs.cisco.com/security/where-is-my-intermediate-tls-certificate

The leading cause seems to missing intermediate certificates in the proxy server, hence the error "unable to get local issuer certificate." In the case of proxy servers, one solution is to import the missing certificates to the device certificate store to get it working.

Hope this explains the root cause of the issue, which is generic and not specific to only this scenario.














Thursday, December 30, 2021

Mechanical Sympathy - Closing post 2021

 


One of my techno-geek followers sent a note a  few weeks back asking for updates on my last post for this year and asked about my favorite post. Unfortunately, I have not been actively blogging in 2021, said that I  have been working offline with the engineering community actively on exploring new technologies. One of my favorites has been learning the machine learning area.  I would like to thank all my fellow engineers for their collaboration and engagement over the years. 

As we move on to 2022, I thought of looking back for my favorite post over the years and this post beats all others and is still my favorite. 


Quote posted around four years back from Jackie Stewart "https://www.metahat.net/2018/03/mechanical-sympathy-learning-from-racing.html"


“You don’t have to be an engineer to be a racing driver, but you do have to have Mechanical Sympathy.” 

– Jackie Stewart, racing driver


I wish all of you, Happy and Healthy New Year!!!







Tuesday, June 08, 2021

Why do we use np.random.seed()


This is a simple function but to my surprise lot of ML engineers had asked me about the actual usage of this function and why do I use it when i am working on an algorithm which will be shared with other engineers. 


The simple answer is :

the function generates a random deterministic number. It generated the same random number each time for a specified seed  

"It's a random function with deterministic output for a specified seed. This helps to share the code and get the same output each time. "


Try this :


np.random.seed(1)

np.random.randint(low = 1, high = 10, size = 20)


The output will be, each time till seed is specified as "1" 

array([6, 9, 6, 1, 1, 2, 8, 7, 3, 5, 6, 3, 5, 3, 5, 8, 8, 2, 8, 1])






Thursday, February 11, 2021

Installing Octave in Ubuntu running on Docker

I want to run Octave on Ubuntu running on docker.  Simple stuff but still manage to get errors and had to spend  few minutes on fine-tuning 

Here it goes

1- Start docket and get Ubuntu image from repo
    - Couple of commands
            - docker pull ubuntu
            - docker run -it ubuntu 


2- Install Octave 
    - ran command "apt-get install octave" and here it goes error "Unable to locate package Octave"
  




3- to come over this issue run below commands
    - apt-get update
    - apt-get install octave 


Done......

Reference Architecture for AI-integrated Genomic Analytics on Oracle Cloud Infrastructure

 I have been thinking about writing this blog for some time. Genomics is a fascinating field and has potential to unlock so many hidden scie...