Skip to main content

No project description provided

Project description

EasyECS

EasyECS is an innovative container deployment tool designed to streamline the process of launching containers within the Amazon Web Services (AWS) Elastic Container Service (ECS) Fargate. With its user-friendly interface and automated workflows, EasyECS empowers developers to efficiently manage containerized applications on the AWS cloud platform. This tool is similar to what skaffold can be in Kubernetes environment.

Demonstration

Demonstration

Features

  • Create a CloudFormation Stack on AWS.
  • Create port forwarding between you and the task.
  • Build and push docker image on the fly.
  • An easy configuration file.
  • Manage IAM permissions via configuration file.
  • Synchronize file between the host and the remote containers.
  • Send input to the container.
  • Let the task run in the background.

How to install

pip install easyecs

Dependencies

  • NodeJS needs to be installed on your machine for AWS CDK to work.

How to use

Usage: easyecs [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  delete  Delete a stack
  dev     Run a stack in development mode
  run     Run a stack

Sample configuration

metadata:
  appname: "helloworld"
role:
  managed_policies: []
  statements:
    - sid: "ssmactions"
      resources: ["*"]
      actions: ["ssmmessages:CreateControlChannel", "ssmmessages:CreateDataChannel", "ssmmessages:OpenControlChannel", "ssmmessages:OpenDataChannel", "secretsmanager:*"]
      effect: "Allow"
execution_role:
  managed_policies: ["service-role/AmazonECSTaskExecutionRolePolicy", "AmazonEC2ContainerRegistryReadOnly"]
  statements:
    - sid: "secretmanageractions"
      resources: ["*"]
      actions: ["secretsmanager:GetSecretValue"]
      effect: "Allow"
    - sid: "s3actions"
      resources: ["*"]
      actions: ["s3:*"]
      effect: "Allow"
task_definition:
  resources:
    limits:
      cpu: 2
      memory: 4096
  containers:
    - name: helloworld
      image: docker.io/library/debian
      user: root
      tty: true
      command: "/bin/bash"
      resources:
        limits:
          cpu: 1
          memory: 2048
      volumes:
        - "./easyecs:/root/easyecs"
        - "./ecs.yml:/root/ecs.yml"
      port_forward:
        - "8000:8000"
      env: []
      secrets: []

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

easyecs-0.25.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

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

easyecs-0.25.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file easyecs-0.25.0.tar.gz.

File metadata

  • Download URL: easyecs-0.25.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.0 Linux/6.11.0-1018-azure

File hashes

Hashes for easyecs-0.25.0.tar.gz
Algorithm Hash digest
SHA256 51318400361992199cd9d653290b46ef1e67dc11d9d3987072b833846a5f8b7c
MD5 582528b7307a0b6643df5179c3e0223f
BLAKE2b-256 003e8fd3cc64cf294fe44362430519b4328e10b6c305e3041c6fcd8207c77263

See more details on using hashes here.

File details

Details for the file easyecs-0.25.0-py3-none-any.whl.

File metadata

  • Download URL: easyecs-0.25.0-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.0 Linux/6.11.0-1018-azure

File hashes

Hashes for easyecs-0.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8e47ea352b3a45c141694893940d0178423fd6a463b1d0b0499039091e4d913
MD5 7c92dab803f3a5da1e69ddbb51884bc4
BLAKE2b-256 337c8f417be3ac3c8470b674de3333c48a6c8d812503645175f5da556b85bbac

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