To deploy our application serverless we need an IAM role that has AWS credentials that consist of
AWS_ACCESS_KEY_ID, SECRET_ACCESS_KEY and other optional fields.
We need to use
aws cli to configure settings related to accounts. Our credentials are stored in
~/.aws/credentials and are used by the Serverless framework while deploying an application.
There are cases where we need to configure multiple credentials configured to deploy different applications with specific credentials.
Let’s jump onto doing things and you will be able to configure multiple AWS credentials.
If you want to create a new AWS profile, you can follow Create an IAM…
In this article, I will take you through steps on how to generate PDF using AWS Lambda, Serverless framework, Puppeteer.
Recently I was working on a requirement to generate PDFs through the server-side because of the dynamicity of data involved. Luckily there are tools like Puppeteer which help us to generate pdfs.
Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium.
Puppeteer basically launches a headless chrome browser where you can take…
FCM (Firebase Cloud Messaging) basically helps you receive notifications in various platforms. The FCM SDK is supported only in pages served over HTTPS. This is due to its use of service workers, which are available only on HTTPS sites.
Recently I was in need to integrate a push notification service so that our web client can handle notifications coming and showing them to users. We were already using
React , so I’ll be taking you through the journey of how I did that.