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.14.1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

easyecs-0.14.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: easyecs-0.14.1.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1023-azure

File hashes

Hashes for easyecs-0.14.1.tar.gz
Algorithm Hash digest
SHA256 d9997e191547f53895a3ae1ab5cac49f2c7e776be0010bd296bfb619b490b30a
MD5 362cf5c5ccd400375f2f74be7c6b8cbb
BLAKE2b-256 6d1689706402eab0252e59ba1382d67f773ce467cdc827677c478599788368a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: easyecs-0.14.1-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1023-azure

File hashes

Hashes for easyecs-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1be4474a112b3203fc7b4e7f4c48214036a39511b83cfba73ea297fe0b36bcff
MD5 64303c52846e2e131221dc3736af497d
BLAKE2b-256 2a6b7d6b2a4ceb091aafe8f36091f62ab397e4dd8c805c61aa47fb6baafe14ad

See more details on using hashes here.

Supported by

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