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
3
votes
0 answers

Dockerfile vs Dockerrun.aws.json on AWS Elastic Beanstalk

Can anyone explain use cases for using either or both of these in an EB project? I understand from the docs that using one makes the other optional, but I'm not exactly clear on pros vs cons. Any good scenarios for using both? For my EB app, I'm…
3
votes
1 answer

Elastic Beanstalk - how to run specific ebextensions according the the environment and Sidekiq Worker

I'll be running a Rails application on Elastic Beanstalk and I'll have both Web and Sidekiq Worker environments. The problem is that, since they both share the same code, I need to run some specific ebextensions on the worker environment (to…
Berlin
  • 1,330
  • 18
  • 33
3
votes
0 answers

Clear Cache on Elastic Beanstalk using EB CLI

So I have the same issue as this question. I have a web app deployed on Amazon's Elastic Beanstalk it was ok at first but when I uploaded a new version the authentication is now not working. I came across this question and I checked everything…
CENT1PEDE
  • 6,762
  • 8
  • 60
  • 110
3
votes
1 answer

Clone an aws environment so that it shares the same RDS database

I have an Elastic Beanstalk environment called 'blue' that is my live production environment. I want to clone this environment to create a new environment called 'green' that I will use for development. How can I clone 'blue' so that the clone uses…
Bill Noble
  • 5,478
  • 14
  • 62
  • 118
3
votes
1 answer

ElasticBeanstalk and the .ebignore file

I'm trying to prevent my static files from being included in the source bundle uploaded with elasticbeanstalk. I'm not sure where exactly my .ebignore file belongs. Main_Direction /.ebextension /.elasticbeanstalk /Actual_Project //.... I put…
3
votes
1 answer

Nginx fail on Docker deployment to Amazon

I am trying to deploy .net asp web api application in Docker container to Amazon via elasticbeanstalk, but here is what I got: ERROR: Failed to start nginx, abort deployment ERROR: [Instance: i-ecf0d365] Command failed on instance. Return code: 1…
Fishman
  • 1,387
  • 1
  • 19
  • 37
3
votes
0 answers

Configuring Elastic Beanstalk to create an RDS database using .ebextensions file instead of AWS Management Console

Using the AWS Management Console UI, I can easily configure Elastic Beanstalk to create an RDS database when creating an environment. I want to automate this process using Boto. It is apparently impossible to create and attach the RDS instance just…
3
votes
1 answer

How can I update a python Flask app on elastic beanstalk?

This is my first python-Flask app on AWS. It has caused headaches. The procedure that I have followed is: mkdir myapp && cd myapp virtualenv venv source venv/bin/activate pip install Flask SQLAlchemy twilio psycopg2 pip freeze >…
3
votes
1 answer

How to install composer dependencies on Elastic Beanstalk Multicontainer Docker Environment

I have a PHP application that runs on Docker (php:5.6-apache image). I use AWS Elastic Beanstalk Multicontainer Docker Environment to deploy the app to the cloud (using Dockerrun.aws.json v2). My problem is that I can't find a good workflow to…
3
votes
1 answer

Rails app migrating to AWS Elastic Beanstalk :: Bad Gateway (502)

So I'm migrating from Heroku to AWS Elastic Beanstalk and testing out the waters. I'm following this documentation: AWS Docs :: Deploy Rails app to AWS However after following the documentation I keep receiving a Bad Gateway 502 (error). Here's the…
3
votes
1 answer

Elastic Beanstalk Deployment with MongoDB

Would really appreciate some suggestions for resources on how to properly deploy with Elastic Beanstalk with the following stack: MongoDB Rails (Puma) Sidekiq/Redis Elasticsearch Do I need to get all these things setup in ebextension files? Or is…
3
votes
2 answers

configuration files in version control while deploying

I have a particular problem with config files and deployment. When I deploy my project, it eventually moves to two different branches: staging and production (using SVN here) I make the branch from my local working copy of the project. What this…
tipu
  • 8,864
  • 11
  • 59
  • 96
3
votes
1 answer

Connecting to RDS Instance from Elastic Beanstalk

This has been killing me all day. I've set up Elastic Beanstalk, working fine. Set up RDS, working fine and can access from my laptop. But when i try to connect to the RDS from my ES application i get a timeout error. Extra info is that i'm using a…
3
votes
2 answers

Run Rails rake task in Elastic Beanstalk environment

Does anyone know the easiest way to run a rake task for a Rails app on an Elastic Beanstalk environment? I have some data that I want to reset every once in a while (timeline TBD). I've seen other posts talking about creating a cron task, but I…
3
votes
1 answer

How is an elastic beanstalk instance associated with route 53

I have taken over an AWS Elastic Beanstalk setup that uses Route 53. I have added a new EB instance and want to point the Route 53 settings to it rather than the instance it is currently pointing to. My problem is I do not understand what settings…
Bill Noble
  • 5,478
  • 14
  • 62
  • 118
1 2 3
99
100