Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 46: Terraform 3-Tier Architecture Multi-AZ with ALBs Auto Scaling Bastion NAT and RDS: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

Multi-AZ 3-tier architecture: चित्र. एक Availability Zone (data centre group) बंद पडला तर एका zone मधलं app बंद होतं. Multi-AZ प्रत्येक tier ची copy 2 zones मध्ये ठेवतो, म्हणून users चं काम चालू राहतं.
उजळणी (Revision) card 1 of 8: Multi-AZ 3-tier architecture: चित्र · PNG download करा · Card page उघडा

Lesson: 46.1 Multi-AZ 3-tier architecture: the picture and the file layout

VPC, subnets, NAT gateways आणि route tables. Private servers ना updates download करायचे असतात, पण internet वरून ते पोचता यायला नकोत. NAT gateway त्यांना बाहेर जाऊ देतो, आत कधीच नाही.
उजळणी (Revision) card 2 of 8: VPC, subnets, NAT gateways आणि route tables · PNG download करा · Card page उघडा

Lesson: 46.2 VPC, public and private subnets, internet gateway, NAT gateways and route tables

सगळ्या tiers आणि bastion साठी security group chain. Security group म्हणजे प्रत्येक AWS resource वरची firewall. Chain म्हणजे प्रत्येक layer फक्त आपल्या आधीच्या layer वर विश्वास ठेवतो.
उजळणी (Revision) card 3 of 8: सगळ्या tiers आणि bastion साठी security group chain · PNG download करा · Card page उघडा

Lesson: 46.3 Security group chain for all tiers and the bastion

Public subnet मधला bastion (jump server). App आणि database servers ना public IP नसतो, म्हणून admins थेट पोचू शकत नाहीत. Bastion म्हणजे एकच छोटा, hardened server, जो एकमेव दरवाजा असतो.
उजळणी (Revision) card 4 of 8: Public subnet मधला bastion (jump server) · PNG download करा · Card page उघडा

Lesson: 46.4 Bastion jump server in the public subnet

Internet-facing ALB आणि web tier Auto Scaling group. Users ना असा एक address हवा जो server किंवा zone गेला तरी चालू राहील. Internet-facing Application Load Balancer (ALB) तो address देतो.
उजळणी (Revision) card 5 of 8: Internet-facing ALB आणि web tier Auto Scaling group · PNG download करा · Card page उघडा

Lesson: 46.5 Internet-facing ALB and web tier Auto Scaling group

Internal ALB आणि app tier Auto Scaling group. Web servers एका app server च्या IP ला बांधलेले नकोत, तो बदलतो. Internal ALB app tier ला एक private DNS name देतो, जो फक्त VPC मधूनच पोचतो.
उजळणी (Revision) card 6 of 8: Internal ALB आणि app tier Auto Scaling group · PNG download करा · Card page उघडा

Lesson: 46.6 Internal ALB and app tier Auto Scaling group

Multi-AZ RDS standby आणि read replica. Database बंद पडला तर पूर्ण app थांबतं, आणि मोठे reports checkout हळू करतात. पहिल्यावर Multi-AZ उपाय, दुसऱ्यावर read replica.
उजळणी (Revision) card 7 of 8: Multi-AZ RDS standby आणि read replica · PNG download करा · Card page उघडा

Lesson: 46.7 DB subnet group, Multi-AZ RDS standby and read replica

Outputs, apply, end to end test आणि destroy. Multi-AZ stack मध्ये खूप भाग असतात. Outputs लागणारे addresses print करतात, म्हणून प्रत्येक रस्ता पटकन test करता येतो.
उजळणी (Revision) card 8 of 8: Outputs, apply, end to end test आणि destroy · PNG download करा · Card page उघडा

Lesson: 46.8 Outputs, apply, test end to end and destroy

मुलाखत (Interview) cards

3-tier multi-AZ design मध्ये दोन load balancers का? Application Load Balancer (ALB) requests servers वर वाटतो. Internet-facing ALB users चा traffic web tier ला नेतो. Internal ALB ला फक्त private address असतो आणि तो web tier चे calls app tier वर वाटतो.
मुलाखत (Interview) card 1 of 8: 3-tier multi-AZ design मध्ये दोन load balancers का? · PNG download करा · Card page उघडा

Lesson: 46.1 Multi-AZ 3-tier architecture: the picture and the file layout

प्रत्येक Availability Zone मध्ये एक NAT gateway का ठेवायचा? NAT gateway private servers ना internet ला (updates साठी) जाऊ देतो, पण internet वरून ते पोचत नाहीत. तो एका zone मध्ये राहतो. सगळे private subnets एकच NAT वापरत असतील आणि तो zone गेला, तर प्रत्येक zone चा internet जातो.
मुलाखत (Interview) card 2 of 8: प्रत्येक Availability Zone मध्ये एक NAT gateway का ठेवायचा? · PNG download करा · Card page उघडा

