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
4
votes
2 answers

AWS Elastic Beanstalk - changing owner of webapp folder

I've successfully created an application using AWS Elastic Beanstalk and have uploaded the app using Git. All that's left for me to do is create my settings.php file and everything should work. However when I connect via SSH as the user ec2-user…
Paul
  • 661
  • 4
  • 12
  • 22
4
votes
1 answer

Upload Java Elastic Beanstalk app through the command line

Is it possible to upload a Java Elastic Beanstalk application through the command line tools for EB? I know that I can upload my application to EB via the web console (uploading the WAR file) or by using AWS's instructions for Eclipse. However, I…
ecbrodie
  • 11,246
  • 21
  • 71
  • 120
4
votes
3 answers

Using environment properties with files in elastic beanstalk config files

Working with Elastic Beanstalk .config files is kinda... interesting. I'm trying to use environment properties with the files: configuration option in an Elastc Beanstalk .config file. What I'd like to do is something like: files: …
4
votes
2 answers

Reducing log rotation frequency for AWS EC2

I have a java app running on elastic beanstalk, with the log rotation to S3 set up and working fine. However, I find that my catalina.out log file only exists for up to 15 minutes before rolling to a new file, which makes debugging problems on the…
4
votes
1 answer

Git pushes entire project even if few files are changed. AWS

I am using Git to push our application to AWS though Elastic Beanstalk. AWS has created the means to do this, although from my understanding it is not exactly a traditional repository. So, for example, I can't pull from my Beanstalk project. I am…
TimSum
  • 738
  • 2
  • 8
  • 21
4
votes
1 answer

Specifying Security Group for EB Load Balancer

I spent quite some time finding out that I need to modify the Security Group if I want to enable HTTPS on Elastic Beanstalk. I mean on the frontend, not on the EC2 instance. This is nowhere mentioned in Amazon's documentation. They have this nice…
Klemens Zleptnig
  • 1,698
  • 20
  • 36
4
votes
1 answer

amazon beanstalk ec2 instance current git sha

How can I get current git sha of the commit that was git aws.push ? My container_commands need to download a file on a server that has that head git sha as the file name so I need a way to determine it. I've been browsing around…
user391986
  • 29,536
  • 39
  • 126
  • 205
4
votes
1 answer

How to apply a ruby version patch in elastic-beanstalk

We are running our application on Amazon Elastic Beanstalk and want to update the version of ruby we are using to the latest patch version and can't figure out what the best way to do so is. I think we might be able to using the container_commands…
jeffsaracco
  • 1,259
  • 12
  • 21
4
votes
3 answers

Updating nodejs in Elastic Beanstalk

I've been trying to deploy a meteor project (leaderboard example) to Amazons Elastic Beanstalk. I used the ebconfiguration script found at https://gist.github.com/fightingtheboss/5432059 and edited the ROOT_URL and NodeVersion as well as having…
user3058175
  • 49
  • 1
  • 2
4
votes
1 answer

Amazon ElasticBeanstalk: configure environment variable with newlines

I want to add environment variable with newlines to my application using ElasticBeanstalk such as RSA private key. I have the following form for this purpose: and AWS CLI as well.
Sergey Alekseev
  • 11,910
  • 11
  • 38
  • 53
4
votes
2 answers

How to monitor console output (stdout) in an Elastic Beanstalk app?

I have successfully deployed a Node.js application to AWS Elastic Beanstalk. This application is not a web app, so there is no web page or web server to interact with. It runs continuously in a loop and provide feedback through standard…
extrabacon
  • 1,220
  • 1
  • 12
  • 14
4
votes
1 answer

How to add nginx cache-control headers via an ebextensions config file?

First, I'm quite confused. I've ssh'ed to our elastic beanstalk instance to peruse where nginx is located etc, and it appears I can't find it. Clearly, executing a curl command yields headers like: Content-Encoding: gzip Content-Type:…
kross
  • 3,627
  • 2
  • 32
  • 60
4
votes
1 answer

Deploying a .NET worker app with Elastic Beanstalk

I am working on a wider web application using AWS infrastructure. It has two 'worker' components which read work from SQS and write the results to an RDS database. One of these is Python and I already have this working on a single Elastic Beanstalk…
winwaed
  • 7,645
  • 6
  • 36
  • 81
4
votes
2 answers

.htaccess redirect loop when trying to add forced HTTPS rule (Amazon Elastic Beanstalk)

I started receiving this error after trying to incorporate a rule to force HTTPS in the production environment. The BWC_ENV environment variable can have a handful of different values: "prod", "stage", "ben_local", "nam_local", etc. Here's my…
Ben Y
  • 1,711
  • 1
  • 25
  • 37
4
votes
2 answers

how to deploy a yeoman build to aws node.js

I'm new to yeoman and are trying to get a basic yeoman generated angularjs site deployed to elastic beanstalk. At the moment when I deploy I receive a 502: Bad Gateway. I am able to deploy a simple nodejs app to aws with something like server.js var…
MikeW
  • 4,749
  • 9
  • 42
  • 83