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
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: []
Metadata
Release files for easyecs 0.27.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| easyecs-0.27.0.tar.gz | 23.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easyecs-0.27.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.1 kB
Release files / easyecs-0.27.0.tar.gz
| Download URL | easyecs-0.27.0.tar.gz |
|---|---|
| Size | 23.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ba922ef3749bf1294c30acc3ff5f9d485aac06293891af9a24fbc7c9cb8682d
|
|
BLAKE2b-256 checksum How to use checksums |
fc5d343099d28826afb1ef29be00e2728d7f003bd2f02947452e790130e553a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.11.0 Linux/6.17.0-1022-azure
|
Release files / easyecs-0.27.0-py3-none-any.whl
| Download URL | easyecs-0.27.0-py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56f57f5b96be2cb03eb17c1030d611bbef709e6fc9fb3e47ffa2489488c9fb9c
|
|
BLAKE2b-256 checksum How to use checksums |
0a97b26df877dbbeab996be6ebae7b74978e841a3c14db9c509d373199d84fe3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.11.0 Linux/6.17.0-1022-azure
|