Module 3
AWS Lambda
Serverless compute service that allows you to run code in response to events without provisioning or managing servers.
It lets a person automatically run code in response to
many types of events, such as HTTP requests from the Amazon API gateway, table updates in
Amazon DynamoDB, and state transitions.

Key features
- serverless compute
- event driven
- auto scaling
- pay as you go
- concurrency control
- monitoring and logging
- built in fault tolerance(auto retries, dead-letter queues and error handling)
Advantages
- No server management
- Cost savings
- Ease of use
Disadvantages
- Execution time of max 15mins
- Cold starts
- Resource limits
Amazon DynamoDB
Managed No-SQL DB from AWS that provides fast and predictable performance with seamless scalability.
Key features
- Fully managed
- Scalability
- Low latency and high throughput
- Flexible data model
- Global tables
- Integrated with AWS Ecosystem
- Security(Encryption, IAM and VPC endpoints)
- Transactions(ACID)
- Streams(for real-time data)
- Backup and restore
Advantages
- High availability and durability
- Fully managed
- Low latency
- Scalable and flexible
- Serverless integration(with lambda)
- Security
Disadvantages
- Limited querying flexibility
- Provisioned capacity limits
- Consistency modes
- Small item size of only 400kb per item
- Complexity increases with large data
Amazon ECS
Elastic Container Service AKA EC2 Container Service is a managed service that allows users to run Docker-based applications packaged as containers across a cluster of EC2 instances. With ECS, Fargate launch type, the load and responsibility of EC2 cluster is transferred over to AWS.
Key features
- Fully managed
- Scalability
- Integration with AWS services
- Fargate support
- Task definitions can be used to say how containers should run
- Service scheduling can start/stop in schedule.
- ECS cluster management
Advantages
- Managed service
- Flexible deployment options
- Integration with AWS Ecosystem
- High scalability
- Cost efficiency
- Improved developer productivity
- Security
Disadvantages
- Cluster management overhead
- Limited cross-cloud support(again, vendor lock in)
- Region limitations
- Cost complexity
Amazon S3 Glacier
S3 Glacier is low-cost cloud storage service designed by AWS for archiving and long-term data backup. Designed to provide a cost-effective service for storing large amounts of archival data that doesn’t require immediate access. Part of S3 family.
Can set policy to automatically move data from S3 Standard to Glacier after a set retention period.
Advantages
- Low cost storage
- High durability
- Flexible retrieval options
- Seamless integration with S3
- Scalable
- Long term data archiving
- Security
- Compliance(suitable for healthcare, financial services and government use)
Disadvantages
- Retrieval latency, can take hours to even a day
- Retrieval costs add up
- Cold data accessibility
- Limited features(no event notifs like S3)
- Low data availability
- Data restoration process high
- No support for object modification(once uploaded, can’t edit object, can only delete)
Amazon Kinesis
Used to analyze streaming data and process it for further use at large amounts of scales. Fully managed by Amazon.
- Kinesis data streams(for real time streaming of data)
- Kinesis data firehose(for loading data into AWS services)
- Kinesis data analytics(for analyzing the streaming data)
- Kinesis video streams(for streaming video data)

Amazon Redshift
Large scale data warehousing. Fully managed by Amazon. Can use SQL-based tools to analyze large datasets.
Key features
- Massively Parallel Processing
- Columnar Storage
- Scalable
- SQL interface
- Integration with AWS ecosystem
- Automated backups
- ML integration

Amazon EMR
Elastic Map Reduce simplifies running big data frameworks like Hadoop, Spark on AWS. Designed to process large amount of data efficiently across a scalable cluster of virtual servers.
AWS Disaster Recovery and Backup
AWS Disaster Recovery and Backup solutions provide organizations with secure, scalable, and cost-
effective ways to back up and restore data, as well as to ensure business continuity in case of disasters.
These services are designed to minimize data loss and reduce downtime by leveraging the AWS global
infrastructure and automation capabilities.