Skip to main content

A tool for managing Django + AWS ECS deployments

Project description

djd

djd is a command line tool for creating and managing Django + AWS ECS deployments. It wraps Terraform, AWS (via Boto3), Docker, Git, and GitHub to coordinate running deployments, building and uploading Docker images, and accessing infrastructure from the terminal.

Installation

pip install djd

Usage

Creating a deployment

This package includes templates for a canonical ECS web deployment architecture. Run the following command to scaffold a named deployment in your project's repository. (Recommended: commit the generated files.)

djd-templates init {deployment_name}

To see all configuration options, append --help.

ECS Services

To visualize running / configured ECS services:

djd {deployment_name} show-services

You will get a table that shows each ECS service's ID, name, latest deployment indicator, task counts, status, and rollout state:

Deployment Status

  Deployment ID                    Service                          Latest       Created On                  Count             Status            Rollout State
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  ecs-svc/0938446537801788686      deploy-staging-web               *            2025-10-24 12:30:48 PM      0 -> 1 / 1        Primary           Completed
  ecs-svc/2070367854272485563      deploy-staging-worker            *            2025-10-24 12:30:48 PM      0 -> 0 / 0        Primary           Completed

To visualize individual tasks on the cluster:

djd {deployment_name} show-tasks
Task Status

  Task ID                            Task Definition ID     Created At               Health Status          Status
 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  b21dc0a1442740c5a00930a64d6b00cd   deploy-staging-web:2   2025-10-24 12:31:06 PM   Unknown                Running

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djd-0.1.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djd-0.1.0-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file djd-0.1.0.tar.gz.

File metadata

  • Download URL: djd-0.1.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for djd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0de35ec9530019db8c36cd219bccd1f97a3466159a35f43b087b105344f13862
MD5 b4596e5b485ab57717bb61637746ac71
BLAKE2b-256 d1314f72b17e5dde9b44b215e7ac8923b815ed8c51ba05760aa9e079fdd7a1da

See more details on using hashes here.

File details

Details for the file djd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: djd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for djd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b03ed17e602999100303e53f4e5d7312b5409820b92e4a056dae4f904b223a0f
MD5 3c02fdded0c7dd46e48589f59100f493
BLAKE2b-256 5eaf9677c4f3b6a4dd6eb08b1224c33360edd39620a992a42a14739a027912e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page