AWS

Amazon Web Services (AWS) is a leading cloud platform and a pioneer in cloud computing, offering a wide range of services.

Here are a few key services:

Lambda

Launched in November 2014, AWS Lambda revolutionized serverless computing, allowing developers to build and deploy applications without managing servers.

Example of a Lambda function in JavaScript:

export const handler = async (event) => {
  return {
    statusCode: 200,
    body: JSON.stringify({ message: 'Hello from Lambda!' })
  }
}

DynamoDB

AWS DynamoDB is a fully managed NoSQL key-value database designed for high performance.

Basic usage:

import AWS from 'aws-sdk'

const dynamoDB = new AWS.DynamoDB.DocumentClient()

dynamoDB.put({
  TableName: 'MyTable',
  Item: {
    id: 1,
    name: 'Alice',
    age: 7
  }
}, (err, data) => { })
dynamoDB.get({
  TableName: 'MyTable',
  Key: {id: 1}
}, (err, data) => {})

S3

AWS S3 (Simple Storage Service) provides scalable, durable, and cost-effective object storage. It is commonly used for hosting static websites and distributing content like images, videos, and documents globally.

Aurora

AWS Aurora is a fully managed, high-performance relational database compatible with MySQL and PostgreSQL.