AWS other Concepts Flashcards
Auto Scaling group ASG
ASG scales the application where there is high load
Application load balancer
distributes the load based on set rules
NAT Gateway
Application talks to internet via nat and it exposes NAT gateways public ip to external world
Bastian Host or Jump server
Application server in private subnet does not have Public ip address and cannot be access from outside .so using bastion host or jump server application is accessed from public subnet. using this approach there will be proper logging of the activity to app server
Elastic IP
Static IP that nerver change even if Ec2 is restarted terminated and bought up
How bastion host is created
create ec2 in same vpc and public subnet with ssh enabled from out side
How to design highly available applications
use multiple availability zone
How to design highly scalable applications
ASG
How private subnet can access internet
Nat gatweway
Strict network access to vpc
NACL
Aws service can access s3 securetly
S3 gateway vpc endpoints
NACL and Security groups diffrences
subnet and instance
stateless stateful
What is Cloud watch
Gate keeper for aws account helps in implementing Monitoring,Alerting,Reporting and logging
Advantages with cloud watch
Monitoring
Real life metrics
alarms
log insights
Custom Metrics
Cost Optimisation
scaling
what is aws config
Set compliance for your AWS account by defining aws managed rules or custom lambda rule like enforcing i am users to add monitoring for all ec2 instances.
If rule is not met it should that ec2 is non compliant and mails can be sent for the same to i am users.trigger lambda when config changes.
Type sof Load balancers
Application load balance
Network Load balancer
Gateway load balancer
when to used application load balancer
when you want to intercept https request and handle load balancing in application layer user ALB, High in cost, Many capabilities, more latency because adding layers. eg host based load balancing
When should you use NLB
Apply load nbalancing on transport layer and network layer adding advanced routing tecniques . Where there should not be latency like game servers,streaming servers.Low cost,high transmission rate,also have sticky sessions.
Sticky sessions
in streaming content all packets should originate from same servers thus maintaining sticky sessions