Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 40: Terraform Real AWS Labs VPC EC2 nginx S3 and IAM Role: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

Lab भाग 1: VPC, public subnets, internet gateway. Web server ला आधी network लागतं. Default VPC shared आणि गोंधळाचा असतो; स्वतःचा VPC स्वच्छ आणि repeatable.
उजळणी (Revision) card 1 of 5: Lab भाग 1: VPC, public subnets, internet gateway · PNG download करा · Card page उघडा

Lesson: 40.1 Lab part 1 — VPC, public subnets, internet gateway and routes

Lab भाग 2: web server साठी security group. Firewall rules नसलेला नवीन server एकतर सगळं block करतो, किंवा वाईट rules असतील तर SSH जगाला उघडतो.
उजळणी (Revision) card 2 of 5: Lab भाग 2: web server साठी security group · PNG download करा · Card page उघडा

Lesson: 40.2 Lab part 2 — security group for the web server

Lab भाग 3: user_data मधून nginx सोबत EC2. Server वर हाताने login न करता चालणारं web page हवं.
उजळणी (Revision) card 3 of 5: Lab भाग 3: user_data मधून nginx सोबत EC2 · PNG download करा · Card page उघडा

Lesson: 40.3 Lab part 3 — EC2 with nginx from user_data

Lab भाग 4: IAM role आणि instance profile. Server ला AWS access लागतो, आणि त्यावर ठेवलेल्या keys धोक्याच्या.
उजळणी (Revision) card 4 of 5: Lab भाग 4: IAM role आणि instance profile · PNG download करा · Card page उघडा

Lesson: 40.4 Lab part 4 — IAM role and instance profile

Lab भाग 5: private S3 bucket, मग destroy. चालू ठेवलेले labs पैसे खातात, आणि विसरलेला public bucket धोका आहे.
उजळणी (Revision) card 5 of 5: Lab भाग 5: private S3 bucket, मग destroy · PNG download करा · Card page उघडा

Lesson: 40.5 Lab part 5 — a private S3 bucket, then destroy everything

मुलाखत (Interview) cards

AWS मध्ये subnet public कशाने होतो? Subnet चं route table 0.0.0.0/0 → internet gateway route ठेवतं तेव्हा तो public होतो. पोचता यायला servers ना public IP पण लागतो.
मुलाखत (Interview) card 1 of 5: AWS मध्ये subnet public कशाने होतो? · PNG download करा · Card page उघडा

Lesson: 40.1 Lab part 1 — VPC, public subnets, internet gateway and routes

SSH फक्त स्वतःच्या IP वरूनच का allow करायचा? 0.0.0.0/0 ला उघडा port 22 bots काही minutes मध्ये scan करतात. फक्त तुमचा IP/32 allow केला तर एकच address login try करू शकतो.
मुलाखत (Interview) card 2 of 5: SSH फक्त स्वतःच्या IP वरूनच का allow करायचा? · PNG download करा · Card page उघडा

Lesson: 40.2 Lab part 2 — security group for the web server

Web server चालू आहे पण page load होत नाही. user_data debug कसं करायचं? क्रमाने check करा: security group 80 allow करतो, internet gateway ला route, public IP, मग server वर /var/log/cloud-init-output.log आणि systemctl status nginx.
मुलाखत (Interview) card 3 of 5: Web server चालू आहे पण page load होत नाही. user_data debug कसं करायचं? · PNG download करा · Card page उघडा

Lesson: 40.3 Lab part 3 — EC2 with nginx from user_data

Least privilege काय आहे, आणि EC2 role ला ते कसं लावायचं? Least privilege म्हणजे कामाला लागतील तेवढ्याच actions आणि resources देणं. एक bucket वाचणाऱ्या server साठी: फक्त arn:aws:s3:::bucket/* वर s3:GetObject.
मुलाखत (Interview) card 4 of 5: Least privilege काय आहे, आणि EC2 role ला ते कसं लावायचं? · PNG download करा · Card page उघडा

Lesson: 40.4 Lab part 4 — IAM role and instance profile

S3 bucket वर destroy fail का होतो, आणि force_destroy काय? Objects असलेला bucket AWS delete करत नाही. force_destroy = true Terraform ला आधी bucket रिकामा करून मग delete करू देतं.
मुलाखत (Interview) card 5 of 5: S3 bucket वर destroy fail का होतो, आणि force_destroy काय? · PNG download करा · Card page उघडा

Lesson: 40.5 Lab part 5 — a private S3 bucket, then destroy everything

तुलना (Comparison) cards

Route table vs security group. Route table: subnet मधला network traffic कुठे जातो ते सांगतं (internet gateway, NAT, local).Security group: server कुठला traffic घेतो ते सांगणारी firewall.
तुलना (Comparison) card 1 of 3: Route table vs security group · PNG download करा · Card page उघडा

Lesson: Chapter 40: Terraform Real AWS Labs VPC EC2 nginx S3 and IAM Role

Public IP vs Elastic IP. Public IP: start वेळी server ला मिळतो, stop आणि start नंतर बदलतो.Elastic IP: तुम्ही ठेवता आणि server किंवा NAT gateway ला जोडता तो fixed public IP.
तुलना (Comparison) card 2 of 3: Public IP vs Elastic IP · PNG download करा · Card page उघडा

Lesson: Chapter 40: Terraform Real AWS Labs VPC EC2 nginx S3 and IAM Role

force_destroy vs prevent_destroy. force_destroy: files असलेला bucket Terraform ला delete करू देणारं S3 setting.prevent_destroy: कुठलाही destroy block करणारं lifecycle setting.
तुलना (Comparison) card 3 of 3: force_destroy vs prevent_destroy · PNG download करा · Card page उघडा

Lesson: Chapter 40: Terraform Real AWS Labs VPC EC2 nginx S3 and IAM Role