Category Archives: AWS

AWS Lambda to generate CSV file from RDS PostgreSQL

One of the requirement was to generate csv file for set of queries from RDS PostgreSQL and upload the csv file to s3 bucket for power bi reporting. Powerbi connects to s3 url and generate report. There is no gateway … Continue reading

Posted in AWS, AWS Lambda, AWS SSM, PostgreSQL, S3 | Leave a comment

How To Create Jupyter Notebook using Amazon SageMaker

In this blog post, i would like to present how to create Jupyter Notebook¬† and run various commands using Amazon Sagemaker What is Jupyter Notebook? The Jupyter Notebook is an open-source web application that allows you to create and share … Continue reading

Posted in AWS, Jupyter, Sagemaker | Tagged , | Leave a comment

Python Script – Create and Insert data into Dynamodb table

In this example, i would like to demonstrate how to create a AWS DynamoDB table using python. I’m taking the simple employee table which contains Id, FirstName, LastName, Dept and Sal columns. Also, i’m going to create a Partition key … Continue reading

Posted in AWS, DyanamoDB | Leave a comment

AWS S3—>AWS Lambda —>SSM—> SQL Server Job

Scenario: Application is running on java and the database is using PostgreSQL.¬† Application user uploads the data and this data needs to process to analytic server as well. There is no direct access to Analytic Database server that is running … Continue reading

Posted in AWS, AWS Lambda, AWS SSM, PostgreSQL, S3, SQL Server 2016 | Leave a comment

AWS Lambda to connect to PostgreSQL and execute a function/query using Python

It’s been long time since i wrote a blog post. In this post i would like to show an example of lambda to connect to PostgreSQL database and execute the query. Build a PostgreSQL psycopg module in order to connect … Continue reading

Posted in AWS, PostgreSQL, Uncategorized | 5 Comments