aws

Serverless Framework

Serverless Framework

TASK: Static website http://cocktail.review.com.np/ Search bar does not work. Add a data endpoint to serve drinks data to the autocomplete field. Prerequisites NodeJs AWS account AWS CLI Install Serverless cli # Install the serverless cli npm install -g serverless Login to Serverless serverless login Bootstrap a new service serverless Follow the setup instruction in your […]

Getting started with Serverless

Getting started with Serverless

What is Serverless Application? Resources without provisioning and operations. What is a Microservice? Why? Auto-scaling Fault-Tolerant by design Pay-as-you-go Quick and easy to develop? depends.. When? It is wise to consider when to think serverless. Workloads with irregular access patterns Workloads with short execution times Automation What is AWS Lambda? AWS Lambda is an event-driven, serverless […]

Gatsby with WordPress

Gatsby with WordPress

Static site generation Why? When? How? Dynamic sites are slower, expensive, complex, hackable. When? If the site is mostly content and no heavy communication with server to update / calculate content in realtime. Best use case, Portfolio website, company website, blogs, etc. Static site generation with Gatsby Gatsby is powerful tool to create static sites […]

AWS CloudWatch log Lambda console logs

AWS CloudWatch log Lambda console logs

Hi there, I was trying out AWS for couple of days and wrapping my head around Lambda and CloudWatch. I was not able to see the logs from my Lambda function in Cloudwatch. I looked for the solutions online and in AWS docs but could not find anything helpful but later discovered that I forgot […]