Guides / Host a Django app for a client without becoming their sysadmin, with Django Cloud

Host a Django app for a client without becoming their sysadmin, with Django Cloud

You built the app. Now the client wants it live, and someone has to own the server, the certificate, the database backups and the 3 a.m. alert. If that someone is you, hosting turns a fixed-price project into an open-ended job. Here is how to ship a Django app for a client without becoming their sysadmin.

The real problem is ownership, not servers

Most hosting trouble on client work comes from three unanswered questions:

Three ways to set it up

  1. Your account, billed through. Quick to start, but you carry the risk and the client cannot leave without a migration.
  2. The client's own AWS account, with a role for you. The client creates the account and a limited access role. You deploy through it. They pay AWS directly and can end your access by deleting the role.
  3. A managed platform with an account per customer. Someone else runs the account and the servers, and the app is still kept apart from other customers.

What to ask any host before you commit

A small checklist for the first deploy

  1. Set DEBUG = False, a real SECRET_KEY and ALLOWED_HOSTS from environment variables.
  2. Use PostgreSQL, not SQLite, for anything with real users.
  3. Keep secrets out of the repository; give the client a way to rotate them.
  4. Put the custom domain on HTTPS before launch day.
  5. Write down who is on call, and for what, in the contract.

Or skip it

Django Cloud gives each client app an AWS account of its own: yours to hand over on Self-hosted, or run for you on Fully managed. You deploy with one command, roll back in a click and read the logs in the dashboard.

pip install djangocloud-cli
djangocloud deploy

Get startedSee pricing

Free plans are available for students, AWS Activate startups, open-source, non-profit and research projects. See how Django Cloud compares with other ways to host Django.

Django is a registered trademark of the Django Software Foundation. Django Cloud is not affiliated with or endorsed by it. Found a mistake in this guide? Tell us and we will fix it.