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
14
votes
3 answers
How to use eb init without manual instructions
I want to make an eb deploy in a clean environment. It tells me I first need to execute eb init.
When I do this I see the following:
Select a default region
1) us-east-1 : US East (N. Virginia)
2) us-west-1 : US West (N. California)
3) us-west-2 :…

DenCowboy
- 13,884
- 38
- 114
- 210
13
votes
2 answers
Commit .elasticbeanstalk/config.yml in Elastic Beanstalk
Is it a good approach to commit the .elasticbeanstalk/config.yml inside the git repo of a project which uses eb deploy?
We want to deploy using our CI and so we can not use the interactive eb init.
What we are thinking now is to define our dev, uat…

DenCowboy
- 13,884
- 38
- 114
- 210
11
votes
2 answers
When to use AWS CLI and EB CLI
For a month or so, I've been studying AWS services and now I have to accomplish some basic stuff on AWS elastic beanstalk via command line. As far as I understand there are the aws elasticbeanstalk [command] and the eb [command] CLI installed on the…

ERIK_SON
- 379
- 5
- 16
9
votes
4 answers
EB CLI parameterize deployment artifact name for CI deploys
Using EB CLI to deploy a prebuilt application package. The related config.yml section looks like this:
deploy:
artifact: Website.zip
The CI build however creates a file that has the version added to it:
Website-1.5.44.zip
Is there any option to…

neo112
- 1,703
- 2
- 17
- 39
7
votes
1 answer
EB CLI with and AWS CLI doesn't recognize SSO sso_start_url and sso_region configuration
I installed EB CLI following these instructions.
To use it, I configured AWS CLI for SSO following these instructions.
This creates a config file in ~/.aws/config with these contents:
[profile ]
sso_session =…

buzoherbert
- 1,537
- 1
- 12
- 34
6
votes
3 answers
Why doesn't AWS EB tool use the default environment for branches?
I have the following .elasticbeanstalk/config.yml
branch-defaults:
default:
environment: MyDev-env
deploy:
artifact: target/App-Sprint9-SNAPSHOT-bin.zip
environment-defaults:
MyDev-env:
branch: null
repository: null
global:
…

Chloe
- 25,162
- 40
- 190
- 357
6
votes
1 answer
Can't set SSH in AWS EB CLI
When I try to set up SSH keys on Elastic Beanstalk CLI, I got this error instead:
ERROR: SSH is not installed. You must install SSH before continuing.
I don't usually get this error before. Maybe before, the SSH got installed automatically when I…

Aminah Nuraini
- 18,120
- 8
- 90
- 108
5
votes
2 answers
Deploying Django application in AWS. Raise Disallowed Host exception
I am newbie in Amazon Web Services and I'm trying to deploy a Django application using elastic BeansTalk. I'm following the AWS developer guide and when I deploy the application using EBCLI and open the browser to see my application running, I get…

Casimiro Rocha
- 51
- 1
- 2
5
votes
1 answer
Elastic Beanstalk CLI upload version without deploying
Is there a way with EB CLI to upload a zip package to the environment but not actually deploy it? This can be done on the web console but I would like to have the output of each build in the CI server to be uploaded to Elastic Beanstalk via EB CLI…

neo112
- 1,703
- 2
- 17
- 39
4
votes
2 answers
CodeCommit fails when after commit rewrite with --amend
We are using AWS Elastic Beanstalk and eb cli for deployment.
One problem we stumbled upon is not being able to rewrite commits.
When trying to deploy with eb deploy after runnig git commit --amend , we get the following error:
ERROR:…

Gapi
- 67
- 5
4
votes
5 answers
How to utilize .ebextension while using CodePipeline
I'm using CodePipeline to deploy whatever is on master branch of the git to Elastic Beanstalk.
I followed this tutorial to extend the default nginx configuration (specifically the max-body-size):…

yasgur99
- 756
- 2
- 11
- 32
4
votes
3 answers
Elastic Beanstalk "git aws.push" only commited difference?
We are storing our PHP project on github.
For fast deployment we are using .bat file for git pushing changes to AWS Elastic Beanstalk cloud:
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i -c "git aws.push --environment envname"
We are making…

Kainax
- 1,431
- 19
- 29
3
votes
1 answer
can't decompress data; zlib not available when installing Elastic Beanstalk CLI following the official instruction
I am on MacOS. I am following AWS' instruction to install Elastic Beanstalk CLI,
I firstly cloned the git repo of the CLI via command :
git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git
I secondly installed the dependent tools…

Leem.fin
- 40,781
- 83
- 202
- 354
3
votes
2 answers
AWS Elasticbeanstalk CLI ignores instace type option
I have a python application that's using Flask, which I'm trying to deploy to Elasticbeanstalk using the EB CLI.
I'm following the deployment steps mentioned…

sagar1025
- 616
- 9
- 22
3
votes
0 answers
Enable mod_rewrite using ebextensions file in Elastic Beanstalk CLI
I am installing OctoberCMS on my production server using Elastic Beanstalk CLI. I have created a folder called .ebextensions and created a container command for php artisan october:up. But I am getting an error as
The…

Aniket
- 156
- 13