Questions tagged [amazon-elastic-beanstalk]

AWS Elastic Beanstalk is a PaaS (Platform as a Service) service from Amazon Web Services that allows users to create applications and push them to a definable set of AWS services.

AWS Elastic Beanstalk is a PaaS (Platform as a Service) service from Amazon Web Services that allows users to create applications and push them to a definable set of AWS services, including Amazon EC2, Amazon S3, Amazon Simple Notification Service (SNS), Amazon CloudWatch, auto scaling, and elastic load balancers.

AWS Elastic Beanstalk Documentation

9253 questions
14
votes
1 answer

Environment vs. application in Elastic Beanstalk AWS

I recently started using AWS EBS and was confused as to what environment and application is and what is the difference? Could I use environment to have a development testing and production environment and then have several applications in each…
user13486660
14
votes
2 answers

How to upload and deploy zip file to AWS elastic beanstalk via CLI?

I do not want to use the console. No manual processes. I need a command line version, something that I can code in my continuous deployment scripts. As part of the build process, I can output a ZIP file (be it on my local machine or in CI process,…
14
votes
3 answers

Unable to retrieve the requested metadata /latest/meta-data/public-hostname

I'm deploying a springboot application with spring-cloud-stream and binder for AWS Kinesis. The application works fine when is deployed on aws elastic beanstalk if the beanstalk is configured with public ip. When we set beanstalk with private ip,…
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
14
votes
0 answers

Command failed on instance. An unexpected error has occurred [ErrorCode: 0000000001]

Yeah, I know the questions is super vague, but in all my years of working with AWS, I've never come across a problem like this! Anyway, it's very simple. I'm running an EB environment with min 2 max 4 instances. Every day or two, I get an error…
14
votes
1 answer

how to remove arraylist value in elastic search using curl?

How to remove arraylist values in Elasticsearch using sense console or curl? i want to remove any array element.? POST /q/q/ { "a": [ "z", "q", "1" ] } it doesnt work for me: POST /q/q/AV4sjk40mWHLgYFNkmNd/_update { "script": { …
bala s
  • 159
  • 1
  • 2
  • 7
14
votes
1 answer

Change platform on Elastic Beanstalk from PHP to Node.js

I'm trying to change the platform on an existing Elastic Beanstalk instance from PHP 7 to Node.js. However, via the AWS Dashboard, I can only change/upgrade the version of PHP. Is it currently possible to make this change through the dashboard or…
14
votes
5 answers

Spring Boot + Elastic Beanstalk .ebextensions in JAR

I have a very standard Spring Boot application (with a application.properties properties file located in standard /src/main/resources folder) which I'm deploying on AWS Elastic Beanstalk as a "fat JAR". It works quite nicely but there is an issue…
14
votes
1 answer

eb awscli cant deploy from git directory

I'm getting started with the ElasticBeanstalk AWS CLI and I've changed some of my workflow around. Previously I deployed from a directory above my git repository (which is a clone of a private GitLab directory), and shifted things around. Before it…
user764357
14
votes
3 answers

Elastic Beanstalk Docker with Amazon CloudWatch

I have an Elastic Beanstalk application deployed with a Docker container. The application itself is a Java Application. My goal is to get the logs to Cloudwatch. In particular I would like to get the stdouterr.log file to Cloudwatch. The file can be…
14
votes
4 answers

AWS Beanstalk - getting "Access denied while accessing Auto Scaling and ..." error

When I try to launch an Elastic Beanstalk environment from the command line, I get this error during the process: Environment health has transitioned from Pending to Warning. Access denied while accessing Auto Scaling and Elastic Load Balancing…
Bill_Flanders
  • 563
  • 2
  • 7
  • 19
14
votes
2 answers

AWS Beanstalk docker image automatic update doesn't work

I have a node.js application packaged in a docker image hosted in a public repository. I have deployed that image in an AWS Beanstalk docker application successfully. The problem is that I was expecting the Beanstalk application to be automatically…
14
votes
2 answers

Specific git branches for aws elastic beanstalk environments

Here is my current scenario. I am using AWS Elasticbeanstalk along with the eb cli 3.x tools for deployment. I have created 2 environments (development and production). and one branch in my git repo for each environment (i.e. master , production) I…
Lloyd
  • 183
  • 1
  • 5
14
votes
2 answers

Creation of .ebextensions folder in aws elastic beanstalk

I am trying to deploy a shellscript script to install a program when autoscaling triggers on aws elastic beanstalk. I have searched on google and it all points to the creation of .ebextensions to use a config file to install the program upon start…
AWSLearner
  • 155
  • 1
  • 1
  • 6
14
votes
2 answers

deploy directly from Bitbucket to AWS Elastic Beanstalk

How do I deploy my latest bits (in this case a nodejs app) from Bitbucket to the AWS Elastic Beanstalk. I want to avoid doing a git aws.push from my local system since that pushes the entire repo which can be painfully slow in low bandwidth…