Cloud Unfold

unfolding the cloud trivia

Posts by: Pritam

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…

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…

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…