When working for a large enterprise customer there are often requirements to search for a cloud resource. For example, recently an incident was reported we had to decide if IP address in the Service Ticket was on-prem or on one of the public clouds. Such a request could be made for VM name as well.

Fortunately, Azure Resource Graph Explorer in Azure Portal make it easier for such requests.

Azure Resource Graph acts as a database of resources with tables that can be queried using Kusto.

Here is an example to list all ResourceGroups.

In part 2, entire pipeline to ingest data into Snowflake was automated using Azure Logic App and SnowPipe. JSON Data was loaded in Snowflake landing table with a single 1 column called JSON_DATA.

Ideally, there should also be a datetime column that will contain the date and time of when data was loaded into landing table. However, due to a limitation in SnowPipe it will not allow any additional column when using JSON format. If you try, you will get following error.

In part 1, vehicle inventory data was downloaded locally before pushing into Snowflake stage. It included manual steps to run Python script to download JSON data, run commands in SnowSql to upload files and then COPY INTO command to load data into Snowflake table.

I was able to automate all of it with use of Azure Logic Apps and Blob Storage. The idea is to automatically run this entire process on a daily basis to get updated inventory from each car dealer in Snowflake.

Here is how automated workflow looks like:

Steps in Red circle are expanded below
  1. Azure Logic App is the starting point of this…

Like everyone else, I found car buying process complex and time consuming. Mainly so because one has to visit many dealer’s website for inventory to look for the perfect car with all the desired options.

After looking at few of the dealers website, I realized that all of them looked alike. I wondered if writing a web scrapper in Python could help me query all the dealers’ inventory in a single go.

Based on the interactions with filters, it seems like websites were using REST APIs to load new data. …

Parag Shah

I live in Vancouver, Canada. I am a certified SnowPro and Azure Architect. I enjoy good Coffee and Outdoors. LinkedIn: https://bit.ly/3cbD9gW

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store