Ravindra Bagale · Cyber Securityसर्व coursesया course चे lessonsशोधाEnglish

Cyber Security · मराठी आवृत्ती

Instance lifecycle: Stop, Reboot आणि Terminate

रवींद्र बागले यांच्या course वर आधारित · सहज मराठीत explanation

या page मध्ये

या actions मधला फरक समजणं महत्त्वाचं आहे. कोणत्या action नंतर data राहतो, IP बदलतो आणि कोणते resources charge होतात ते तपासूनच click करा.

  pending ──► running ──► stopping ──► stopped ──► (start) ──► pending
                 │  ▲                                  
          reboot │  │                                  
                 ▼  │                                  
               running ──► shutting-down ──► terminated (gone for ever)
Action काय होतं? Public IP EBS root volume Billing
Reboot त्याच host वर OS restart टिकतो टिकतो सुरू राहतं
Stop Instance बंद; start नंतर host बदलू शकतो Auto public IP सुटतो; start वर नवीन मिळू शकतो; EIP टिकतो टिकतो Compute usage थांबतो; storage/IP चे लागू charges राहतात
Hibernate RAM EBS मध्ये save करून stop Stop सारखं टिकतो Stop सारखं
Terminate Instance कायमचा delete सुटतो Delete on termination = yes असल्यास volume delete Instance compute charge थांबतो; ठेवलेल्या resources चे charges राहू शकतात

प्रत्येक action चा अर्थ

Terminate undo करता येत नाही

Terminated instance पुन्हा start करता येत नाही. महत्त्वाच्या server साठी Actions → Instance settings → Change termination protection वापरून protection enable करा. प्रयोग करण्याआधी योग्य EBS snapshot किंवा AMI घ्या. Backup recovery तपासलेली असणंही गरजेचं आहे.

Security आणि cost

विसरलेले running instances update/monitor न झाल्यास धोका निर्माण होतो आणि खर्चही वाढतो. Lab संपल्यावर गरज नसलेले resources review करा. पुढे वापरणार असाल तर योग्य stop; कायम गरज संपली आणि data सुरक्षित असेल तर terminate. Unused Elastic IPs आणि storage वेगळे तपासा.

Practice

तुमच्या Ubuntu lab instance चा public IP नोंदवा, stop/start करा आणि नवीन IP शी तुलना करा. मग Amazon Linux lab instance वर termination protection enable करा.

Chapter recap

Server तयार झाल्यावर पुढे Linux commands शिकू.