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

Can I update Amazon's old versions of pip and setuptools?

Can I update or remove the pip and setuptools provided with AWS Elastic Beanstalk? The versions of pip and setuptools provided with my AWS Elastic Beanstalk Python environments (in the 2.7 virtual environment running my application, ami-d14608e1; in…
orome
  • 45,163
  • 57
  • 202
  • 418
16
votes
8 answers

Customizing Nginx Configuration in AWS Elastic Beanstalk

I'm running a rails application on Ruby 2.0/Puma instances and am trying to customize the nginx configuration. I need to increase the permitted request size to allow file uploads. I've found some other posts that have lead me to add this to my…
16
votes
3 answers

How do I customize nginx on AWS elastic beanstalk to loadbalance Meteor?

I am running Meteor on AWS Elastic Beanstalk. Everything is up and running except that it's not running Websockets with the following error: WebSocket connection to 'ws://MYDOMAIN/sockjs/834/sxx0k7vn/websocket' failed: Error during WebSocket …
16
votes
5 answers

Permission denied while elastic beanstalk is retrieving S3 file

I have files stored on S3 and wrote .ebextensions config to automatically copy the them to new instances. I'm receiving this error in the Elastic Beanstalk console: [Instance: INSTANCEID Module: AWSEBAutoScalingGroup ConfigSet: null] Command failed…
16
votes
1 answer

elastic beanstalk weird nginx configuration

I am trying to follow the configuration of nginx on elastic beanstalk and some things do not add up. The instance is opening port 80 in the security groups, so I assume all incoming traffic is coming through that port The nginx configuration in cat…
Dmitry Fink
  • 1,032
  • 1
  • 13
  • 31
16
votes
2 answers

Virtualization type 'hvm' is required for instances of type 't2.micro'

Seems selecting t2.micro for an ElasticBeanstalk instance throws Beanstalk into an infinite loop. Been an hour since creating the Beanstalk instance, 20min since the last event update in the Beanstalk management console. Does anyone know how to…
Tim Fulmer
  • 14,970
  • 7
  • 28
  • 34
16
votes
5 answers

aws beanstalk 403 error while deploying

Hi I'm using amazon web services elastic beanstalk. Everytime I use git aws.push, my php application uploads successfully However, when I click on the url it says Forbidden You don't have permission to access / on this server. My server…
16
votes
3 answers

How do I perform Laravel Artisan migrations on AWS Elastic Beanstalk?

I have a Laravel installation and have set up three environments with their own corresponding config directories: local staging production I use php artisan migrate:make create_users_table etc as described here to create database migrations. In my…
16
votes
10 answers

AWS Elastic Beanstalk: Running Cron.d script, missing Environment Variables

I'm trying to run a PHP script that is triggered by a cron script (in cron.d). The script is triggered properly but it is missing the Elastic Beanstalk "Environment Variables" that are stored in the $_SERVER superglobal. The script is being run as…
four43
  • 1,675
  • 2
  • 20
  • 33
16
votes
9 answers

Static assets don't show up for flask on elastic beanstalk

How do you get aws elastic beanstalk to recognize your static assets in your flask app? I did the standard /.ebextensions/python.config couple of YAML lines a la: option_settings: "aws:elasticbeanstalk:container:python:staticfiles": …
16
votes
2 answers

Python on the AWS Beanstalk. How to snapshot custom logs?

I'm developing python application which works on aws beanstalk environment. For error handling and debugging proposes I write logs to custom lof file on the directory /var/logs/. What should I do in order to have ability snapshot logs from Elastic…
Vadym Fedorov
  • 2,395
  • 2
  • 21
  • 31
16
votes
6 answers

Deploying Symfony2 Application to AWS Elastic Beanstalk - Post Deployment Cache Clearing

When deploying a Symfony2 app to Elastic Beanstalk I need to perform a manual cache clear in order for the app to begin functioning. So, I added a container command to clear the prod cache during deployment. The command runs, but I still had to…
16
votes
2 answers

How do I supply configuration to elastic beanstalk tomcat

when deploying locally to tomcat, I make this change (below) to server.xml, is there a way I can supply this to Elastic Beanstalk?
MikeW
  • 4,749
  • 9
  • 42
  • 83
16
votes
8 answers

How to set up Loggly on Elastic Beanstalk?

I'd like to set up Loggly to run on AWS Elastic Beanstalk, but can't find any information on how to do this. Is there any guide anywhere, or some general guidance on how to start?
Ken Liu
  • 22,503
  • 19
  • 75
  • 98
15
votes
6 answers

Access Control in Elastic - missing authentication credentials for REST request

I am using Elastic 7.9.2 version and wanted to use security. so I ran : bin/elasticsearch-certutil cert -out config/elastic-certificates.p12 -pass "" and then added xpack.security.enabled: true xpack.security.transport.ssl.enabled:…