Lesson: 46.2 VPC, public and private subnets, internet gateway, NAT gateways and route tables

3-tier VPC मध्ये SSH कसा lock करायचा? फक्त bastion (jump server) SSH घेतो, port 22 वर, फक्त तुमच्या IP/32 कडून. App servers port 22 फक्त bastion च्या security group कडून घेतात. बाकी कुणालाच port 22 नाही.
मुलाखत (Interview) card 3 of 8: 3-tier VPC मध्ये SSH कसा lock करायचा? · PNG download करा · Card page उघडा

Lesson: 46.3 Security group chain for all tiers and the bastion

Terraform चा aws_key_pair काय upload करतो, आणि private key कुठे राहते? SSH key pair चे दोन भाग: public key (share करायला safe) आणि private key (secret). aws_key_pair फक्त public key AWS ला upload करतो. Private key तुमच्या laptop वरच राहते.
मुलाखत (Interview) card 4 of 8: Terraform चा aws_key_pair काय upload करतो, आणि private key कुठे राहते? · PNG download करा · Card page उघडा

Lesson: 46.4 Bastion jump server in the public subnet

Auto Scaling group servers Availability Zones मध्ये कसे वाटतो? Auto Scaling group (ASG) ला vpc_zone_identifier मध्ये subnets ची list मिळते. तो प्रत्येक zone मध्ये सारखे servers ठेवायचा प्रयत्न करतो. एक zone गेला तर replacements healthy zone मध्ये सुरू करतो.
मुलाखत (Interview) card 5 of 8: Auto Scaling group servers Availability Zones मध्ये कसे वाटतो? · PNG download करा · Card page उघडा

Lesson: 46.5 Internet-facing ALB and web tier Auto Scaling group

Internal load balancer काय आहे, आणि तो कुणाला पोचतो? Internal Application Load Balancer ला VPC मधले फक्त private IPs असतात. त्याचं DNS name फक्त VPC मधूनच चालतं. तो web → app सारख्या internal tiers मध्ये traffic वाटतो.
मुलाखत (Interview) card 6 of 8: Internal load balancer काय आहे, आणि तो कुणाला पोचतो? · PNG download करा · Card page उघडा

Lesson: 46.6 Internal ALB and app tier Auto Scaling group

RDS Multi-AZ standby आणि read replica मध्ये फरक काय? RDS म्हणजे AWS चा managed database. Multi-AZ standby म्हणजे दुसऱ्या zone मधली synced copy, जी traffic घेत नाही; primary fail झाला तर जागा घेते. Read replica म्हणजे स्वतःचा address असलेली वेगळी copy, जी फक्त read queries घेते.
मुलाखत (Interview) card 7 of 8: RDS Multi-AZ standby आणि read replica मध्ये फरक काय? · PNG download करा · Card page उघडा

Lesson: 46.7 DB subnet group, Multi-AZ RDS standby and read replica

Terraform outputs कशासाठी वापरतात? Output terraform apply नंतर एखादी value print करतो, जसं load balancer चं DNS name किंवा database endpoint. दुसरा code किंवा scripts ती terraform output ने वाचू शकतात.
मुलाखत (Interview) card 8 of 8: Terraform outputs कशासाठी वापरतात? · PNG download करा · Card page उघडा

Lesson: 46.8 Outputs, apply, test end to end and destroy

तुलना (Comparison) cards

Internet-facing ALB vs internal ALB. दोन्ही requests servers वर वाटणारे Application Load Balancers आहेत.Internet-facing: public IPs असतात, internet वरचे users पोचतात.Internal: फक्त private IPs, VPC मधूनच पोचता येतो.
तुलना (Comparison) card 1 of 3: Internet-facing ALB vs internal ALB · PNG download करा · Card page उघडा

Lesson: Chapter 46: Terraform 3-Tier Architecture Multi-AZ with ALBs Auto Scaling Bastion NAT and RDS

NAT gateway vs internet gateway. दोन्ही VPC (AWS private network) ला internet शी जोडतात.Internet gateway: public subnets साठी दोन्ही बाजूंचा दरवाजा.NAT gateway: private subnets साठी फक्त बाहेर जाणारा दरवाजा.
तुलना (Comparison) card 2 of 3: NAT gateway vs internet gateway · PNG download करा · Card page उघडा

Lesson: Chapter 46: Terraform 3-Tier Architecture Multi-AZ with ALBs Auto Scaling Bastion NAT and RDS

RDS Multi-AZ standby vs read replica. RDS database च्या दोन प्रकारच्या copies.Standby: दुसऱ्या zone मधली लपलेली backup copy.Read replica: read-only queries ना उत्तर देणारी दिसणारी copy.
तुलना (Comparison) card 3 of 3: RDS Multi-AZ standby vs read replica · PNG download करा · Card page उघडा

Lesson: Chapter 46: Terraform 3-Tier Architecture Multi-AZ with ALBs Auto Scaling Bastion NAT and RDS