[{"data":1,"prerenderedAt":1137},["ShallowReactive",2],{"content-query-4c3ZcZAAiN":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"body":10,"_type":1131,"_id":1132,"_source":1133,"_file":1134,"_stem":1135,"_extension":1136},"\u002Fdocs\u002Ffeatures\u002Fcoder-lifecycle","features",false,"","Coder Workspace Lifecycle","Manage workspace creation, usage, and deletion",{"type":11,"children":12,"toc":1084},"root",[13,21,27,34,41,51,57,65,71,79,85,93,99,107,113,295,301,307,315,321,329,334,340,346,354,360,365,385,390,413,419,425,433,439,444,452,457,463,474,497,507,530,536,542,547,555,561,566,594,599,617,623,631,637,643,651,734,740,748,754,762,768,774,782,788,796,804,812,820,828,836,844,852,858,864,872,878,883,917,923,929,962,968,1006,1012,1035,1041,1078],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"coder-workspace-lifecycle",[19],{"type":20,"value":8},"text",{"type":14,"tag":22,"props":23,"children":24},"p",{},[25],{"type":20,"value":26},"Understand the complete lifecycle of Coder workspaces from creation to deletion.",{"type":14,"tag":28,"props":29,"children":31},"h2",{"id":30},"workspace-states",[32],{"type":20,"value":33},"Workspace States",{"type":14,"tag":35,"props":36,"children":38},"h3",{"id":37},"creating",[39],{"type":20,"value":40},"Creating",{"type":14,"tag":42,"props":43,"children":45},"pre",{"code":44},"Status: Creating\nDuration: 1-2 minutes\nWhat's happening:\n- Building container image\n- Starting VM\n- Initializing environment\n- Installing dependencies\n\n⏳ Please wait...\n",[46],{"type":14,"tag":47,"props":48,"children":49},"code",{"__ignoreMap":7},[50],{"type":20,"value":44},{"type":14,"tag":35,"props":52,"children":54},{"id":53},"running",[55],{"type":20,"value":56},"Running",{"type":14,"tag":42,"props":58,"children":60},{"code":59},"Status: Running\nUptime: 2 hours 15 minutes\nCost: $5.00\u002Fhour × 2.25 hours = $11.25 so far\n\nYou can:\n✓ Edit code\n✓ Run commands\n✓ Share with team\n✓ Auto-stop setting applies\n",[61],{"type":14,"tag":47,"props":62,"children":63},{"__ignoreMap":7},[64],{"type":20,"value":59},{"type":14,"tag":35,"props":66,"children":68},{"id":67},"stopped",[69],{"type":20,"value":70},"Stopped",{"type":14,"tag":42,"props":72,"children":74},{"code":73},"Status: Stopped\nLast running: 2024-06-12 14:30 UTC\nCost: $0\u002Fhour (no charges while stopped)\nData: All saved (can restart anytime)\n\nTo restart:\n1. Click workspace\n2. Click Start\n3. Returns to Running state\n",[75],{"type":14,"tag":47,"props":76,"children":77},{"__ignoreMap":7},[78],{"type":20,"value":73},{"type":14,"tag":35,"props":80,"children":82},{"id":81},"deleting",[83],{"type":20,"value":84},"Deleting",{"type":14,"tag":42,"props":86,"children":88},{"code":87},"Status: Deleting\nDuration: 30 seconds - 1 minute\nWhat's happening:\n- Stopping container\n- Freeing resources\n- Deleting data\n\n⏳ Almost done...\n",[89],{"type":14,"tag":47,"props":90,"children":91},{"__ignoreMap":7},[92],{"type":20,"value":87},{"type":14,"tag":35,"props":94,"children":96},{"id":95},"deleted",[97],{"type":20,"value":98},"Deleted",{"type":14,"tag":42,"props":100,"children":102},{"code":101},"Status: Deleted\nEffect: Workspace permanently gone\nRecovery: Not possible (backup before deleting!)\nCharges: Stop immediately\n",[103],{"type":14,"tag":47,"props":104,"children":105},{"__ignoreMap":7},[106],{"type":20,"value":101},{"type":14,"tag":28,"props":108,"children":110},{"id":109},"workspace-lifecycle-flow",[111],{"type":20,"value":112},"Workspace Lifecycle Flow",{"type":14,"tag":42,"props":114,"children":118},{"code":115,"language":116,"meta":7,"className":117,"style":7},"graph TD\n    A[\"Create Workspace\"] --> B[\"Creating\u003Cbr\u002F>1-2 min\"]\n    B --> C[\"Running\u003Cbr\u002F>━━━━━\"]\n    C -->|Manual Stop| D[\"Stopping\u003Cbr\u002F>10 sec\"]\n    C -->|Auto-stop| D\n    D --> E[\"Stopped\u003Cbr\u002F>━━━━━\"]\n    E -->|Start| C\n    E --> F[\"Delete\"]\n    F --> G[\"Deleting\u003Cbr\u002F>30 sec\"]\n    G --> H[\"Deleted\u003Cbr\u002F>Irreversible\"]\n    \n    style A fill:#1f97d4,stroke:#0b5394,stroke-width:2px,color:#fff\n    style B fill:#ff9900,stroke:#ec7211,stroke-width:2px,color:#fff\n    style C fill:#13aa52,stroke:#05631b,stroke-width:2px,color:#fff\n    style D fill:#ff9900,stroke:#ec7211,stroke-width:2px,color:#fff\n    style E fill:#5e6470,stroke:#2f3235,stroke-width:2px,color:#fff\n    style F fill:#d13212,stroke:#7d0f00,stroke-width:2px,color:#fff\n    style G fill:#d13212,stroke:#7d0f00,stroke-width:2px,color:#fff\n    style H fill:#7d0f00,stroke:#3d0800,stroke-width:2px,color:#fff\n","mermaid","language-mermaid shiki shiki-themes github-dark",[119],{"type":14,"tag":47,"props":120,"children":121},{"__ignoreMap":7},[122,133,142,151,160,169,178,187,196,205,214,223,232,241,250,259,268,277,286],{"type":14,"tag":123,"props":124,"children":127},"span",{"class":125,"line":126},"line",1,[128],{"type":14,"tag":123,"props":129,"children":130},{},[131],{"type":20,"value":132},"graph TD\n",{"type":14,"tag":123,"props":134,"children":136},{"class":125,"line":135},2,[137],{"type":14,"tag":123,"props":138,"children":139},{},[140],{"type":20,"value":141},"    A[\"Create Workspace\"] --> B[\"Creating\u003Cbr\u002F>1-2 min\"]\n",{"type":14,"tag":123,"props":143,"children":145},{"class":125,"line":144},3,[146],{"type":14,"tag":123,"props":147,"children":148},{},[149],{"type":20,"value":150},"    B --> C[\"Running\u003Cbr\u002F>━━━━━\"]\n",{"type":14,"tag":123,"props":152,"children":154},{"class":125,"line":153},4,[155],{"type":14,"tag":123,"props":156,"children":157},{},[158],{"type":20,"value":159},"    C -->|Manual Stop| D[\"Stopping\u003Cbr\u002F>10 sec\"]\n",{"type":14,"tag":123,"props":161,"children":163},{"class":125,"line":162},5,[164],{"type":14,"tag":123,"props":165,"children":166},{},[167],{"type":20,"value":168},"    C -->|Auto-stop| D\n",{"type":14,"tag":123,"props":170,"children":172},{"class":125,"line":171},6,[173],{"type":14,"tag":123,"props":174,"children":175},{},[176],{"type":20,"value":177},"    D --> E[\"Stopped\u003Cbr\u002F>━━━━━\"]\n",{"type":14,"tag":123,"props":179,"children":181},{"class":125,"line":180},7,[182],{"type":14,"tag":123,"props":183,"children":184},{},[185],{"type":20,"value":186},"    E -->|Start| C\n",{"type":14,"tag":123,"props":188,"children":190},{"class":125,"line":189},8,[191],{"type":14,"tag":123,"props":192,"children":193},{},[194],{"type":20,"value":195},"    E --> F[\"Delete\"]\n",{"type":14,"tag":123,"props":197,"children":199},{"class":125,"line":198},9,[200],{"type":14,"tag":123,"props":201,"children":202},{},[203],{"type":20,"value":204},"    F --> G[\"Deleting\u003Cbr\u002F>30 sec\"]\n",{"type":14,"tag":123,"props":206,"children":208},{"class":125,"line":207},10,[209],{"type":14,"tag":123,"props":210,"children":211},{},[212],{"type":20,"value":213},"    G --> H[\"Deleted\u003Cbr\u002F>Irreversible\"]\n",{"type":14,"tag":123,"props":215,"children":217},{"class":125,"line":216},11,[218],{"type":14,"tag":123,"props":219,"children":220},{},[221],{"type":20,"value":222},"    \n",{"type":14,"tag":123,"props":224,"children":226},{"class":125,"line":225},12,[227],{"type":14,"tag":123,"props":228,"children":229},{},[230],{"type":20,"value":231},"    style A fill:#1f97d4,stroke:#0b5394,stroke-width:2px,color:#fff\n",{"type":14,"tag":123,"props":233,"children":235},{"class":125,"line":234},13,[236],{"type":14,"tag":123,"props":237,"children":238},{},[239],{"type":20,"value":240},"    style B fill:#ff9900,stroke:#ec7211,stroke-width:2px,color:#fff\n",{"type":14,"tag":123,"props":242,"children":244},{"class":125,"line":243},14,[245],{"type":14,"tag":123,"props":246,"children":247},{},[248],{"type":20,"value":249},"    style C fill:#13aa52,stroke:#05631b,stroke-width:2px,color:#fff\n",{"type":14,"tag":123,"props":251,"children":253},{"class":125,"line":252},15,[254],{"type":14,"tag":123,"props":255,"children":256},{},[257],{"type":20,"value":258},"    style D fill:#ff9900,stroke:#ec7211,stroke-width:2px,color:#fff\n",{"type":14,"tag":123,"props":260,"children":262},{"class":125,"line":261},16,[263],{"type":14,"tag":123,"props":264,"children":265},{},[266],{"type":20,"value":267},"    style E fill:#5e6470,stroke:#2f3235,stroke-width:2px,color:#fff\n",{"type":14,"tag":123,"props":269,"children":271},{"class":125,"line":270},17,[272],{"type":14,"tag":123,"props":273,"children":274},{},[275],{"type":20,"value":276},"    style F fill:#d13212,stroke:#7d0f00,stroke-width:2px,color:#fff\n",{"type":14,"tag":123,"props":278,"children":280},{"class":125,"line":279},18,[281],{"type":14,"tag":123,"props":282,"children":283},{},[284],{"type":20,"value":285},"    style G fill:#d13212,stroke:#7d0f00,stroke-width:2px,color:#fff\n",{"type":14,"tag":123,"props":287,"children":289},{"class":125,"line":288},19,[290],{"type":14,"tag":123,"props":291,"children":292},{},[293],{"type":20,"value":294},"    style H fill:#7d0f00,stroke:#3d0800,stroke-width:2px,color:#fff\n",{"type":14,"tag":28,"props":296,"children":298},{"id":297},"creating-workspaces",[299],{"type":20,"value":300},"Creating Workspaces",{"type":14,"tag":35,"props":302,"children":304},{"id":303},"initial-creation",[305],{"type":20,"value":306},"Initial Creation",{"type":14,"tag":42,"props":308,"children":310},{"code":309},"1. Click Create Workspace\n2. Choose template\n3. Set resources\n4. Click Create\n5. Status: Creating...\n6. ~60-90 seconds later: Running\n7. Browser IDE opens\n8. Ready to code!\n",[311],{"type":14,"tag":47,"props":312,"children":313},{"__ignoreMap":7},[314],{"type":20,"value":309},{"type":14,"tag":35,"props":316,"children":318},{"id":317},"first-start-cost",[319],{"type":20,"value":320},"First Start Cost",{"type":14,"tag":42,"props":322,"children":324},{"code":323},"Workspace: backend-api\nResources: 4 CPU, 8 GB RAM\nCost: $5.00\u002Fhour\n\nCreated: 14:00\nRunning: 14:02 (2 min creation time - FREE)\nStarted coding: 14:03\n",[325],{"type":14,"tag":47,"props":326,"children":327},{"__ignoreMap":7},[328],{"type":20,"value":323},{"type":14,"tag":22,"props":330,"children":331},{},[332],{"type":20,"value":333},"Setup time (creating) is free. Only pay when running!",{"type":14,"tag":28,"props":335,"children":337},{"id":336},"running-workspaces",[338],{"type":20,"value":339},"Running Workspaces",{"type":14,"tag":35,"props":341,"children":343},{"id":342},"monitor-runtime",[344],{"type":20,"value":345},"Monitor Runtime",{"type":14,"tag":42,"props":347,"children":349},{"code":348},"Workspace Details:\nStarted: 2024-06-12 14:00 UTC\nRunning for: 2 hours 30 minutes\nCost so far: $12.50\nAuto-stop: 30 minutes after inactivity\nLast active: Just now\n",[350],{"type":14,"tag":47,"props":351,"children":352},{"__ignoreMap":7},[353],{"type":20,"value":348},{"type":14,"tag":35,"props":355,"children":357},{"id":356},"staying-productive",[358],{"type":20,"value":359},"Staying Productive",{"type":14,"tag":22,"props":361,"children":362},{},[363],{"type":20,"value":364},"Workspace runs while:",{"type":14,"tag":366,"props":367,"children":368},"ul",{},[369,375,380],{"type":14,"tag":370,"props":371,"children":372},"li",{},[373],{"type":20,"value":374},"✓ Editing files (active)",{"type":14,"tag":370,"props":376,"children":377},{},[378],{"type":20,"value":379},"✓ Terminal command running (active)",{"type":14,"tag":370,"props":381,"children":382},{},[383],{"type":20,"value":384},"✓ Idle but within auto-stop time (running)",{"type":14,"tag":22,"props":386,"children":387},{},[388],{"type":20,"value":389},"Auto-stops after:",{"type":14,"tag":366,"props":391,"children":392},{},[393,398,403,408],{"type":14,"tag":370,"props":394,"children":395},{},[396],{"type":20,"value":397},"✗ 30 minutes of no activity (default)",{"type":14,"tag":370,"props":399,"children":400},{},[401],{"type":20,"value":402},"✗ No terminal commands",{"type":14,"tag":370,"props":404,"children":405},{},[406],{"type":20,"value":407},"✗ No file edits",{"type":14,"tag":370,"props":409,"children":410},{},[411],{"type":20,"value":412},"✗ Not accessed",{"type":14,"tag":28,"props":414,"children":416},{"id":415},"auto-stop-mechanism",[417],{"type":20,"value":418},"Auto-Stop Mechanism",{"type":14,"tag":35,"props":420,"children":422},{"id":421},"how-it-works",[423],{"type":20,"value":424},"How It Works",{"type":14,"tag":42,"props":426,"children":428},{"code":427},"14:00 - Start coding\n14:30 - Stop coding, open browser instead\n14:32 - No activity for 2 minutes\n...continue until 30 min idle...\n15:00 - Auto-stop triggered!\nWorkspace transitions: Running → Stopping → Stopped\n\nCost: $5.00\u002Fhour × 1 hour = $5.00\n",[429],{"type":14,"tag":47,"props":430,"children":431},{"__ignoreMap":7},[432],{"type":20,"value":427},{"type":14,"tag":35,"props":434,"children":436},{"id":435},"adjust-auto-stop",[437],{"type":20,"value":438},"Adjust Auto-Stop",{"type":14,"tag":22,"props":440,"children":441},{},[442],{"type":20,"value":443},"Change when workspace stops:",{"type":14,"tag":42,"props":445,"children":447},{"code":446},"Settings → Auto-stop after inactivity\nOptions:\n- 5 minutes (very aggressive)\n- 15 minutes (testing)\n- 30 minutes (default)\n- 1 hour (development)\n- Never (always running)\n",[448],{"type":14,"tag":47,"props":449,"children":450},{"__ignoreMap":7},[451],{"type":20,"value":446},{"type":14,"tag":22,"props":453,"children":454},{},[455],{"type":20,"value":456},"Example: Set to 1 hour if frequently working.",{"type":14,"tag":35,"props":458,"children":460},{"id":459},"what-counts-as-activity",[461],{"type":20,"value":462},"What Counts as Activity?",{"type":14,"tag":22,"props":464,"children":465},{},[466,468],{"type":20,"value":467},"✓ ",{"type":14,"tag":469,"props":470,"children":471},"strong",{},[472],{"type":20,"value":473},"Active:",{"type":14,"tag":366,"props":475,"children":476},{},[477,482,487,492],{"type":14,"tag":370,"props":478,"children":479},{},[480],{"type":20,"value":481},"Typing in editor",{"type":14,"tag":370,"props":483,"children":484},{},[485],{"type":20,"value":486},"Running terminal command",{"type":14,"tag":370,"props":488,"children":489},{},[490],{"type":20,"value":491},"Saving file",{"type":14,"tag":370,"props":493,"children":494},{},[495],{"type":20,"value":496},"Opening file browser",{"type":14,"tag":22,"props":498,"children":499},{},[500,502],{"type":20,"value":501},"✗ ",{"type":14,"tag":469,"props":503,"children":504},{},[505],{"type":20,"value":506},"Not active:",{"type":14,"tag":366,"props":508,"children":509},{},[510,515,520,525],{"type":14,"tag":370,"props":511,"children":512},{},[513],{"type":20,"value":514},"Browser tab open, not editing",{"type":14,"tag":370,"props":516,"children":517},{},[518],{"type":20,"value":519},"Looking at code (no changes)",{"type":14,"tag":370,"props":521,"children":522},{},[523],{"type":20,"value":524},"Running long process you're watching",{"type":14,"tag":370,"props":526,"children":527},{},[528],{"type":20,"value":529},"Just terminal output",{"type":14,"tag":28,"props":531,"children":533},{"id":532},"stopping-workspaces",[534],{"type":20,"value":535},"Stopping Workspaces",{"type":14,"tag":35,"props":537,"children":539},{"id":538},"manual-stop",[540],{"type":20,"value":541},"Manual Stop",{"type":14,"tag":22,"props":543,"children":544},{},[545],{"type":20,"value":546},"Stop anytime:",{"type":14,"tag":42,"props":548,"children":550},{"code":549},"1. Click workspace\n2. Click Stop\n3. Status: Stopping...\n4. ~10 seconds later: Stopped\n5. All data saved\n6. No charges while stopped\n",[551],{"type":14,"tag":47,"props":552,"children":553},{"__ignoreMap":7},[554],{"type":20,"value":549},{"type":14,"tag":35,"props":556,"children":558},{"id":557},"what-gets-saved",[559],{"type":20,"value":560},"What Gets Saved",{"type":14,"tag":22,"props":562,"children":563},{},[564],{"type":20,"value":565},"✓ Saved:",{"type":14,"tag":366,"props":567,"children":568},{},[569,574,579,584,589],{"type":14,"tag":370,"props":570,"children":571},{},[572],{"type":20,"value":573},"All files on disk",{"type":14,"tag":370,"props":575,"children":576},{},[577],{"type":20,"value":578},"Git commits",{"type":14,"tag":370,"props":580,"children":581},{},[582],{"type":20,"value":583},"Database data",{"type":14,"tag":370,"props":585,"children":586},{},[587],{"type":20,"value":588},"Terminal history",{"type":14,"tag":370,"props":590,"children":591},{},[592],{"type":20,"value":593},"Workspace settings",{"type":14,"tag":22,"props":595,"children":596},{},[597],{"type":20,"value":598},"✓ NOT Saved:",{"type":14,"tag":366,"props":600,"children":601},{},[602,607,612],{"type":14,"tag":370,"props":603,"children":604},{},[605],{"type":20,"value":606},"Running processes (stopped)",{"type":14,"tag":370,"props":608,"children":609},{},[610],{"type":20,"value":611},"Memory state",{"type":14,"tag":370,"props":613,"children":614},{},[615],{"type":20,"value":616},"Temporary files in \u002Ftmp",{"type":14,"tag":35,"props":618,"children":620},{"id":619},"restart-after-stop",[621],{"type":20,"value":622},"Restart After Stop",{"type":14,"tag":42,"props":624,"children":626},{"code":625},"1. Click workspace\n2. Click Start\n3. Status: Starting...\n4. ~30 seconds later: Running\n5. Files are there\n6. Continue where you left off\n",[627],{"type":14,"tag":47,"props":628,"children":629},{"__ignoreMap":7},[630],{"type":20,"value":625},{"type":14,"tag":28,"props":632,"children":634},{"id":633},"deleting-workspaces",[635],{"type":20,"value":636},"Deleting Workspaces",{"type":14,"tag":35,"props":638,"children":640},{"id":639},"before-deletion",[641],{"type":20,"value":642},"Before Deletion",{"type":14,"tag":22,"props":644,"children":645},{},[646],{"type":14,"tag":469,"props":647,"children":648},{},[649],{"type":20,"value":650},"BACKUP YOUR WORK:",{"type":14,"tag":42,"props":652,"children":656},{"code":653,"language":654,"meta":7,"className":655,"style":7},"# Push to GitHub\ngit push origin main\n\n# Or download files\n# Or export data\n\n# THEN delete\n","bash","language-bash shiki shiki-themes github-dark",[657],{"type":14,"tag":47,"props":658,"children":659},{"__ignoreMap":7},[660,669,694,703,711,719,726],{"type":14,"tag":123,"props":661,"children":662},{"class":125,"line":126},[663],{"type":14,"tag":123,"props":664,"children":666},{"style":665},"--shiki-default:#6A737D",[667],{"type":20,"value":668},"# Push to GitHub\n",{"type":14,"tag":123,"props":670,"children":671},{"class":125,"line":135},[672,678,684,689],{"type":14,"tag":123,"props":673,"children":675},{"style":674},"--shiki-default:#B392F0",[676],{"type":20,"value":677},"git",{"type":14,"tag":123,"props":679,"children":681},{"style":680},"--shiki-default:#9ECBFF",[682],{"type":20,"value":683}," push",{"type":14,"tag":123,"props":685,"children":686},{"style":680},[687],{"type":20,"value":688}," origin",{"type":14,"tag":123,"props":690,"children":691},{"style":680},[692],{"type":20,"value":693}," main\n",{"type":14,"tag":123,"props":695,"children":696},{"class":125,"line":144},[697],{"type":14,"tag":123,"props":698,"children":700},{"emptyLinePlaceholder":699},true,[701],{"type":20,"value":702},"\n",{"type":14,"tag":123,"props":704,"children":705},{"class":125,"line":153},[706],{"type":14,"tag":123,"props":707,"children":708},{"style":665},[709],{"type":20,"value":710},"# Or download files\n",{"type":14,"tag":123,"props":712,"children":713},{"class":125,"line":162},[714],{"type":14,"tag":123,"props":715,"children":716},{"style":665},[717],{"type":20,"value":718},"# Or export data\n",{"type":14,"tag":123,"props":720,"children":721},{"class":125,"line":171},[722],{"type":14,"tag":123,"props":723,"children":724},{"emptyLinePlaceholder":699},[725],{"type":20,"value":702},{"type":14,"tag":123,"props":727,"children":728},{"class":125,"line":180},[729],{"type":14,"tag":123,"props":730,"children":731},{"style":665},[732],{"type":20,"value":733},"# THEN delete\n",{"type":14,"tag":35,"props":735,"children":737},{"id":736},"delete-process",[738],{"type":20,"value":739},"Delete Process",{"type":14,"tag":42,"props":741,"children":743},{"code":742},"1. Click workspace\n2. Click Delete\n3. Confirm deletion\n4. Status: Deleting...\n5. ~30 seconds: Completely gone\n6. No recovery possible!\n",[744],{"type":14,"tag":47,"props":745,"children":746},{"__ignoreMap":7},[747],{"type":20,"value":742},{"type":14,"tag":35,"props":749,"children":751},{"id":750},"after-deletion",[752],{"type":20,"value":753},"After Deletion",{"type":14,"tag":42,"props":755,"children":757},{"code":756},"Workspace: backend-api\nStatus: Deleted\nAvailable: No longer in your workspace list\nData: Gone forever\nRecovery: Not possible\nCharges: Stop immediately\n",[758],{"type":14,"tag":47,"props":759,"children":760},{"__ignoreMap":7},[761],{"type":20,"value":756},{"type":14,"tag":28,"props":763,"children":765},{"id":764},"cost-optimization",[766],{"type":20,"value":767},"Cost Optimization",{"type":14,"tag":35,"props":769,"children":771},{"id":770},"running-costs",[772],{"type":20,"value":773},"Running Costs",{"type":14,"tag":42,"props":775,"children":777},{"code":776},"Example workspace:\n- Resource size: 4 CPU, 8 GB RAM\n- Hourly rate: $5.00\u002Fhour\n- Daily usage: 8 hours\n- Daily cost: $40\n- Monthly cost (20 working days): $800\n",[778],{"type":14,"tag":47,"props":779,"children":780},{"__ignoreMap":7},[781],{"type":20,"value":776},{"type":14,"tag":35,"props":783,"children":785},{"id":784},"reduce-costs",[786],{"type":20,"value":787},"Reduce Costs",{"type":14,"tag":22,"props":789,"children":790},{},[791],{"type":14,"tag":469,"props":792,"children":793},{},[794],{"type":20,"value":795},"Strategy 1: Use smaller workspaces",{"type":14,"tag":42,"props":797,"children":799},{"code":798},"Small: 2 CPU, 4 GB RAM = $2.50\u002Fhour (50% savings)\nUse for: Testing, lightweight work\nFull-size: 4 CPU, 8 GB RAM = $5.00\u002Fhour (for heavy work)\n",[800],{"type":14,"tag":47,"props":801,"children":802},{"__ignoreMap":7},[803],{"type":20,"value":798},{"type":14,"tag":22,"props":805,"children":806},{},[807],{"type":14,"tag":469,"props":808,"children":809},{},[810],{"type":20,"value":811},"Strategy 2: Stop when not working",{"type":14,"tag":42,"props":813,"children":815},{"code":814},"Before: Left running 24\u002F7 = $120\u002Fmonth\nAfter: Stop after 30 min = $40\u002Fmonth (67% savings!)\n",[816],{"type":14,"tag":47,"props":817,"children":818},{"__ignoreMap":7},[819],{"type":20,"value":814},{"type":14,"tag":22,"props":821,"children":822},{},[823],{"type":14,"tag":469,"props":824,"children":825},{},[826],{"type":20,"value":827},"Strategy 3: Delete unused workspaces",{"type":14,"tag":42,"props":829,"children":831},{"code":830},"Old workspaces: 3 workspaces × $40\u002Fmonth = $120\u002Fmonth\nAfter cleanup: 1 workspace × $40\u002Fmonth = $40\u002Fmonth\n",[832],{"type":14,"tag":47,"props":833,"children":834},{"__ignoreMap":7},[835],{"type":20,"value":830},{"type":14,"tag":22,"props":837,"children":838},{},[839],{"type":14,"tag":469,"props":840,"children":841},{},[842],{"type":20,"value":843},"Strategy 4: Combine with SSH",{"type":14,"tag":42,"props":845,"children":847},{"code":846},"Use browser IDE only for demos\nUse SSH for actual development (feels local, still cloud)\nSame cost, better experience\n",[848],{"type":14,"tag":47,"props":849,"children":850},{"__ignoreMap":7},[851],{"type":20,"value":846},{"type":14,"tag":28,"props":853,"children":855},{"id":854},"workspace-history",[856],{"type":20,"value":857},"Workspace History",{"type":14,"tag":35,"props":859,"children":861},{"id":860},"view-all-your-workspaces",[862],{"type":20,"value":863},"View All Your Workspaces",{"type":14,"tag":42,"props":865,"children":867},{"code":866},"My Workspaces:\n\nRunning:\n- backend-api (2 hours) - $10 so far\n- frontend-app (30 min) - $2.50 so far\nTotal running: $12.50\n\nStopped:\n- data-analysis (3 days ago)\n- legacy-api (1 week ago)\n\nTotal this month: $500\n",[868],{"type":14,"tag":47,"props":869,"children":870},{"__ignoreMap":7},[871],{"type":20,"value":866},{"type":14,"tag":35,"props":873,"children":875},{"id":874},"restart-old-workspaces",[876],{"type":20,"value":877},"Restart Old Workspaces",{"type":14,"tag":22,"props":879,"children":880},{},[881],{"type":20,"value":882},"Find stopped workspace:",{"type":14,"tag":884,"props":885,"children":886},"ol",{},[887,892,902,907,912],{"type":14,"tag":370,"props":888,"children":889},{},[890],{"type":20,"value":891},"Click workspace",{"type":14,"tag":370,"props":893,"children":894},{},[895,897],{"type":20,"value":896},"Click ",{"type":14,"tag":469,"props":898,"children":899},{},[900],{"type":20,"value":901},"Start",{"type":14,"tag":370,"props":903,"children":904},{},[905],{"type":20,"value":906},"Restarts in ~30 seconds",{"type":14,"tag":370,"props":908,"children":909},{},[910],{"type":20,"value":911},"All files still there",{"type":14,"tag":370,"props":913,"children":914},{},[915],{"type":20,"value":916},"Start coding immediately",{"type":14,"tag":28,"props":918,"children":920},{"id":919},"best-practices",[921],{"type":20,"value":922},"Best Practices",{"type":14,"tag":35,"props":924,"children":926},{"id":925},"minimize-costs",[927],{"type":20,"value":928},"Minimize Costs",{"type":14,"tag":366,"props":930,"children":931},{},[932,937,942,947,952,957],{"type":14,"tag":370,"props":933,"children":934},{},[935],{"type":20,"value":936},"✓ Use appropriate resource size",{"type":14,"tag":370,"props":938,"children":939},{},[940],{"type":20,"value":941},"✓ Set reasonable auto-stop time",{"type":14,"tag":370,"props":943,"children":944},{},[945],{"type":20,"value":946},"✓ Stop manually when done",{"type":14,"tag":370,"props":948,"children":949},{},[950],{"type":20,"value":951},"✓ Delete workspaces you don't use",{"type":14,"tag":370,"props":953,"children":954},{},[955],{"type":20,"value":956},"✗ Don't leave running 24\u002F7",{"type":14,"tag":370,"props":958,"children":959},{},[960],{"type":20,"value":961},"✗ Don't over-provision resources",{"type":14,"tag":35,"props":963,"children":965},{"id":964},"maintain-productivity",[966],{"type":20,"value":967},"Maintain Productivity",{"type":14,"tag":366,"props":969,"children":970},{},[971,976,981,986,991,996,1001],{"type":14,"tag":370,"props":972,"children":973},{},[974],{"type":20,"value":975},"✓ Keep workspaces organized",{"type":14,"tag":370,"props":977,"children":978},{},[979],{"type":20,"value":980},"✓ Name them clearly",{"type":14,"tag":370,"props":982,"children":983},{},[984],{"type":20,"value":985},"✓ Delete after project ends",{"type":14,"tag":370,"props":987,"children":988},{},[989],{"type":20,"value":990},"✓ Push code to GitHub regularly",{"type":14,"tag":370,"props":992,"children":993},{},[994],{"type":20,"value":995},"✓ Share good templates",{"type":14,"tag":370,"props":997,"children":998},{},[999],{"type":20,"value":1000},"✗ Don't hoard workspaces",{"type":14,"tag":370,"props":1002,"children":1003},{},[1004],{"type":20,"value":1005},"✗ Don't run outdated workspaces",{"type":14,"tag":35,"props":1007,"children":1009},{"id":1008},"track-usage",[1010],{"type":20,"value":1011},"Track Usage",{"type":14,"tag":884,"props":1013,"children":1014},{},[1015,1020,1025,1030],{"type":14,"tag":370,"props":1016,"children":1017},{},[1018],{"type":20,"value":1019},"Review cost weekly",{"type":14,"tag":370,"props":1021,"children":1022},{},[1023],{"type":20,"value":1024},"Delete unused workspaces",{"type":14,"tag":370,"props":1026,"children":1027},{},[1028],{"type":20,"value":1029},"Optimize resource sizes",{"type":14,"tag":370,"props":1031,"children":1032},{},[1033],{"type":20,"value":1034},"Check auto-stop settings",{"type":14,"tag":28,"props":1036,"children":1038},{"id":1037},"related-topics",[1039],{"type":20,"value":1040},"Related Topics",{"type":14,"tag":366,"props":1042,"children":1043},{},[1044,1056,1067],{"type":14,"tag":370,"props":1045,"children":1046},{},[1047,1054],{"type":14,"tag":1048,"props":1049,"children":1051},"a",{"href":1050},"\u002Fdocs\u002Ffeatures\u002Fcoder-workspaces",[1052],{"type":20,"value":1053},"Coder Workspaces",{"type":20,"value":1055}," - Create and manage",{"type":14,"tag":370,"props":1057,"children":1058},{},[1059,1065],{"type":14,"tag":1048,"props":1060,"children":1062},{"href":1061},"\u002Fdocs\u002Ffeatures\u002Fcoder-billing",[1063],{"type":20,"value":1064},"Coder Billing",{"type":20,"value":1066}," - Understand billing",{"type":14,"tag":370,"props":1068,"children":1069},{},[1070,1076],{"type":14,"tag":1048,"props":1071,"children":1073},{"href":1072},"\u002Fdocs\u002Ffeatures\u002Fmonitoring",[1074],{"type":20,"value":1075},"System Monitoring",{"type":20,"value":1077}," - Monitor usage",{"type":14,"tag":1079,"props":1080,"children":1081},"style",{},[1082],{"type":20,"value":1083},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":135,"depth":135,"links":1085},[1086,1093,1094,1098,1102,1107,1112,1117,1121,1125,1130],{"id":30,"depth":135,"text":33,"children":1087},[1088,1089,1090,1091,1092],{"id":37,"depth":144,"text":40},{"id":53,"depth":144,"text":56},{"id":67,"depth":144,"text":70},{"id":81,"depth":144,"text":84},{"id":95,"depth":144,"text":98},{"id":109,"depth":135,"text":112},{"id":297,"depth":135,"text":300,"children":1095},[1096,1097],{"id":303,"depth":144,"text":306},{"id":317,"depth":144,"text":320},{"id":336,"depth":135,"text":339,"children":1099},[1100,1101],{"id":342,"depth":144,"text":345},{"id":356,"depth":144,"text":359},{"id":415,"depth":135,"text":418,"children":1103},[1104,1105,1106],{"id":421,"depth":144,"text":424},{"id":435,"depth":144,"text":438},{"id":459,"depth":144,"text":462},{"id":532,"depth":135,"text":535,"children":1108},[1109,1110,1111],{"id":538,"depth":144,"text":541},{"id":557,"depth":144,"text":560},{"id":619,"depth":144,"text":622},{"id":633,"depth":135,"text":636,"children":1113},[1114,1115,1116],{"id":639,"depth":144,"text":642},{"id":736,"depth":144,"text":739},{"id":750,"depth":144,"text":753},{"id":764,"depth":135,"text":767,"children":1118},[1119,1120],{"id":770,"depth":144,"text":773},{"id":784,"depth":144,"text":787},{"id":854,"depth":135,"text":857,"children":1122},[1123,1124],{"id":860,"depth":144,"text":863},{"id":874,"depth":144,"text":877},{"id":919,"depth":135,"text":922,"children":1126},[1127,1128,1129],{"id":925,"depth":144,"text":928},{"id":964,"depth":144,"text":967},{"id":1008,"depth":144,"text":1011},{"id":1037,"depth":135,"text":1040},"markdown","content:docs:features:coder-lifecycle.md","content","docs\u002Ffeatures\u002Fcoder-lifecycle.md","docs\u002Ffeatures\u002Fcoder-lifecycle","md",1782233762283]