Module 02
Module 02
Module 02
By- Shyam
IAM
• IAM (Identity and Access Management) in AWS (Amazon Web Services)
is a comprehensive service that enables you to manage access to AWS
resources securely.
• It allows you to control who can access your AWS resources (such as
EC2 instances, S3 buckets, databases, etc.) and what actions they can
perform on those resources.
• IAM in AWS plays a crucial role in enforcing security best practices,
ensuring compliance, and maintaining the confidentiality, integrity, and
availability of your AWS resources.
• It is a foundational component of AWS security and access management.
IAM
• Rollback and Drift Detection: CloudFormation tracks the state of your stacks
and automatically rolls back changes in case of failures. It also detects drift
(differences between the desired stack configuration and the actual resources)
and provides insights into any configuration changes made outside of
CloudFormation.
• Integration with AWS Services: CloudFormation integrates with other AWS
services such as AWS Identity and Access Management (IAM), AWS
CloudTrail for auditing, AWS CloudWatch for monitoring, and AWS
CodePipeline for continuous integration and deployment.
SES, SQS and SNS
SES, SQS, and SNS are three messaging services provided by Amazon
Web Services (AWS) that serve different purposes:
• Amazon SES is used for sending and receiving emails,
• Amazon SQS is used for message queuing and processing, and Amazon SNS
is used for pub/sub messaging and notifications.
• Each service is designed to address specific messaging requirements and can
be integrated with other AWS services to build scalable and resilient
applications.
SES, SQS and SNS
Stateless Execution:
• Lambda functions are stateless, meaning they do not maintain any server state between invocations.
• Each invocation of a Lambda function is independent, and AWS Lambda automatically handles the
scaling and execution of multiple concurrent invocations of the same function.
Pay-Per-Use Pricing Model:
• With AWS Lambda, you only pay for the compute time consumed by your function, measured in
milliseconds.
• There is no charge when your code is not running, and AWS Lambda automatically scales your
function's capacity up or down based on incoming request traffic.
Integration with Other AWS Services:
• Lambda integrates seamlessly with other AWS services, allowing you to build serverless applications
that react to various events and triggers within the AWS ecosystem.
• For example, you can use Lambda functions to process data uploaded to Amazon S3, trigger code in
response to changes in Amazon DynamoDB tables, handle API requests from Amazon API Gateway,
and more.
AWS Lambda
Route 53 and KMS are two different services provided by Amazon Web
Services (AWS) that serve distinct purposes:
Amazon Route 53:
• Amazon Route 53 is a scalable and highly available Domain Name System (DNS)
web service that enables you to route traffic to various AWS services, such as EC2
instances, S3 buckets, Load Balancers, and other resources, as well as to external
resources outside of AWS.
• Route 53 provides domain registration services, DNS health checks, traffic routing
policies (such as weighted routing, latency-based routing, geolocation routing, and
failover routing), and DNS query logging for monitoring and troubleshooting.
• It also integrates with other AWS services like CloudWatch for monitoring and
metrics, and AWS Identity and Access Management (IAM) for access control.
Route-53 & KMS
Amazon DynamoDB:
• Amazon DynamoDB is a fully managed NoSQL database service that
provides fast and predictable performance at any scale.
• It is designed for applications that require single-digit millisecond latency and
can handle large-scale, high-throughput workloads with low-latency access to
data.
• DynamoDB offers features like automatic scaling, built-in security controls,
data encryption at rest and in transit, global tables for multi-region replication,
and integration with AWS Lambda for event-driven architectures.
Database
Amazon Aurora:
• Amazon Aurora is a fully managed relational database engine compatible with
MySQL and PostgreSQL, offering the performance and availability of
commercial databases at a fraction of the cost.
• Aurora provides high performance, reliability, and scalability with features
like automatic scaling, fault-tolerant storage, read replicas for scaling read
workloads, and Multi-AZ deployments for high availability and data
durability.
• It is designed to deliver up to five times the throughput of standard MySQL
databases and up to three times the throughput of standard PostgreSQL
databases.
Database
Amazon Redshift:
• Amazon Redshift is a fully managed data warehouse service that allows you to
analyze large datasets using SQL and business intelligence tools.
• It is optimized for analytics workloads and offers fast query performance by
using columnar storage, parallel query execution, and advanced compression
techniques.
• Redshift integrates with popular business intelligence tools like Tableau,
Looker, and Amazon QuickSight, and supports data lake integration with
Amazon S3 for scalable storage and analytics.
Database
Amazon Neptune:
• Amazon Neptune is a fully managed graph database service that allows you to
build and run applications that work with highly connected datasets.
• It supports two popular graph database models: Property Graph and RDF
(Resource Description Framework).
• Neptune is suitable for use cases such as social networking, recommendation
engines, fraud detection, knowledge graphs, and network and IT operations.
Data Management and Storage Testing in AWS
Testing data management and storage in AWS involves ensuring that your
data is securely stored, efficiently managed, and accessible when needed.
• key aspects to consider and strategies for testing:
• Data Integrity Testing: Verify the integrity of data stored in AWS services such as
Amazon S3 (Simple Storage Service), Amazon EBS (Elastic Block Store), or
Amazon RDS (Relational Database Service). This involves performing checksums,
data comparisons, and ensuring data is not corrupted during storage or retrieval.
• Backup and Recovery Testing: Test the backup and recovery processes to ensure
data can be reliably backed up and restored. This includes testing backup
schedules, retention policies, and recovery time objectives (RTOs) and recovery
point objectives (RPOs).
Data Management and Storage Testing in AWS
key aspects to consider and strategies for testing:
• Data Access Testing: Verify that authorized users have appropriate access to data
stored in AWS. Test access controls, permissions, and encryption mechanisms to ensure
data confidentiality and integrity are maintained.
• Performance Testing: Evaluate the performance of data storage and retrieval
operations. This includes testing latency, throughput, and scalability of AWS storage
services under different loads and configurations.
• Data Lifecycle Management Testing: Test data lifecycle management policies to
ensure data is appropriately retained, archived, or deleted according to regulatory
requirements and business needs. This involves testing data expiration, archiving, and
deletion processes.
• Disaster Recovery Testing: Test disaster recovery procedures to ensure data can be
recovered in case of failures or disasters. This includes testing failover mechanisms,
data replication, and failback procedures for AWS storage services.
Data Management and Storage Testing in AWS
key aspects to consider and strategies for testing:
• Compliance and Security Testing: Ensure compliance with data security standards
and regulations (e.g., GDPR, HIPAA) through security testing and audits. Test
encryption, access controls, and logging mechanisms to ensure data security and
compliance requirements are met.
• Cost Optimization Testing: Test cost optimization strategies for data storage in AWS.
This includes testing storage tiering, lifecycle policies, and data compression to
optimize storage costs while meeting performance and availability requirements.
• Cross-Region Replication Testing: If using multi-region architectures for data
redundancy and disaster recovery, test cross-region replication mechanisms to ensure
data consistency and availability across regions.
• Data Transfer Testing: Test data transfer mechanisms between on-premises systems
and AWS storage services or between different AWS regions. This includes testing data
transfer speeds, reliability, and costs.
Data Management and Storage Testing in AWS