Questions tagged [ebcli]

ebcli is the short version of Elastic Beanstalk Command Line Interface. This CLI helps people to deploy to AWS Elastic Beanstalk easily.

96 questions
2
votes
1 answer

Convert Eb Platform To Solution Stack Name

Is there any official way or 'the right way' to convert one of the platforms returned by eb platform list to the latest version of the eb solution stacks listed by aws elasticbeanstalk list-available-solution-stacks --query 'SolutionStacks'
user319862
  • 1,797
  • 2
  • 24
  • 32
2
votes
3 answers

AWS EB CLI + Codecommit: git status incorrectly shows branch out-of-sync after deploy

After using "eb deploy" integrated to source control the CodeCommit remote repo is updated (I can see in AWS Console that the commit is there, in the cloud repo) and the EC2 instance is correctly running the new deployed version (can see it also…
iandin
  • 31
  • 4
2
votes
2 answers

Create a single instance Elastic Beanstalk application with eb-cli

So i have a java application with the appropriate Procfile/Buildfile. I have ran eb create in our scratch Elastic Beanstalk environment but i have to follow up with a manual configuration change to make it a single instance type vs a load…
Rohan Panchal
  • 1,211
  • 1
  • 11
  • 28
2
votes
1 answer

AWS Elastic Beanstalk Deployment Order

I'm deploying code to a single-instance web server AWS EB environment that will provision/update my connected RDS database. I've got an .ebextensions file that calls deployment code: --- container_commands: 01deploydb: command:…
Calteran
  • 1,063
  • 8
  • 12
2
votes
1 answer

Download/Retrieve existing Elastic Beanstalk environment configuration

I have setup an elastic beanstalk application and environment using the AWS Web Console. Everything works well and as needed. Now we would like grab all the configuration for this environment so that we can setup this environment again, possibly…
Chenna V
  • 10,185
  • 11
  • 77
  • 104
2
votes
1 answer

Why does eb cli crash when initializing multi environment

So I was running eb init --modules modA modB and at the Application name step it crashes every time. Traceback (most recent call last): File "/Users/myname/Library/Python/3.4/bin/eb", line 11, in load_entry_point('awsebcli==3.8.3',…
DougW
  • 28,776
  • 18
  • 79
  • 107
2
votes
0 answers

Elastic Beanstalk environment url has random characters added

I created an EB environment using 'eb create' with a cfg.yml file. The url for the environment has a random string of characters added in the middle like so: environ-name.b4adrt4b2o.us-east-1.elasticbeanstalk.com Does anyone know where these…
sdw
  • 83
  • 1
  • 9
1
vote
0 answers

Installing AWS EB CLI using pip fails due to breaking changes in urllib 2

Suddenly my GitHub Actions CI workflow failed to install AWS EB CLI, due to breaking changes in urllib v2: ERROR: botocore 1.29.81 has requirement urllib3<1.27,>=1.25.4, but you'll have urllib3 2.0.2 When trying to use eb deploy anyway, this is the…
JHH
  • 8,567
  • 8
  • 47
  • 91
1
vote
1 answer

No such file or directory when executing command via docker run -it

I have this Dockerfile (steps based on installation guide from AWS) FROM amazon/aws-cli:latest RUN yum install python37 -y RUN curl -O https://bootstrap.pypa.io/get-pip.py RUN python3 get-pip.py --user RUN pip3 install awsebcli --upgrade…
ondrados
  • 272
  • 3
  • 9
1
vote
0 answers

EB deploy NodeJS app - npm failed to install dependencies

appreciate any advice on below issue! I am attempting to deploy an Node app to EB using eb deploy and--after the artifact is uploaded--am seeing errors in eb-engine log saying I didn't specify Node.js version and that npm failed to install…
Yevgeniy
  • 931
  • 2
  • 14
  • 19
1
vote
1 answer

Specify node js version in package.json at time of application deployment on aws

I am beginner in node JS. I have it a month ago. Implemented a basic rest API using express and its working in my localhost perfectly. Now I try to deploy that on AWS beanstalk using eb CLI. when do eb create command than it says that 2021-12-06…
1
vote
0 answers

AWS ElasticBeanstalk deployment is throwing error, "An error occurred during execution of command [app-deploy] - [PostBuildEbExtension]"

I am trying to deploy my Laravel application into ElasticBeanstalk environment. I am using "eb deploy" command for the deployment. The command was working fine. I had been deploying my application successfully. At some point, I updated my…
Wai Yan Hein
  • 13,651
  • 35
  • 180
  • 372
1
vote
1 answer

EB CLI requires the 'docker' Python package

I'm not sure if this is Docker, the Elastick Beanstalk, or docker image issue related, but my problem is that I'm running the command eb local run to start the local environment alongside with docker. Expected behavior The command runs…
Mateus Neves
  • 304
  • 5
  • 16
1
vote
1 answer

AWS Elastic Beanstalk commands return no output

I am very new to the Amazon Web Services and have been trying a learn-by-doing approach with them. In summary I was trying to set up Git with the elastic beanstalk command line interface for my web-app. However, I wanted to use my SSH key-pair to…
1
vote
0 answers

Elastic Beanstalk & Docker - EB CLI Does Not Work on Mac! BUG

When I try and use elastic beanstalk from the command line (ie eb create project) I got the following error. Select a platform version. 1) Docker 17.03.2-ce 2) Docker 1.12.6 3) Docker 1.11.2 4) Docker 1.9.1 5) Docker 1.7.1 6) Docker 1.6.2 7) Docker…