deployfish-1.9.6
1.9.6
1.9.5
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.2
1.6.1
1.6.0
1.5.0
1.4.0
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.15
1.3.14
1.3.13
1.3.12
1.3.11
1.3.10
1.3.1
1.3.0
1.2.9
1.2.8
1.2.7
1.2.6
1.2.4
1.2.3
1.2.2
1.2.12
1.2.11
1.2.10
1.2.1
1.11.5
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
1.10.5
1.10.3
1.10.2
1.10.1
1.10.0
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.13
1.0.12
1.0.11
1.0.10
1.0.0
0.30.9
0.30.8
0.30.7
0.30.6
0.30.5
0.30.4
0.30.3
0.30.2
0.30.18
0.30.17
0.30.16
0.30.15
0.30.14
0.30.13
0.30.12
0.30.11
0.30.10
0.30.1
0.30.0
0.29.9
0.29.8
0.29.7
0.29.6
0.29.5
0.29.4
0.29.3
0.29.2
0.29.1
0.29.0
0.28.1
0.28.0
0.27.0
0.26.0
0.25.2
0.25.1
0.25.0
0.24.1
0.24.0
0.23.2
0.23.1
0.23.0
0.22.2
0.22.1
0.22.0
0.21.2
0.21.1
0.21.0
0.20.6
0.20.5
0.20.4
0.20.3
0.20.2
0.20.1
0.20.0
0.19.1
0.19.0
0.18.5
0.18.4
0.18.3
0.18.2
0.18.1
0.18.0
0.17.1
0.17.0
0.16.0
0.15.9
0.15.7
0.15.6
0.15.4
0.15.3
0.15.10
0.15.1
0.15.0
0.14.5
1.9.6
1.9.5
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.2
1.6.1
1.6.0
1.5.0
1.4.0
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.15
1.3.14
1.3.13
1.3.12
1.3.11
1.3.10
1.3.1
1.3.0
1.2.9
1.2.8
1.2.7
1.2.6
1.2.4
1.2.3
1.2.2
1.2.12
1.2.11
1.2.10
1.2.1
1.11.5
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
1.10.5
1.10.3
1.10.2
1.10.1
1.10.0
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.13
1.0.12
1.0.11
1.0.10
1.0.0
0.30.9
0.30.8
0.30.7
0.30.6
0.30.5
0.30.4
0.30.3
0.30.2
0.30.18
0.30.17
0.30.16
0.30.15
0.30.14
0.30.13
0.30.12
0.30.11
0.30.10
0.30.1
0.30.0
0.29.9
0.29.8
0.29.7
0.29.6
0.29.5
0.29.4
0.29.3
0.29.2
0.29.1
0.29.0
0.28.1
0.28.0
0.27.0
0.26.0
0.25.2
0.25.1
0.25.0
0.24.1
0.24.0
0.23.2
0.23.1
0.23.0
0.22.2
0.22.1
0.22.0
0.21.2
0.21.1
0.21.0
0.20.6
0.20.5
0.20.4
0.20.3
0.20.2
0.20.1
0.20.0
0.19.1
0.19.0
0.18.5
0.18.4
0.18.3
0.18.2
0.18.1
0.18.0
0.17.1
0.17.0
0.16.0
0.15.9
0.15.7
0.15.6
0.15.4
0.15.3
0.15.10
0.15.1
0.15.0
0.14.5
توضیحات
AWS ECS related deployment tools
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | deployfish-1.9.6 |
| نام | deployfish |
| نسخه کتابخانه | 1.9.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Caltech IMSS ADS |
| ایمیل نویسنده | imss-ads-staff@caltech.edu |
| آدرس صفحه اصلی | https://github.com/caltechads/deployfish |
| آدرس اینترنتی | https://pypi.org/project/deployfish/ |
| مجوز | - |
```
_ _ __ _ _
| | | | / _(_) | |
__| | ___ _ __ | | ___ _ _| |_ _ ___| |__
/ _` |/ _ \ '_ \| |/ _ \| | | | _| / __| '_ \
| (_| | __/ |_) | | (_) | |_| | | | \__ \ | | |
\__,_|\___| .__/|_|\___/ \__, |_| |_|___/_| |_|
| | __/ |
|_| |___/
```
`deployfish` has commands for managing the whole lifecycle of your application:
* Safely and easily create, update, destroy and restart ECS services
* Safely and easily create, update, run, schedule and unschedule ECS tasks
* Extensive support for ECS related services like load balancing, application
autoscaling and service discovery
* Easily scale the number of containers in your service, optionally scaling its
associated autoscaling group at the same time
* Manage multiple environments for your service (test, qa, prod, etc.) in
multiple AWS accounts.
* Uses AWS Parameter Store for secrets for your containers
* View the configuration and status of running ECS services
* Run a one-off command related to your service
* Easily exec through your VPC bastion host into your running containers, or
ssh into a ECS container machine in your cluster.
* Setup SSH tunnels to the private AWS resources in VPC that your service
uses so that you can connect to them from your work machine.
* Extensible! Add additional functionality through custom deployfish modules.
* Works great in CodeBuild steps in a CodePipeline based CI/CD system!
Additionally, `deployfish` integrates with
[terraform](https://www.terraform.io) state files so that you can use the
values of terraform outputs directly in your `deployfish` configurations.
To use `deployfish`, you
* Install `deployfish`
* Define your service in `deployfish.yml`
* Use `deploy` to start managing your service
A simple `deployfish.yml` looks like this:
services:
- name: my-service
environment: prod
cluster: my-cluster
count: 2
load_balancer:
service_role_arn: arn:aws:iam::123142123547:role/ecsServiceRole
load_balancer_name: my-service-elb
container_name: my-service
container_port: 80
family: my-service
network_mode: bridge
task_role_arn: arn:aws:iam::123142123547:role/myTaskRole
containers:
- name: my-service
image: 123142123547.dkr.ecr.us-west-2.amazonaws.com/my-service:0.0.1
cpu: 128
memory: 256
memoryReservation: 128
ports:
- "80"
environment:
- ENVIRONMENT=prod
- ANOTHER_ENV_VAR=value
- THIRD_ENV_VAR=value
See the `examples/` folder in this repository for example `deployfish.yml`
files.
## Documentation
[deployfish.readthedocs.io](http://deployfish.readthedocs.io/) is the full
reference for deployfish, including a full `deployfish.yml` reference and
tutorials.
## Installing deployfish
deployfish is a pure python package. As such, it can be installed in the
usual python ways. For the following instructions, either install it into your
global python install, or use a python [virtual environment](https://python-guide-pt-br.readthedocs.io/en/latest/dev/virtualenvs/) to install it
without polluting your global python environment.
### Install deployfish
pip install deployfish
### Install AWS CLI v2
deployfish requries AWS CLI v2 for some of its functionality, notably EXEC'ing into FARGATE containers. While AWS CLI
v1 was installable via `pip`, AWS CLI v2 is not, so we have to do the install manually. Here's how to set that up on a
Mac:
# Uninstall any old versions of the cli
pip uninstall awscli
# Deactivate any pyenv environment so we can be in the system-wide Python interpreter
cd ~
# Install the new AWS CLI from brew -- it's no longer pip installable
brew update
brew install awscli
# Install the Session Manager plugin
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/mac/sessionmanager-bundle.zip" -o "sessionmanager-bundle.zip"
unzip sessionmanager-bundle.zip
sudo ./sessionmanager-bundle/install -i /usr/local/sessionmanagerplugin -b /usr/local/bin/session-manager-plugin
If later on you have issues with EXEC'ing or with the `aws` command in general, check to ensure you're getting your
global version of `aws` instead of an old one in your current virtual environment:
aws --version
If the version string shows version < 2:
pip uninstall awscli
نیازمندی
| مقدار | نام |
|---|---|
| >=1.26.36 | boto3 |
| >=3.0.0 | cement |
| >=6.7 | click |
| - | colorlog |
| >=2.11 | jinja2 |
| >=1.2.3 | jsondiff2 |
| - | pytz |
| >=5.1 | PyYAML |
| >=2.18.4 | requests |
| >=3.8.1 | shellescape |
| >=0.8.1 | tabulate |
| - | typing-extensions |
| >=4.0.1 | tzlocal |
نحوه نصب
نصب پکیج whl deployfish-1.9.6:
pip install deployfish-1.9.6.whl
نصب پکیج tar.gz deployfish-1.9.6:
pip install deployfish-1.9.6.tar.gz