Solved!!! CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server

AWS CodeDeploy is a server software deployment service. It is different from traditional CI/CD deployment in the following ways: The server actively obtains files and deploys them. There is no need to open SSH for CI/CD service to connect to the operation. AWS side settings In addition to the CodeDeploy settings, you will also need … Read more

HTML Screenshot and upload S3 using lambda

In today’s digital landscape, taking web page screenshots is a vital task for numerous applications, including report generation and website monitoring. This post will walk you through the process of capturing HTML screenshots and uploading them to Amazon S3 using AWS Lambda, a serverless computing service that executes code in response to events. Step 1: … Read more

Solved!!! Error: Failed to launch the browser process! /tmp/chromium: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

sparticuz/chrome-aws-lambda was originally forked from alixaxel/chrome-aws-lambda#264. The biggest difference, besides the chromium version, is the inclusion of some code from https://github.com/alixaxel/lambdafs, as well as dropping that as a dependency. Due to some changes in WebGL, the files in bin/swiftshader.tar.br need to be extracted to /tmp instead of /tmp/swiftshader. This necessitated changes in lambdafs. However, it … Read more

Sending Emails via Amazon SES Using Access Key Instead of SMTP Credentials

In the realm of cloud computing, Amazon Simple Email Service (SES) has emerged as a powerful tool for developers and businesses looking to send emails at scale. One of the frequently discussed subjects around Amazon SES is how to authenticate your requests when sending emails. While many developers are accustomed to configuring SMTP settings, sending … Read more

Understanding PostgreSQL: User and Database Creation and Access Management

PostgreSQL, often referred to as Postgres, is a robust open-source relational database management system known for its advanced features and compliance with standards. One of the core aspects of effectively managing a PostgreSQL database is understanding how to create users, manage databases, and handle access permissions. In this blog post, we will cover the fundamental … Read more

Installing Multiple Versions of Node.js Using NVM

Node.js is essential in today’s web development landscape, supporting everything from small-scale web applications to large enterprise systems. As a developer, you often need to handle multiple versions of Node.js for different projects. Fortunately, Node Version Manager (NVM) simplifies this process, allowing you to easily install and switch between various Node.js versions on your system. … Read more

AWS ECR Docker Push and Pull Commands

Amazon Web Services (AWS) Elastic Container Registry (ECR) is a fully-managed Docker container registry that simplifies the process of storing, managing, and deploying Docker container images. Using AWS ECR, developers and IT teams can easily integrate containerized applications into their workflows. This guide will provide a step-by-step tutorial on how to use the Docker commands … Read more

Creating a Read-Only User in AWS PostgreSQL

Amazon Web Services (AWS) offers a robust managed database service known as Amazon RDS (Relational Database Service) that supports various database engines, including PostgreSQL. One common requirement for managing databases is the need to create users with specific roles and permissions. In this article, we’ll walk through the steps to create a read-only user in … Read more

Setting Up a Static Website on Amazon S3 with a CDN

In today’s digital landscape, having a fast, reliable, and scalable website is paramount. Static websites — those primarily made up of HTML, CSS, and JavaScript without server-side processing — have gained popularity for their simplicity and performance. Amazon S3 (Simple Storage Service) offers a robust solution for hosting static websites, while integrating a Content Delivery … Read more