amazon-elastic-beanstalk

Rails app doesn't run on AWS Elastic Beanstalk, sqlite3 error

最后都变了- 提交于 2020-01-06 04:24:05
问题 I have been trying to get started running Rails on AWS' Elastic Beanstalk, but I have run in to a seemingly insurmountable obstacle: While I am able to spin up a new Elastic Beanstalk running the sample application, I cannot seem to get an EB instance to successfully run my own code. Here are the steps I have taken: Locally running ruby 1.9.3p545 on OSX 10.9.3 Installed aws-eb client tools. Scrupulously followed the following tutorial from Amazon: Deploying a Rails Application to AWS Elastic

What is the difference between AWSCLI and AWSEBCLI?

旧时模样 提交于 2020-01-04 05:17:20
问题 What is the difference between "AWS Command Line Interface" and "AWS Elastic Beanstalk Command Line Interface"? Do I need both to deploy a Django project through AWS Elastic Beanstalk? Thank you! 回答1: You should start with the EBCLI and then involve the AWSCLI where the EBCLI falls short. The AWSCLI ( aws ) allows you to run commands from a bunch of different services, whereas, the EBCLI ( eb ) is specific to Elastic Beanstalk. The EBCLI makes a lot of tedious tasks easier because it is less

Elastic Beanstalk with python 3.4 still using python 2.7

风格不统一 提交于 2020-01-04 03:12:42
问题 I just spin up some environment using EB with python 3.4 and Django but it keeps failing, looks like the error occurs when installing using pip install -r requirements.txt this are the events from the web console: Time Type Details 2017-10-06 20:22:39 UTC-0600 WARN Environment health has transitioned from Pending to Degraded. Command failed on all instances. Initialization completed 69 seconds ago and took 14 minutes. 2017-10-06 20:22:20 UTC-0600 ERROR Create environment operation is complete

Deploying a C++ application in the cloud [closed]

泪湿孤枕 提交于 2020-01-04 02:48:29
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I am completely new to hosting applications in the cloud. I have a product that consists of 2 separate applications which communicate with each other via HTTP. One is written in (native, unmanaged) C++ (server side), the other is written in Java and includes a web/GUI front end. I

Nokogiri installation failes on Elastic Beanstalk

半世苍凉 提交于 2020-01-03 17:11:43
问题 Im trying to deploy my Rails application with AWS Elastic Beanstalk. I've created the instance and all but when I try to deploy the app using aws.push I get the following errors in the event log: 2014-09-22 01:23:40 UTC+0550 ERROR [Instance: i-744edb4a Module: AWSEBAutoScalingGroup ConfigSet: null] Command failed on instance. Return code: 1 Output: Error occurred during build: Command hooks failed . 2014-09-22 01:23:39 UTC+0550 ERROR Script /opt/elasticbeanstalk/hooks/appdeploy/pre/10_bundle

Nokogiri installation failes on Elastic Beanstalk

这一生的挚爱 提交于 2020-01-03 17:11:21
问题 Im trying to deploy my Rails application with AWS Elastic Beanstalk. I've created the instance and all but when I try to deploy the app using aws.push I get the following errors in the event log: 2014-09-22 01:23:40 UTC+0550 ERROR [Instance: i-744edb4a Module: AWSEBAutoScalingGroup ConfigSet: null] Command failed on instance. Return code: 1 Output: Error occurred during build: Command hooks failed . 2014-09-22 01:23:39 UTC+0550 ERROR Script /opt/elasticbeanstalk/hooks/appdeploy/pre/10_bundle

Can't set SSH in AWS EB CLI [closed]

╄→尐↘猪︶ㄣ 提交于 2020-01-03 15:19:43
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . When I try to set up SSH keys on Elastic Beanstalk CLI, I got this error instead: ERROR: SSH is not installed. You must install SSH before continuing. I don't usually get this error before. Maybe before, the SSH got installed automatically when I install other things, but I somehow missed it now. 回答1: I finally

Elastic Beanstalk run post deploy script

我们两清 提交于 2020-01-03 13:33:00
问题 My node.js app consists of two things, an express backend and a react frontend. I have two package.json files in this structure package.json /app/package.json What I want to do is run a script in my frontend folder, app, that builds my code. the script I want to run is npm install and npm run build How do I run this script after a deploy have happened? commands: 01_app_npm_install: command: npm install cwd: app/ 02_app_npm_build: command: npm run build cwd: app/ But it returns an error saying

Elastic Beanstalk run post deploy script

微笑、不失礼 提交于 2020-01-03 13:31:16
问题 My node.js app consists of two things, an express backend and a react frontend. I have two package.json files in this structure package.json /app/package.json What I want to do is run a script in my frontend folder, app, that builds my code. the script I want to run is npm install and npm run build How do I run this script after a deploy have happened? commands: 01_app_npm_install: command: npm install cwd: app/ 02_app_npm_build: command: npm run build cwd: app/ But it returns an error saying

Why are Docker build commands running so slow in Elastic Beanstalk?

喜欢而已 提交于 2020-01-03 10:21:47
问题 EB was complaining that my build was timing out, so I ssh'd into an instance and decided to run docker build myself to see what was happening. Every step, even something as simple as a mkdir takes ages to run. Even a WORKDIR stalls for at least a minute or two before executing. On my local machine these are instant. What is going on? 回答1: Same issue here with an Ubuntu machine running on AWS. Turns out the the key to the solution was switching from devicemapper to aufs storage backend. First,