Please enable JavaScript.
Coggle requires JavaScript to display documents.
Developing on AWS - Coggle Diagram
Developing on AWS
module 6: S3
lifecycle
HeadBucket
Versioning
can be
enabled
but not
disabled
EACH
service has
LIMITS
and
PRICE
PUT
Miltipart upload
available high level api command
aws s3 sync
only for cli
aws s3 cp
incomplete
multipart
upload can be deleted with lifecycle rule
consider if object larger 100 mb
single upload <= 5GB
GET and HEAD
Get object and metadata
GetObject
Get object metadata
HeadObject
GetObjectAcl
GetObjectTagging
Get range of bytes (for
ETag
)
Select (like in SQL with filtering)
only for ONE object
presigned url
grant temporary access to an object in s3. No iam or roles needed.
Only one action per presigned url. Upload or Read
Host a static website (not efficient)
CORS
Module 4: Getting started with Permissions
iam
users
user groups
policies and permissions
roles
How it works?
Principal (app, user, roles, aws service)
Request (contains all about authorization)
Authorization resource based policies (aws service), identity based policies (principal)
action or operation
5 Resources
Evaluation logic
explicit deny?
no
explicit allow?
yes
allow
no
deny
yes
deny
AWS CLI
.aws/config
.aws/credentials
SigV4
signing requests with credentials
Temporary credentials
roles
non recyclable
AWS Security Token Service (STS)
IAM instance profile & IAM roles
Module 2
AWS REST API
request requires
SigV4
IAM Access key
ability lock API version
AWS SDK
built in resilience
http signing
pagination
Low level API
one action per request
High level API
has one class per resource
AWS CLI
sync
async
insights into application
Amazon CloudWatch (logs metrics alarms events dashboards)
AWS X ray
Module 5: Storage
type of storage
block storage
file storage
object storage
s3
<
bucketname
>.s3.region.amazonaws.com/<
prefix
>/<
name
> (prefix + name =
key
)
no folders, only prefix. Flat structure
Amazon S3 Event Notifications
Object versioning
delete
delete marker
delete id (permanetly delete)
access control
IAM policies
object ACLs
bucket ACLs
old legacy
Bucket policy
access point
Module 3: Getting Started with Development on AWS
Install devenv
Install AWS SDK
Setup credential
Module 7 Getting started with Databases
DB services
RDS
RedShift
DynamoDB
RCU (Read capacity unit) number of strongly consistent reads per second of items up to 4KB in size
WCU (Write capacity unit) Number of 1KB writes per second
primary key
partition key (like in partition disk)
sort key
Secondary indexes
Local index
partition key is the same, sort key different
Global index
any attribute
Accessing DynamoDB
AWS Management Console
NoSQL Workbench
aws cli
PartiQL
DynamoDB Local (Docker Container)
SDK support for DynamoDB
Object Persistence Interface
Document Interface
Low Level Interface
400 KB for row
ElastiCache
ElastiCache
module 8: Processing Your Database operation
Step 1: Plan
Step 2: create table
Step 3: Load data
Step 4: Work with data