Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Elastic Beanstalk Intelligence, Simple CLI tool for ElasticBeanstalk with Docker.
Deploying apps more intuitively
Dockerrun.aws.json
docker-compose.yml
.ebextensions/
::
pip install ebi
Requires Python2.7 or 3.5
deploy
To deploy app, just type it on project root::
$ ebi deploy <app_name> <env_name>
This will
1. Create zip file including ``Dockerrun.aws.json`` and ``.ebextensions`` or ``docker-compose.yml`` and ``.ebextensions``
2. Uploading zip to S3 as same directory as ``awsebcli``.
3. Deploying app (by calling ``eb deploy`` with uploaded --version)
options:
* ``--version``: version label for app. default is timestamp.
* ``--prefix``: version prefix for app. It is added to timestamp.
* ``--description``: description for this version.
* ``--dockerrun``: File path used as ``Dockerrun.aws.json``.
* ``--docker-compose``: File path used as ``docker-compose.yml``.
* ``--ebext``: Directory path used as ``.ebextensions/``
* ``--profile``: Configured profile for AWS.
* ``--region``: region for AWS.
create
To create app, just type it on project root::
$ ebi create <app_name> <env_name> <cname_prefix>
This will
Dockerrun.aws.json
and .ebextensions
or docker-compose.yml
and .ebextensions
awsebcli
.eb create
with uploaded --version)options:
--version
: version label for app. default is timestamp.--prefix
: version prefix for app. It is added to timestamp.--description
: description for this version.--dockerrun
: File path used as Dockerrun.aws.json
.--docker-compose
: File path used as docker-compose.yml
.--ebext
: Directory path used as .ebextensions/
--profile
: Configured profile for AWS.--region
: region for AWS.--cfg
: Configuration template to use.bgdeploy
To Blue-Green deploye app, just type it on project root::
$ ebi bgdeploy <app_name> <blue_env_name> <green_env_name> <primary_env_cname>
This will
1. Create zip file including ``Dockerrun.aws.json`` and ``.ebextensions`` or ``docker-compose.yml`` and ``.ebextensions``
2. Uploading zip to S3 as same directory as ``awsebcli``.
3. Deploy new version to secondary environment which doen't have ``primary_env_cname``
(by calling ``eb deploy`` with uploaded --version)
4. Apply primary cname for deployed (secondary) environment
::
+-------+ +------+
| green | | blue |
+-------+ +------+
pri.elastic...com sec.elastic...com
^
|
3. deploy!
options:
* ``--noswap``: Skip swapping to just deploy secondary environment.
* ``--version``: version label for app. default is timestamp.
* ``--prefix``: version prefix for app. It is added to timestamp.
* ``--description``: description for this version.
* ``--dockerrun``: File path used as ``Dockerrun.aws.json``.
* ``--docker-compose``: File path used as ``docker-compose.yml``.
* ``--ebext``: Directory path used as ``.ebextensions/``
* ``--profile``: Configured profile for AWS.
* ``--region``: region for AWS.
* ``--capacity``: Increase the number of desired instances, the minimum size, and the maximum size of the standby environment to the same as the primary environment.
clonedeploy
To deploy app with cloning, just type it on project root::
$ ebi clonedeploy <app_name> <env_name> <green_env_name> <cname_prefix>
This will
Dockerrun.aws.json
and .ebextensions
or docker-compose.yml
and .ebextensions
awsebcli
.eb deploy
with uploaded --version)::
+--------+ +----------+
| master | =1.Clone=> | next ver |
+--------+ +----------+
master.elastic...com master-<timestamp>.elastic...com
^
|
4. deploy!
--noswap
: Skip swapping to just deploy secondary environment.--version
: version label for app. default is timestamp.--prefix
: version prefix for app. It is added to timestamp.--description
: description for this version.--dockerrun
: File path used as Dockerrun.aws.json
.--docker-compose
: File path used as docker-compose.yml
.--ebext
: Directory path used as .ebextensions/
--profile
: Configured profile for AWS.--region
: region for AWS.FAQs
Simple CLI tool for ElasticBeanstalk with Docker
We found that ebi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.