Skip to main content

Tool for easy deploying django-projects to Amazon AWS. Just two commands: easy-aws push and easy-aws deploy

Quick start

Stage 1. Installing

  1. Ensure that have installed python3-dev

  2. Install easy-aws:

    pip install easy-aws

Stage 2. Preparing

  1. Configure boto (enter AWS credentials and select region):

    easy-aws configure
  2. (optional) To specify python module dependencies add file requirements.txt to django project directory. Example of requirements.txt:

    Django
    mock
  3. (optional) To specify system dependencies add file system-requirements.txt to django project directory. Specified packages will be install via apt-get install. Example of system-requirements.txt:

    python3-dev
    libpq-dev

Stage 3. Deploying process

All commands should be run in django project directory.

  1. Create and setup temporary instance, upload your django project on instance, create image and remove instance:

    easy-aws push
  2. Create load balancer, create launch configuration based on the created image and create auto scaling group (auto scaling up to 3 instances when CPU-load > 70):

    easy-aws deploy

Stage 4. Undeploying process

  1. To remove auto scaling group and launch configuration execute:

    easy-aws undeploy
  2. (optional) To full clean AWS cloud, i.e remove all auto scaling groups, launch configurations, load balancers, images, instances, key pairs and security groups execute:

    easy-aws clean

Other

  • Show debug messages, eg:

    easy-aws -d <command>
  • Print help, eg:

    easy-aws -h
    easy-aws <command> -h
  • Create VPN-server:

    easy-aws vpn create
  • Terminate VPN-server:

    easy-aws vpn terminate

Release files for easy-aws 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easy-aws 1.0.6
File Size Uploaded
easy-aws-1.0.6.tar.gz 17.4 kB Details

Release files / easy-aws-1.0.6.tar.gz

Download URL easy-aws-1.0.6.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6cf8c054514812d8954fae64779718b554c1c9dd5064c0c660138944cfdb197c
BLAKE2b-256 checksum
How to use checksums
4d265238d9b94ba844fdabad7764974b8194322b31e05f3a4ee7e5aa74907629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.6 This release

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page