Amazon S3
Amazon S3
Introduction to Amazon S3
Buckets in S3
S3 Bucket Policies
JSON
Permit or Restrict
Characteristics of Amazon S3
Durability:
Availability:
http://bucket-name.s3-website-aws-region.amazonaws.com
OR
http://bucket-name.s3-website.aws-region.amazonaws.com
Versioning:
You can version your files in Amazon S3
Versioning in S3
Overwriting a file with the same key will result in incrementing the
version number: 1, 2, 3, etc.
Additional details:
Supports:
S3 Storage Classes
These are the key points you need to know for the exam!
S3 - Encryption
AWS Responsibility:
Your Responsibility:
Configure S3 buckets.
S3 Migration
Limited connectivity
Limited bandwidth
Connection stability
Data migration:
Snowball Edge
Snowcone
Snowmobile
Edge computing:
Snowcone
Snowball Edge
Snowball Edge (for data transfers)
Use Cases: Ideal for large data cloud migrations, data center
decommissioning, and disaster recovery.
Lightweight, weighing 4.5 pounds (2.1 kg), and suitable for edge
computing, storage, and data transfer.
Snowcone:
Snowcone SSD:
AWS Snowmobile
3. Connect and Copy: Connect the Snowball device to your servers and
copy files using the client software.
4. Return Device: Ship the device back to AWS once the data transfer is
complete. The device is pre-configured to return to the correct AWS
facility.
5. Data Transfer to S3: Upon receipt, AWS will transfer the data from
the Snowball device into an Amazon S3 bucket.
Edge Computing
Common Features:
All models can run EC2 Instances & AWS Lambda functions
(using AWS IoT Greengrass).
AWS OpsHub
OpsHub enables:
Charges apply for device usage and data transfer out of AWS.
On-Demand Pricing:
Compliance requirements.
Overall IT strategy.
🟢 Relational Databases
🟠 Non-Relational Databases
1. Structure: Data stored in various formats like key-value pairs,
documents, or graphs.
Databases: Part 1
In this section, you'll explore AWS database services including Amazon RDS
and Amazon Aurora, which offer managed relational databases with
automated administration tasks and high performance. You'll also dive into
NoSQL options like Amazon DynamoDB for scalable, low-latency applications,
and Amazon DocumentDB for managing JSON data. Additionally, you'll learn
about Amazon ElastiCache for in-memory caching with Redis and
Memcached, and DynamoDB Accelerator (DAX) for enhancing DynamoDB
read performance.
Amazon RDS
PostgreSQL
MySQL
MariaDB
Oracle
IBM DB2
1. Read Replicas
2. Multi-AZ
Replication cost
Monitoring dashboards
Amazon Aurora
While Aurora is more efficient, it also costs 20% more than RDS.
NoSQL Databases
Advantages:
Fits naturally into the NoSQL database model due to its schema-
less nature.
Characteristics of JSON:
Both PostgreSQL and MySQL are compatible with Aurora Serverless DB.
Is a key/value database:
A key-value database = is a type of non-relational database,
also known as NoSQL database, that uses a simple key-value
method to store data. It stores data as a collection of key-value
pairs in which a key serves as a unique identifier. Both keys and
values can be anything, ranging from simple objects to complex
compound objects.
Amazon DocumentDB
Amazon ElastiCache
They help alleviate the load on databases for workloads with heavy
read operations
Databases: Part 2
Amazon Redshift
Amazon Athena
Supports formats such as CSV, JSON, ORC, Avro, and Parquet (built on
Presto).
Pricing: $5.00 per TB of data scanned.
Amazon QuickSight
Business analytics.
Building visualizations.
Amazon Neptune
Amazon TimeStream
Offers performance that is 1000s of times faster and costs 1/10th that
of traditional relational databases.
Blockchain Technology:
AWS Glue
In this section, you'll explore AWS Database Migration Services (DMS), which
simplifies database migrations to AWS with minimal downtime. You'll learn
about both homogeneous (e.g., Oracle to Oracle) and heterogeneous (e.g.,
SQL Server to Amazon Aurora) migrations, along with continuous data
replication. Additionally, you'll cover the AWS Schema Conversion Tool (SCT)
for transforming schemas and code during heterogeneous migrations. This
section equips you with the skills for efficient and reliable database
migrations to AWS.
AWS SCT scans application source codes for SQL statements and
optimizes them for AWS services during database migration.
Completed
AWS Databases: Shared Responsibility Model
In this section, you'll learn about the shared responsibility model for
databases in AWS. This model outlines the division of security and
compliance responsibilities between AWS and the customer. AWS is
responsible for securing the infrastructure, including hardware, software,
networking, and facilities. Customers are responsible for managing their
data, including encryption, access control, and compliance with regulatory
requirements. Understanding this model ensures that you can effectively
manage database security and compliance in the AWS environment.
AWS:
Customer:
In the AWS Identity and Access Management (IAM) section, you'll dive into
managing user access and permissions in the AWS cloud. Learn to create and
manage users, groups, and roles, and implement fine-grained access
controls with IAM policies. Explore advanced features like multi-factor
authentication (MFA) and cross-account roles to ensure secure access
management.
📍 AWS follows the least privilege principle, meaning users are given only
the permissions they need to perform their tasks, minimizing the risk
of unauthorized access or misuse.
AWS provides predefined policies for common use cases, and custom
policies can be created to tailor permissions according to specific
requirements.
AWS handles:
Compliance validation
In this section, we focus on securing your AWS environment through IAM best
practices. Discover how to set up multi-factor authentication (MFA), enforce
strong password policies, and utilize IAM roles for secure access
management. Learn to monitor and audit IAM activity for compliance and
threat detection, ensuring your AWS resources stay protected.
Multifactor Devices:
IAM roles define the permissions and policies that govern what
actions the associated service can perform.
Root Account Usage: Only use the root account for AWS account
setup; otherwise, avoid using it for day-to-day operations.
Access Key Management: Never share IAM users and access keys;
each should be unique to an individual or service.
Security Tools
This course covers essential security tools within the Amazon Web Services
(AWS) ecosystem. Learn how to protect your AWS resources with services like
AWS Secrets Manager, AWS Artifact, Amazon GuardDuty, Amazon Inspector,
AWS Config, AWS CloudTrail, and more. Gain hands-on experience in
deploying and configuring these tools to enhance your AWS environment's
security posture.
AWS Artifact
Amazon GuardDuty
Amazon Inspector
EC2 Instances:
Utilizes the AWS Systems Manager (SSM) agent for
assessment.
Lambda Functions:
AWS Config
AWS CloudTrail
AWS Macie
📍 AWS Macie = Amazon Macie is a fully managed data security and privacy
service leveraging machine learning and pattern matching to identify
and safeguard sensitive data within AWS.
AWS Detective
S3 Buckets
IAM Roles
KMS Keys
SQS Queues
AWS Abuse
📍 AWS Abuse = If you suspect AWS resources are being used for abusive or
illegal activities, report them promptly to the AWS Abuse team.
Contact the AWS Abuse team through the AWS abuse form or via email
at [email protected] with relevant details and evidence for
investigation and action.
Cloud Monitoring
For instance, one can set up a billing alarm on the CloudWatch Billing
metric.
Amazon EventBridge
Best practices include efficient event filtering and robust error handling
in event-driven setups.
AWS CloudTrail
SDKs
AWS Services
AWS X-Ray
Test locally.
Re-deploy in production.
Where I am throttled?
Amazon CodeGuru
Features:
Shows how AWS outages directly impact you & your AWS
resources
Global service
Summary
Read through our summary to ensure you understand key concepts covered
in this module!
Decreased latency
Disaster Recovery
Attack protection
As you remember,
1. Regions
3. Edge Locations
No health checks
Source
AWS CloudFront
EC2 Instance
Source
CloudFront:
Read-only access.
S3 Transfer Acceleration
Use AWS's network to find the best path for your application, resulting
in a 60% boost in performance.
Both CloudFront and Global Accelerator utilize the AWS global network
and its edge locations worldwide and integrate with AWS Shield for
DDoS protection.
CloudFront
Global Accelerator
Global Accelerator, on the other hand, does not cache content but proxies
packets at the edge to applications in one or more AWS Regions.
AWS Outposts
📍 AWS Outposts = AWS Outposts are “server racks” that offers the same
AWS infrastructure, services, APIs & tools to build your own applications on -
premises just as in the cloud
Data residency
AWS WaveLength
Ultra-low latency
Source
All application resources and data are hosted within a single AWS
region and a single availability zone within that region.
This setup is the most basic configuration and offers limited fault
tolerance and resilience.
❌ High Availability
❌ Global Latency
🟢 High Availability
❌ Global Latency
🟠 Instance Difficulty
The primary region hosts the active workload and serves user traffic,
while standby regions are kept in sync and act as failover targets in
case of disaster or regional outages..
🟠 Instance Difficulty
🟢 Writes’ Latency
🔴 Instance Difficulty
Docker
Docker Images
Serverless
Lambda
Charges only for the compute time used, with no cost when idle.
Seamlessly integrates with other AWS services for
comprehensive solutions.
Benefits of Lambda
Event-Driven Architecture:
Effortless Monitoring:
Scalable Performance:
Lambda Pricing
AWS Batch
Batch jobs are defined as Docker images and run on ECS (Elastic
Container Service).
Cloud Integeration
This section covers AWS cloud integration services: Amazon
SQS for managed message queuing and scalable application
decoupling. Amazon Kinesis offers real-time data streaming
through Data Streams, Firehose, and Analytics for data
collection and processing. Amazon SNS facilitates pub/sub
messaging for real-time notifications to distributed systems
and mobile devices. Amazon MQ simplifies management of
Apache ActiveMQ and RabbitMQ message brokers, ensuring
high availability and scalability for message-oriented
applications on AWS.
Amazon Kinesis
Amazon SNS
Source
Amazon MQ
SQS and SNS are AWS' proprietary protocols for cloud-native services.
Amazon MQ offers both queue features (like SQS) and topic features
(like SNS).
RabbitMQ
ActiveMQ
Sharing Your Resources in AWS
15 mins read
This section covers tools and strategies for sharing and managing AWS
resources. You'll learn about AWS Organizations, including multi-account
strategies, Organizational Units (OUs), Service Control Policies (SCPs), and
consolidated billing. AWS Control Tower simplifies multi-account setup and
governance, while AWS Resource Access Manager (RAM) enables resource
sharing across accounts. Finally, AWS Service Catalog helps manage and
distribute approved AWS services and resources. By the end, you'll be
equipped to effectively share and manage resources in your AWS
environment.
AWS Organizations
Cost Benefits:
Source
Organizational Units
Useful whitepaper
here https://docs.aws.amazon.com/organizations/latest/userguide/orgs
_manage_ous.html
Single Bill: Consolidated billing into one invoice for all AWS
accounts within the organization.
Advantages include:
Ensure security with robust IAM policies and regular resource usage
monitoring
Source
Pricing Models
15 mins read
AWS offers a Free Tier that provides no-cost access to various services up to
certain limits, including 12-month trials, always-free offers, and short-term
trials, allowing users to explore and test services like EC2, S3, RDS, and
Lambda. For paid services, compute pricing (e.g., EC2, Lambda) is based on
factors like instance type and usage duration; storage pricing (e.g., S3, EBS)
depends on storage type, data volume, and data transfer; and database
pricing (e.g., RDS, DynamoDB) varies by database engine, instance size,
storage, and I/O operations. This flexible, pay-as-you-go model helps users
optimize costs based on their specific requirements.
1. Pay as you go: Pay for actual usage, ensuring agility and
responsiveness to scale demands.
Nodes
IAM VPC
Consolidated Billing
Elastic Beanstalk
CloudFormation
Number of instances
Instance configuration
Physical capacity
Detailed monitoring
On-demand instances:
Minimum of 60 seconds
Pay per second for Linux/Windows or per hour for other operating
systems
Reserved instances:
Spot instances:
Dedicated Host:
Available on-demand
Storage Pricing - S3
Pricing factors:
S3 Transfer Acceleration
Lifecycle transitions
Similar service: EFS (pay per use, offers infrequent access, and
lifecycle rules)
IOPS:
Snapshots:
Added data cost per GB per month
Data transfer:
Database characteristics:
Engine
Size
Memory class
Purchase type:
On-demand
Single AZ
Multiple AZs
Data transfer:
Inbound is free
Opt for private instead of public IPs for cost savings and improved
network performance.
Choose the same AZ for maximum savings, though it may reduce high
availability.
Source
Savings Plan
Sagemaker
15 mins read
Estimating and tracking costs in AWS involves several tools and services
designed to help users manage and optimize their spending. The AWS Pricing
Calculator allows you to estimate the costs of AWS services based on your
specific usage scenarios. The Billing Dashboard provides an overview of your
current charges and historical billing information. Cost Allocation Tags enable
you to categorize and track costs by assigning tags to AWS resources. Cost
and Usage Reports offer detailed insights into your AWS spending, while Cost
Explorer helps visualize and analyze your cost and usage patterns to identify
savings opportunities. Together, these tools ensure you have comprehensive
control over your AWS costs.
Pricing Calculator
📍 AWS Pricing Calculator = a free web-based planning tool that you can use
to create cost estimates for using AWS services. You can use AWS
Pricing Calculator for the following use cases:
Tracking Costs
Billing Dashboard
📍 The AWS Bills page provides a monthly view of your AWS charges. For
monthly billing periods that have not yet closed, the Bills page will display
the most recent estimated charges based on services metered to date.
Source
User-defined tags
Apply tags to RDS, VPC resources, Route 53, IAM users, etc.
Cost Explorer
Gain insight into your AWS costs and usage trends over time.
Analyze data at various levels: from total costs and usage across all
accounts to detailed monthly or hourly breakdowns at the resource
level.
Monitoring Costs
While suitable for basic alarms, it lacks the robust features of AWS
Budgets for comprehensive cost management.
AWS Budgets
Create budget and send alarms when costs exceeds the budget
Track utilization
Supports EC2, ElastiCache, RDS, Redshift
Source
Source
Trusted Advisor
Includes a full set of checks and offers programmatic access via the
AWS Support API.
Advanced Identity in AWS
8 mins read
This course module delves into additional AWS services that expand your
cloud computing capabilities. AWS STS (Security Token Service) enables you
to grant temporary, limited-privilege credentials to users or services. Amazon
Cognito offers authentication, authorization, and user management for web
and mobile apps. Microsoft Active Directory (AD) integration with AWS allows
seamless access management for Windows workloads. AWS Directory
Services simplifies the setup and management of directory services such as
AD and LDAP. AWS IAM Identity Center provides centralized identity
management across AWS accounts and services.
Use cases include identity federation and IAM roles for cross/same
account and EC2 access.
Source
Amazon Cognito
Source
Source
AWS Directory Services
AD Connector
Simple AD
AWS Single Sign-On (SSO) provides one login for all your AWS
accounts in AWS Organizations.
You can use AWS SSO for logging into EC2 Windows Instances.
10 mins read
Read through the first part of additional AWS services tailored for specific
needs. AWS WorkSpaces offers managed virtual desktops, while Amazon
AppStream securely delivers desktop applications to any device. AWS IoT
Core supports IoT device communication and management, and AWS
AppSync provides a fully managed GraphQL service for real-time data-driven
applications. AWS Amplify offers tools and services for scalable, secure cloud
applications. Enhance your AWS skills with these services to meet diverse
application requirements effectively.
Amazon WorkSpaces
Source
Source
AWS AppSync
📍 AWS AppSync: Store and sync data across mobile and web apps in real-
time.
15 mins read
Read through the second part of additional AWS services tailored for specific
needs. AWS WorkSpaces offers managed virtual desktops, while Amazon
AppStream securely delivers desktop applications to any device. AWS IoT
Core supports IoT device communication and management, and AWS
AppSync provides a fully managed GraphQL service for real-time data-driven
applications. AWS Amplify offers tools and services for scalable, secure cloud
applications. Enhance your AWS skills with these services to meet diverse
application requirements effectively.
AWS Amplify
Source
AWS Backup
2. Pilot Light
Incurs higher costs compared to pilot light due to the partially active
state.
4. Multi-Site/Hot Site**
Incurs higher costs but provides the quickest recovery times and
minimal downtime in case of a disaster.
15 mins read
Read through the third part of additional AWS services tailored for specific
needs. AWS WorkSpaces offers managed virtual desktops, while Amazon
AppStream securely delivers desktop applications to any device. AWS IoT
Core supports IoT device communication and management, and AWS
AppSync provides a fully managed GraphQL service for real-time data-driven
applications. AWS Amplify offers tools and services for scalable, secure cloud
applications. Enhance your AWS skills with these services to meet diverse
application requirements effectively.
AWS DataSync
Source
Analyzes the current state, defines the target state, and helps develop
a migration plan.
Source