This is a new service – your feedback will help us to improve it.

Responsible Usage

Responsible Usage

Codespaces is shared cloud infrastructure. Good usage keeps it reliable and affordable.

Do

  • Stop Codespaces you are not using
  • Delete old Codespaces after work is merged
  • Use the smallest machine size that does the job
  • Push changes to GitHub regularly
  • Ask for help early if you hit access or environment problems

Do not

  • Leave Codespaces running overnight when idle
  • Store secrets directly in source files
  • Share forwarded ports publicly unless there is a clear reason and approval
  • Use Codespaces as a long-running server

Handling secrets and data

Keeping costs down

  • Stop at end of day
  • Remove stale environments each week
  • Prefer one active Codespace per task

Support

For help, ask in #octo-github-copilot.

Last reviewed: 18 June 2026Review status: ✓ Up to dateSource: View source on GitHub

Was this page useful?