Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 45: Terraform 3-Tier Architecture in a Single Availability Zone: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

Single-AZ 3-tier design: network. 3-tier app काम तीन भागात वाटतो: web (pages), app (logic) आणि database (data). प्रत्येक tier आपल्या subnet मध्ये, म्हणून hack झालेला web server थेट data ला पोचत नाही.
उजळणी (Revision) card 1 of 5: Single-AZ 3-tier design: network · PNG download करा · Card page उघडा

Lesson: 45.1 The single-AZ 3-tier design, file layout and network

3-tier security groups: web, app, database. Security group म्हणजे प्रत्येक server भोवतीची firewall. 3-tier app मध्ये database internet वरून कधीच पोचता यायला नको.
उजळणी (Revision) card 2 of 5: 3-tier security groups: web, app, database · PNG download करा · Card page उघडा

Lesson: 45.2 Security groups for web, app and database tiers

Web tier आणि app tier EC2 servers. EC2 servers म्हणजे AWS virtual machines. Web server users शी बोलतो; app server काम करतो आणि database शी बोलतो, private subnet मध्ये safe लपलेला.
उजळणी (Revision) card 3 of 5: Web tier आणि app tier EC2 servers · PNG download करा · Card page उघडा

Lesson: 45.3 Web tier and app tier EC2 servers

Database tier: DB subnet group आणि single-AZ RDS. RDS म्हणजे AWS तुमच्यासाठी चालवतो तो database. DB subnet group RDS ला सांगतो कुठले private subnets वापरायचे. AWS ला group मध्ये नेहमी किमान 2 zones चे subnets लागतात.
उजळणी (Revision) card 4 of 5: Database tier: DB subnet group आणि single-AZ RDS · PNG download करा · Card page उघडा

Lesson: 45.4 Database tier: DB subnet group and single-AZ RDS

Single-AZ 3-tier stack: apply, test आणि destroy. बनवणं हे अर्धंच काम. प्रत्येक tier फक्त बरोबर tier शी बोलतो हे सिद्ध करा, मग सगळं delete करा म्हणजे AWS billing चालू राहत नाही.
उजळणी (Revision) card 5 of 5: Single-AZ 3-tier stack: apply, test आणि destroy · PNG download करा · Card page उघडा

Lesson: 45.5 Apply, test and destroy the single-AZ 3-tier stack

मुलाखत (Interview) cards

3-tier app एका Availability Zone मध्ये का बनवायचा, आणि त्यात risk काय? Availability Zone (AZ) म्हणजे AWS Region मधला एक data centre group. एक AZ स्वस्त आणि सोपा: एक NAT, प्रत्येक tier ला एक server. Risk: तो AZ बंद पडला तर पूर्ण app बंद.
मुलाखत (Interview) card 1 of 5: 3-tier app एका Availability Zone मध्ये का बनवायचा, आणि त्यात risk काय? · PNG download करा · Card page उघडा

Lesson: 45.1 The single-AZ 3-tier design, file layout and network

3-tier app मध्ये फक्त app tier च database ला पोचेल याची खात्री कशी करायची? Database private subnet मध्ये ठेवा (internet ला route नाही) आणि त्याला असा security group द्या जो port 3306 फक्त app tier च्या security group कडून allow करतो.
मुलाखत (Interview) card 2 of 5: 3-tier app मध्ये फक्त app tier च database ला पोचेल याची खात्री कशी करायची? · PNG download करा · Card page उघडा

Lesson: 45.2 Security groups for web, app and database tiers

EC2 server वरचा user_data काय आहे, आणि तो कधी चालतो? user_data म्हणजे तुम्ही EC2 server ला देता ती script. ती पहिल्या boot ला, root म्हणून, एकदाच चालते. nginx सारखं software install करून सुरू करायला वापरतात.
मुलाखत (Interview) card 3 of 5: EC2 server वरचा user_data काय आहे, आणि तो कधी चालतो? · PNG download करा · Card page उघडा

Lesson: 45.3 Web tier and app tier EC2 servers

DB subnet group काय आहे, आणि त्याला 2 Availability Zones का लागतात? DB subnet group म्हणजे RDS (AWS चा managed database) database कुठे ठेवू शकतो त्या subnets ची list. AWS ला किमान 2 Availability Zones मधले subnets लागतात, म्हणजे नंतर standby copy हलवता किंवा जोडता येते.
मुलाखत (Interview) card 4 of 5: DB subnet group काय आहे, आणि त्याला 2 Availability Zones का लागतात? · PNG download करा · Card page उघडा

Lesson: 45.4 Database tier: DB subnet group and single-AZ RDS

RDS database वर terraform destroy fail का होतो किंवा अडकतो? By default RDS delete करण्याआधी final snapshot (backup) घेतो, आणि त्याला नाव लागतं. deletion_protection पण delete थांबवतो. Lab मध्ये skip_final_snapshot = true आणि deletion_protection = false ठेवा.
मुलाखत (Interview) card 5 of 5: RDS database वर terraform destroy fail का होतो किंवा अडकतो? · PNG download करा · Card page उघडा

Lesson: 45.5 Apply, test and destroy the single-AZ 3-tier stack

तुलना (Comparison) cards

Public subnet vs private subnet. Subnet म्हणजे तुमच्या AWS private network (VPC) चा एक तुकडा.Public subnet: त्याचं route table 0.0.0.0/0 internet gateway ला पाठवतं.Private subnet: internet gateway ला route नाही.
तुलना (Comparison) card 1 of 3: Public subnet vs private subnet · PNG download करा · Card page उघडा

Lesson: Chapter 45: Terraform 3-Tier Architecture in a Single Availability Zone

Single-AZ vs Multi-AZ design. Availability Zone (AZ) म्हणजे एका AWS Region मधला वेगळा data centre group.Single-AZ: सगळं एका zone मध्ये.Multi-AZ: प्रत्येक tier च्या copies 2 किंवा जास्त zones मध्ये.
तुलना (Comparison) card 2 of 3: Single-AZ vs Multi-AZ design · PNG download करा · Card page उघडा

Lesson: Chapter 45: Terraform 3-Tier Architecture in a Single Availability Zone

user_data script vs custom AMI. दोन्ही नवीन EC2 server तयार करतात.user_data: पहिल्या boot ला चालणारी आणि तेव्हा software install करणारी script.Custom AMI: software आधीच install असलेली save केलेली server disk image.
तुलना (Comparison) card 3 of 3: user_data script vs custom AMI · PNG download करा · Card page उघडा

Lesson: Chapter 45: Terraform 3-Tier Architecture in a Single Availability Zone