ebcli is the short version of Elastic Beanstalk Command Line Interface. This CLI helps people to deploy to AWS Elastic Beanstalk easily.
Questions tagged [ebcli]
96 questions
0
votes
1 answer
`eb deploy` error 'Your requirements.txt is invalid' (Python app)
I have a Django 1.11 app I deploy on ElasticBeanstalk Python 2.7 platform. After updating some of my requirements, it seems pip is failing on EB. Weird because it works on my local Python 2.7.16 env (MacOS 10.15.1 default) just fine.
Here's the…

Jorge Orpinel Pérez
- 6,361
- 1
- 21
- 38
0
votes
1 answer
AWSEBCLI does not work when running on Jenkins. No module named ERROR
I'm working on a continuous deployment for an application at work using Jenkins with Multibranch Pipeline, AWSCLI and AWSEBCLI. When running via ssh, everything works fine, but on jenkins don't.
Application:
- Java 8
- Maven
- Quarkus…

Philippe Geraldeli
- 13
- 4
0
votes
0 answers
Scale elastick beastalk from lambda function
I need to run scale on elastic beanstalk in a lambda function that will be invoked by cron.
I can preform several actions on elastic beanstalk with boto3, but I can't find a way to scale the env.
What I need to run is similar to:
eb scale 0
Is…

Hellpless
- 88
- 2
- 12
0
votes
1 answer
EB CLI only works as sudo; else gives 'DistributionNotFound'
When I run eb --version it errors out with a DistributionNotFound.
(my-venv) MBP-2:folder username$ eb --version
The traceback is:
Traceback (most recent call last):
File "/usr/local/bin/eb", line 5, in
from…

Pranab
- 2,207
- 5
- 30
- 50
0
votes
0 answers
The directory is not empty: '.elasticbeanstalk\\app_versions' Windows 10
I am switching to a new computer with a fresh install of Windows 10 Pro and am having a very strange issue with the EB CLI. I am not able to run 'eb deploy' using Windows Power Shell, I get the following error:
ERROR: OSError - [WinError 145] The…

gregwinn
- 941
- 1
- 9
- 16
0
votes
0 answers
How to install EB CLI on ubuntu 18.04
I have tried lots of efforts but not found the result.
Error Showing
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3088, in
@_call_aside
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3072, in…

Rahul Saini
- 927
- 1
- 11
- 28
0
votes
0 answers
When I deploy a node.js app to Elastic Bean Environment
When I make the deploy via EB CLI. Everything goes smoothly. But when I open my link. It doesn´t show content. I have tried to move the .ebextensions and the server.js to accomodate the static files. But I havent been able to resolve it.
Here is the…

Felipe Vallina
- 1
- 3
0
votes
0 answers
Deploying django site to elasticbeanstalk: NotAuthorizedError: Operation Denied. The security token included in the request is invalid
I am getting this error when trying to deploy to elastic beanstalk using CLI.
The deploy was working before I added the code to a remote git repository
(theplay.team) vagrant@debian-7:/vagrant/Devel/theplay.team/theplayteam$ eb deploy…

nael
- 1,441
- 19
- 36
0
votes
3 answers
Can't get flask to log to opt/python/log on Elastic Beanstalk AWS
I have been trying to get my Flask app to log to a log file. In elastic beanstalk I have a logger in my flask app that logs files to
opt/python/log
The file is successfully created but when I try to do something like
log.warning('ERROR')
The line…

Eric Poretsky
- 55
- 9
0
votes
1 answer
AWS Codebuild fails on EB Deploy - GIT: Failed to traverse parents of commit
I'm setting up deployment to AWS Elastic Beanstalk using AWS CodeBuild.
However, I'm getting the following error when trying to deploy the application:
eb deploy staging --verbose
ERROR: CommandError - An error occurred while handling git…

Carlos Martinez
- 4,350
- 5
- 32
- 62
0
votes
2 answers
elastic beanstalk deployment error - chmod: cannot access ‘/var/app/current/storage’: No such file or directory
I am trying to upload my laravel project to AWS using elastic beanstalk. However, every time I upload the project (using the UI button "upload and deploy") I get the following error during deployment:
[Instance: i-064b98ad84a27d750] Command failed…

SagarB
- 31
- 5
0
votes
2 answers
ERROR: Application Version does not exist locally. Error while uploading a war artifact to aws beanstalk environment
I am facing an error while uploading a war file to the staging environment.
Have written a shell script which uses eb cli to deploy artifact to the environment.
config.yml looks like this:
branch-defaults:
default:
environment:…

Nikhil Sahu
- 2,463
- 2
- 32
- 48
0
votes
1 answer
How do I fix postgresql version erros of aws elastick beanstalk?
I deploy Django project.
and I Use to Django, eb( eb cli ), docker, nginx.
but, An postgresql version error occurs.
How do I fix postgresql version erros of aws elastick beanstalk?
please, help me.

Nouveau
- 373
- 2
- 3
- 7
0
votes
1 answer
Cannot deploy custom artifact to elasticbeanstalk and bypass git archiving
I am trying to deploy a custom zip file, to elastic beanstalk. I have followed the guidelines here but after running
eb deploy -v --debug
to get verbose output, I still can see using the zip produced from git archiving instead of my zip
The…

py_script
- 808
- 2
- 16
- 38
0
votes
1 answer
AWS EB CLI - Exclude specific folders every time I run 'eb deploy'
How to prevent specific folders from being replaced in every deployment?
Consider the directory structure below:
-- /.ebextensions
-- /app
-- /database
-- /public
---- /css
---- /js
---- /images
I'm using AWS CodeCommit and EB CLI for my PHP…

Dexter Bengil
- 5,995
- 6
- 35
- 54