logo

Cloud

Cloud

AWS DynamoDB : Query Multiple Items in Node.js

There is no DynamoDB API to query multiple items by primary key in a single operation. However BatchGetItemCommand can be used to batch multiple read requests and get up to 100 items.
15 July 2024
Cloud

AWS DynamoDB Write Transactions in Node.js

Write transactions are supported in DynamoDB's Node SDK via the TransactWriteItemsCommand method. Transactions can include up to 100 insert, update or delete operations. Either all of the operations will be successful or nothing will be successful.
15 July 2024
Cloud

AWS IAM Policy for Specific S3 Buckets

AWS IAM policy giving all permissions only for specific S3 Buckets. The user can perform all actions but only on given buckets.
26 June 2024
Cloud

AWS IAM Policy for Specific DynamoDB Tables

AWS IAM policy that gives all permissions only for specific DynamoDB Tables. The user can perform all actions but only on given tables.
25 June 2024
Cloud

No Boolean Primary Key Allowed for DynamoDB Tables : How to Handle

DynamoDB does not allow a boolean attribute to be set as the primary key (partition key or sort key) of a table or an index. This can be bypassed by using a String or Number data type instead of the Boolean type.
22 June 2024
Cloud

Get All Rows from DynamoDB Table (Scan or Query) using Node.js

DynamoDB has a maximum limit of 1 MB in its Query or Scan API responses. To get the full data we need to make use of the LastEvaluatedKey response attribute.
22 June 2024
Cloud

Create DynamoDB Tables (with Index) using Node.js

Tables can be created in DynamoDB using the CreateTableCommand() method of the AWS DynamoDB Javascript SDK.
21 June 2024
Cloud

Check DynamoDB Tables Exist using Node.js

We can check whether specific DynamoDB tables exist using the AWS Javascript SDK. The ListTablesCommand method can be used to list DynamoDB tables in a region.
18 June 2024
Cloud

Deploy Next.JS Application on AWS Lightsail

This tutorial discusses how to deploy your Next.JS app over AWS Lightsail. Virtual servers, CDN and domains are discussed.
16 June 2024
Cloud

Experiences of Migrating PHP-MySQL Site to NodeJS / React on AWS Cloud

Experiences of upgrading usefulangle.com, site based on PHP & MySQL to a NextJS app with DynamoDB as the database and deployed on AWS cloud.
12 June 2024
Cloud

AWS DynamoDB Attribute Data Types

AWS DynamoDB supports 10 data types for attribute values in a table - number, string, boolean, binary, null, list, map, number set, string set & binary set.
13 August 2020
Cloud

How to Install LAMP (Linux, Apache, MySql & PHP) on Azure with Ubuntu 18.04

In this article step-by-step process is discussed to setup LAMP stack in Azure, with Ubuntu 18.04 as the operating system.
24 June 2020
Cloud

How to Install LAMP (Linux, Apache, MySql & PHP) on AWS EC2 with Ubuntu 20.04

In this article step-by-step process is discussed to setup LAMP stack in AWS EC2, with Ubuntu 20.04 as the operating system.
3 June 2020
PHP

Download File from AWS S3 Bucket and Save to Local Server using API (PHP)

This article contains sample PHP code that implement the GetObject S3 API call. It will download a file from a S3 bucket, and save it to local server.
28 January 2020
Cloud

How to Install LAMP (Linux, Apache, MySql & PHP) on AWS EC2 with Ubuntu 18.04

In this article step-by-step process is discussed to setup LAMP stack in AWS EC2, with Ubuntu 18.04 as the operating system.
29 November 2018