Skip to main content

A deploy tool for AWS projects

Project description

Airmail

A CLI tool for deploying projects to AWS

Introduction/Philosophy

The point of Airmail is to make deploying projects into AWS a little easier. It was inspired as a binding layer between Terraformed infrastructure and deploying applications to AWS ECS. At NYMag we wanted to manage infrastructure with Terraform and then allow applications to be more declarative about how they run without caring about the infrastructure. A developer should be able to change easily declare where and how their application will run and then be able to easily configure resources in Terraform to support that. Airmail is designed to deploy code with the assumption that the underlying infrastructure is there to support the project.

How To

Airmail needs to be run in a project with a .deploy directory. It will look inside this directory for configuration files that will tell the tool how to deploy to ECS.

<project dir>
├── app                     # The directory of your application
├── .deploy                 # The directory holding the config
│   ├── config.yml          # Holds the primary config declarations
│   └── <env>.env           # Environment variable configuration for the container
└── ...

Config File

The config.yml file contains all the information that Airmail needs to build the service and task definitions to deploy to ECS. For an example file click here.

Commands

A list of commands and corresponding arguments/environment variables can be found here.

AWS Configuration

Airmail assumes your local env is configured per Boto3 configuration. The tool uses Boto3 to execute requests to AWS and does not do anything to setup your local environment.

Local Development

Clone and run python3 setup.py install or download Watchcode and run watchcode in the root of the project./

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

airmail-0.0.3.tar.gz (10.8 kB view details)

Uploaded Source

File details

Details for the file airmail-0.0.3.tar.gz.

File metadata

  • Download URL: airmail-0.0.3.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/2.7.15

File hashes

Hashes for airmail-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b2cf812c9a70c6625563084856b289b2db351cc53b11d3aa84a83c455165d5eb
MD5 ddb34b547b45615a86835d96bce224ae
BLAKE2b-256 8bf123675db37220d26ebfe5be23dc122f2788fc048986fbb7b397ef6dd7e953

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