معرفی شرکت ها


ecs-connect-3.2.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Seamlessly connect to containers running in ECS.
ویژگی مقدار
سیستم عامل -
نام فایل ecs-connect-3.2.2
نام ecs-connect
نسخه کتابخانه 3.2.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Saurabh Jambhule
ایمیل نویسنده saurabhjambhule@gmail.com
آدرس صفحه اصلی https://github.com/saurabhjambhule/ecs_connect
آدرس اینترنتی https://pypi.org/project/ecs-connect/
مجوز MIT license
=========== ECS Connect =========== .. image:: https://img.shields.io/pypi/v/ecs_connect.svg :target: https://pypi.python.org/pypi/ecs_connect Seamlessly connect to containers running in ECS. Requirements ------------ EC2 Based ######### For EC2 based ECS deploymnets, you need SSM Session Manager enabled on the EC2 instances. For enabling SSM Sessions refer `this. <https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.html>`__ Make sure you have set proper IAM permissions for the developer going to access containers deployed in EC2 using ecs-connect tool. Fargate Based ############## For Fargate based ECS deploymnets, the SSM Session Manager can't be enabled directly as undelying EC2 instances are managed by AWS. So a Bastion node, an EC2 instances with SSM Session Manager enabled is required. For enabling SSM Sessions refer `this. <https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.html>`__ Also, the SSHD must be installed on the container to which you want to connect. And you need to create SSH keys and place them in the container and the bastion node. To setup SSH keys refer `this. <https://linuxize.com/post/how-to-setup-passwordless-ssh-login/>`_ Make sure you have placed SSH key in bastion node at **home/ssm-user/bastion** (where *bastion* is a key name) 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. * **--service** Name of the service. * **--task** Started by name. If provided, the service will be ignored. * **--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, for ECS EC2 based running tasks/services. * **--verbose** More verbose output. * **--debug** Very verbose output. Useful for debugging. Additional options available in only config file: * **--ssh_user** User name for ssh into fargate based service. * **--ssh_key** SSH key path on bastion node. 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. .. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage ======= History ======= 0.1.0 (2020-03-02) ------------------ * First release on PyPI. 1.2.0 (2020-06-10) ------------------ * Added support for referencing task using started by value 1.2.3 (2020-09-09) ------------------ * Make task parameter optional for service based deploys 2.0.0 (2020-10-22) ------------------ * Add support for selecting aws profile 2.0.1 (2021-10-28) ------------------ * Add support for specifying ssh user and path of the ssh key in bastion node 3.0.0 (2022-06-29) ------------------ * Add support for ecs exec command 3.1.0 (2022-08-11) ------------------ * Add support for interactive mode 3.1.1 (2022-08-23) ------------------ * Fix list returns limited results 3.1.2 (2022-12-22) ------------------ * Fix exec command when task is given


نیازمندی

مقدار نام
>=7.0 click
>=1.16.9 boto3
>=1.19.9 botocore
>=4.0.2 ConfigParser
>=8.1 websockets
>=2.10.0 inquirer


زبان مورد نیاز

مقدار نام
>=3.5 Python


نحوه نصب


نصب پکیج whl ecs-connect-3.2.2:

    pip install ecs-connect-3.2.2.whl


نصب پکیج tar.gz ecs-connect-3.2.2:

    pip install ecs-connect-3.2.2.tar.gz