Cloud Unfold

unfolding the cloud trivia

AWS Glue

Are you thinking of migrating DynamoDB (DDB) data to Postgres? One of the challenges you may encounter is Glue job not supporting Bytea data type target Postgres, and hence handling the binary data. This post will walk you through a…

SQS

Read Queue Policy aws sqs –region ${region} get-queue-attributes –queue-url ${sqs_url} –attribute-names Policy   Attach access policy to a Queue This is a bit tricky, as unlike other AWS commands,set-queue-attributes needs json file as a string in another json file, so…

LambdaVPC

Some use cases need a Lambda function to be in a vpc with internet access. Whilst Lambda makes networking configurations quite simple, it can still get a bit tricky at times, especially debugging. We can definitely check the individual components…

LambdaSNS

As the name suggests, SNS is truly a simple notification service, however when trying to add a cross account Lambda function as a subscription for SNS topic, we need to perform additional steps. In this quick article, we will see…

SNS

AWS SNS – SMS Monitoring Monthly Usage | Finding your AWS SNS SMS monthly usage using CloudWatch Insights and custom bash script with SNS Usage Reports We all know how SNS keeps track of SMSMonthToDateSpentUSD metric under CloudWatch Metrics letting…

API GatewayCognito

In part I of this article, we configured our User pool, and learnt how to create an Access token for User pool with Client Credentials. In this part, we will configure an API Gateway API to use this User pool…

API GatewayCognito

In this and part II of this article, we will run through the steps for configuring an API Gateway API with Cognito Authorizer with Client Credentials. In Part I, we will focus on creating a Cognito User Pool, setting App…

Lambda

A step by step guide using AWS Lambda layers to manage installation of Python modules for custom AWS Boto3 SDK, requests, numpy, pandas and scipy libraries. Follow this if you are seeing “Unable to import module ‘lambda_function’: No module named”…

API Gateway

AWS Amazon API Gateway HTTP APIs come with built-in support for CORS, however configuring CORS on these APIs with $default route and Authorization can get a bit tricky, and usually results with CORS errors like no ‘Access-Control-Allow-Origin’ header. In this short…