8 AWS Architecture Design

DNS - Route53

- where the traffic come from the internet
- health check
Load Balencer

- ELB = Elastic load balencer
has 2 veriation
- ALB = application load balencer ( L7 level)
- NLB = network load balencer ( L4 level)
Web Backend Layer
3 choice for Web Backend layer
EC2

- you can run vertual machine
Lambda

-
serverless
-
no need to worry about infra
-
pay per invocation
ECS

-
middle between EC2 and lambda
Api Gateway

-
Api Gateway
-
Help to host apis
-
Feature - Api throttling
-
authorization on an api
Better than ELB
Elastic Cache

-
2 flaver
-
Memcached based or Redis
Database Services
Aurora
RDS DB
DynamoDB


Monitoring Services

Cloud watch
- it has many services
- view diff matrics on ec2 machine what is cpu or memery uutilization
- lambda How many invokation it has
- logging
Cloud Trail
- Cloud watch help to monitor sate of app
Where as Cloud Trail help to monitor infra
- who is deleting
- who is accessing what services and what are they doing to the services
Security - IAM

Security management service
We create User or Role
User has policy by default user don’t have permission to do anything with aws unless you attach IAM policy to that user
Event Co-ordination

Event Co-ordination
Notification service
SNS = is pub sub service it publish notification to topic then many application (lambda) subscribe it
SQS queue = hold message
EventBridge = similar to SNS + more
Action - Whenever ES2 terminated
-
Whenever Lambda fun get updated
-
Whenever conf in dynamodb change
Step Fun = help to define work flow