Cloud

Write an awesome doc for cloud and how to deploy our apps using technologies like AWS, GitHub actions, CI/CD and Docker. Also a very comprehensive documentation around AWS.

View on GitHub

DynamoDB

Encryption VS Hashing

Suppose you have a password field. Now we know that AWS DynamoDB encrypts my data before storing it on the physical hard drive but when my AWS admins are fetching data AWS will send a decrypted version, so they can see it in plain text.

But that’s not the point, what we need to do is hashing our password field with a resilient algorithm against ASICs attacks. For example Argon2, you can find its implementation in JS here.

Encryption

Sometimes we have regulatory compliance requirements that asks us to encrypt data on top of data being encrypted at REST.

[!TIP]

It’s a good idea to always know what kind of regulations do we need to meet.

DynamoDB Accelerator – DAX

DAX vs traditional caching solutions at the application level

Partition Key, Sort Key, and Primary Key

[!TIP]

Your primary key needs to be selected in a way that it is not gonna create hot partitions where one or a couple of partitions have to handle a lot of data while others do not have much data.

Learn more