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

7895 questions
45
votes
3 answers

How do you run a worker with AWS Elastic Beanstalk?

I am launching a django application on aws elastic beanstalk. I'd like to run background task or worker in order order to run celery. I can not find if it is possible or not. If yes how could it be achieved? Here is what I am doing right now, but…
44
votes
12 answers

Can you run a rails console or rake command in the elastic beanstalk environment?

I have set up a RoR environement on AWS' elastic beanstalk. I am able to ssh into my EC2 instance. My home directory is /home/ec2-user, which is effectively empty. If I move up a directory, there is also a /home/webapp directory that i do not have…
43
votes
3 answers

YAML How many spaces per indent?

Is there any difference if i use one space, two or four spaces per indent level in YAML? Are there any specific rules for space numbers per Structure type?? For example 4 spaces for nesting maps , 1 space per list item etc?? I am writing a yaml…
Anestis Kivranoglou
  • 6,398
  • 4
  • 38
  • 42
43
votes
5 answers

No solution stacks listed in elastic beanstalk configuration

When setting my configuration for Elastic Beanstalk I am not given any options for the solution stack. Here are the lines in question: `Select a solution stack. Available solution stacks are: Select (1 to 0):` Here is the entire…
reeper150
  • 431
  • 4
  • 3
43
votes
5 answers

Elastic IP on application deployed using Elastic Beanstalk

I'm a bit confused about the use of the Elastic IP service offered by Amazazon Web Services. I guess the main idea is that I can switch to a new version of the web application with no downtime following this simple procedure: Deploy the new version…
satoshi
  • 3,713
  • 6
  • 44
  • 56
42
votes
9 answers

Why every time Elastic Beanstalk issues a command to its instance it always timed out?

I have a PHP application deployed to Amazon Elastic Beanstalk. But I notice a problem that every time I push my code changes via git aws.push to the Elastic Beanstalk, the application deployed didn't picked up the changes. I checked the events log…
ardfard
  • 423
  • 1
  • 4
  • 5
42
votes
5 answers

Elastic Beanstalk Ruby/Rails need to install git so bundle install works.. but is not

I'm having an issue deploying our rails app.. I created a hook like the example on the AWS blog howto http://ruby.awsblog.com/post/Tx2AK2MFX0QHRIO/Deploying-Ruby-Applications-to-AWS-Elastic-Beanstalk-with-Git like: packages: yum: git: [] even…
41
votes
9 answers

AWS Elastic Beanstalk environment variables in ASP.NET Core 1.0

How do I get environment variables from elastic beanstalk into an asp.net core mvc application? I have added a .ebextensions folder with app.config file in it with the following: option_settings: - option_name: HelloWorld value: placeholder -…
41
votes
5 answers

Amazon Elastic Beanstalk node and npm non-standard install locations

Amazon Beanstalk installs node and npm into really obscure places - and I'm not sure they won't change if EB decides to use a newer version of node, which would cause my application to break. These are the locations for node and…
dubeegee
  • 771
  • 1
  • 6
  • 14
41
votes
12 answers

Is there a CLI to tail logs from AWS Elastic Beanstalk

Is there a CLI utility for tailing logs from Elastic Beanstalk applications. Specifically a python flask application. You can use their eb CLI to get a snap shot ... eb logs But I would like to do (similar to what heroku offers)... eb logs…
Jonathan
  • 14,900
  • 11
  • 59
  • 96
41
votes
8 answers

AWS Load Balancer with a static IP address

I have a set-up running on Amazon cloud with a couple of EC2 Instances running through a load balancer. It is important that the site has a unique(static) IP or set of IPs as I'm plugging in 3rd party APIs which only accept requests made from IPs…
40
votes
4 answers

Docker cache gradle dependencies

I'm trying to deploy our java web application to aws elastic beanstalk using docker, the idea is to be able to run the container locally for development and testing and eventually push it up to production using git. I've created a base image that…
martin treurnicht
  • 1,103
  • 1
  • 7
  • 17
38
votes
2 answers

AWS Docker deployment

I have a custom docker image uploaded to ECS. I opened up the permissions to try and get through this issue (I will lock it down again once I can get this to work). I am attempting to deploy the docker image to elastic beanstalk. I have a docker…
37
votes
4 answers

Is it possible (or efficient) to run a complete backend with AWS Lambda (vs say, Elastic Beanstalk)

I'm relatively new to the server world, so forgive me if some of this is basic (and the first bit of text will be me explaining my logic to make sure that's not flawed). All my questions will be bolded, to make your help easier :). I've been…
Matt
  • 1,242
  • 12
  • 23
37
votes
5 answers

Referencing env variables from Elastic Beanstalk .ebextensions config files

Is it posssible to reference the PARAM1 / PARAM2 etc.. container environment properties from the .ebextensions config files. If so, how? I tried $PARAM1 but it seemed to be an empty value. I want to set the hostname on startup to contain DEV, QA or…
Kevin
  • 11,181
  • 22
  • 78
  • 97