Seamlessly connect to containers running in ECS.
Project description
ECS Connect
Seamlessly connect to containers running in ECS.
Usage
ecs-connect –profile <profile> –cluster <cluster name> –service <service name> –cmd <init cmd>
Example
ecs-connect
If nothing is provided, then config will be pulled from default profile saved in ~/.ecs_connect config file.
Optional flags: - –profile Name of the profile to use in ~/.ecs-connect. If none is provided, then the default profile will be used. - –cluster Name of the ECS cluster. If provided, then parameter from profile will be overridden. - –service Name of the service. If provided, then parameter from profile will be overridden. - –cmd Initilization command to run, will be executed once connected to container. If provided, then parameter from profile will be overridden. - –all Displays all running containers. - –verbose More verbose output. - –debug Very verbose output. Useful for debugging.
Note
Set cmd to sh or bash depending on container os to get shell access.
<service name> will be used to filter containers.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-03-02)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ecs_connect-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 773967a36b4527190bb07c524f5ed92f65e70a6c8cb1dddf8bc2043a0993a932 |
|
MD5 | 602e2ff53888c69499e5256fb4268ed5 |
|
BLAKE2b-256 | fe8b04ec0e292f284c398a193d7b36ea829b7c90457527d4198268db12c00878 |