AWS/Storage and Databases 11

Tip: Connecting to localstack S3 using the JavaScript AWS SDK v3

I had some issues getting the v3 AWS SDK for JavaScript to communicate with localstack S3, but I found a solution! With the V2 JS SDK, the configuration object for the S3 client looks like: { "region": "eu-west-1", "endpoint": "http://localhost:4566", "s3ForcePathStyle": true } The last field tells the sdk not to use .hostname style connections, and instead puts the bucket in the path. For local..

[Storage and Databases] Amazon Relational Database Service (Amazon RDS)

Relational databases In a relational database, data is stored in a way that relates it to other pieces of data. An example of a relational database might be the coffee shop’s inventory management system. Each record in the database would include data for a single item, such as product name, size, price, and so on. Relational databases use structured query language (SQL) to store and query data. ..

[Storage and Databases] Amazon Elastic File System (Amazon EFS)

File storage In file storage, multiple clients (such as users, applications, servers, and so on) can access data that is stored in shared file folders. In this approach, a storage server uses block storage with a local file system to organize files. Clients access data through file paths. Compared to block storage and object storage, file storage is ideal for use cases in which a large number of..

[Storage and Databases] Amazon Simple Storage Service (Amazon S3)

Object storage In object storage, each object consists of data, metadata, and a key. The data might be an image, video, text document, or any other type of file. Metadata contains information about what the data is, how it is used, the object size, and so on. An object’s key is its unique identifier. Recall that when you modify a file in block storage, only the pieces that are changed are update..