aws

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 […]

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 […]

Neo4j : Update initial password via command line

When you are setting up your Neo4j server and you can’t have access to Neo4j Browser, mostly if you are using AWS EC2 or some remote system and don’t want to expose those 7474 7687 ports, To set your initial password via command line do the following delete dbms/auth file from your neo4j data directory sudo […]

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 […]