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-1.0.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-1.0.0-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: djd-1.0.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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0ca0303d5922e8ea28664159bc2a4de1721d063d4082894f32e585a9b9dec217
MD5 581f0d87e6fc4e1aa409484457d4b726
BLAKE2b-256 b2aaedb46c0b5126b021a16a93fc60fdff0d3d4d06c1ede496a820ecc2ca99be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: djd-1.0.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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e165f98f7059f9dec0ba13064268e353cd2d394917a95d580240be415fe1722
MD5 84497f4f8b129bc8de7d00f7c4e098ed
BLAKE2b-256 67a499ca46a2f04813b368c71813ad7d917f59f13f909e33d1230e433b9fb9c8

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