amazon-elastic-beanstalk

Can't deploy to AWS Elastic Beanstalk after timeout

半城伤御伤魂 提交于 2020-05-12 15:29:33
问题 I am newish to AWS Elastic Beanstalk and this is the first time I have encountered this issue. I tried deploying a new version via zip upload of my app to an instance and the updated completed with errors: "Completed but with Command Line Timeouts", I increased the timeout in the config file and redeployed, after which I got this message. During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy

Can't deploy to AWS Elastic Beanstalk after timeout

与世无争的帅哥 提交于 2020-05-12 15:29:03
问题 I am newish to AWS Elastic Beanstalk and this is the first time I have encountered this issue. I tried deploying a new version via zip upload of my app to an instance and the updated completed with errors: "Completed but with Command Line Timeouts", I increased the timeout in the config file and redeployed, after which I got this message. During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy

Can't deploy to AWS Elastic Beanstalk after timeout

▼魔方 西西 提交于 2020-05-12 15:27:08
问题 I am newish to AWS Elastic Beanstalk and this is the first time I have encountered this issue. I tried deploying a new version via zip upload of my app to an instance and the updated completed with errors: "Completed but with Command Line Timeouts", I increased the timeout in the config file and redeployed, after which I got this message. During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy

Installing Anaconda on Amazon Elastic Beanstalk

柔情痞子 提交于 2020-05-11 09:28:37
问题 I've added deploy commands to my Elastic Beanstalk deployment which download the Anaconda installer, and install it into /anaconda . Everything goes well, but I cannot seem to correctly modify the PATH of my instance to include /anaconda/bin as suggested by the Anaconda installation page. If I SSH into an instance and manually add it, everything works fine. But this is obviously not the correct approach, as machines will be added automatically by EB. So my question is: how can I use Anaconda

Is there a way to have multiple external IP addresses with Elastic Beanstalk?

亡梦爱人 提交于 2020-04-18 07:35:08
问题 I'm using Amazon Elastic Beanstalk with a VPC and I want to have multiple environments (workers) with different IP addresses. I don't need them to be static, I would actually prefer them to change regularly if possible. Is there a way to have multiple environments with dynamic external IP addresses? 回答1: It's hard to understand the use case of wanting to change the instance IP address of an Elastic Beanstalk environment. The fundamental advantage that a managed service like Elastic Beanstalk

Use Godaddy Domain name Instead of Default Elastic BeanStalk URL

寵の児 提交于 2020-04-18 03:51:08
问题 I have a domain name bought on Godaddy. The site is hosted on Squarespace, so I don't want to forward requests from https://example.com to a site on Elastic Bean Stalk. I have an API hosted on EB and the Squarespace site makes requests to that API. What I need to do is change the default EB URL https://dataservice-env.example.us-east-2.elasticbeanstalk.com to https://example.com/api I'm pretty much a DNS noob here. I've found articles to forward godaddy domains to EB, but thats not what I

Getting error while deploy django apps in aws elastic beanstalk

喜夏-厌秋 提交于 2020-04-11 12:14:03
问题 [Instance: i-*****************] Command failed on instance. Return code: 1 Output: (TRUNCATED)...) File "/usr/lib64/python2.7/subprocess.py", line 541, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '/opt/python/run/venv/bin/pip install -r /opt/python/ondeck/app/requirements.txt' returned non-zero exit status 1. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/03deploy.py failed. For more detail, check /var/log/eb-activity.log using console or EB CLI. i'm

Getting error while deploy django apps in aws elastic beanstalk

风流意气都作罢 提交于 2020-04-11 12:13:08
问题 [Instance: i-*****************] Command failed on instance. Return code: 1 Output: (TRUNCATED)...) File "/usr/lib64/python2.7/subprocess.py", line 541, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '/opt/python/run/venv/bin/pip install -r /opt/python/ondeck/app/requirements.txt' returned non-zero exit status 1. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/03deploy.py failed. For more detail, check /var/log/eb-activity.log using console or EB CLI. i'm

CodePipeline deployment to Beanstalk fails despite IAM properly set up

六月ゝ 毕业季﹏ 提交于 2020-03-24 03:32:23
问题 Context This was a CodeStar project initially, and then it grew into something bigger. We reused the Beanstalk application to create the stage and prod environments and kept the initially-created dev environment as-is. We updated the CodePipeline to deploy to our new environments using "Elastic Beanstalk" as the Provider. (While CodeStar had setup a deployment using CloudFormation for the environment it automatically provisioned in the Beanstalk application.) The problem The deployment fails

how to manage aws elastic beanstalk db password in a secure way

岁酱吖の 提交于 2020-02-29 05:49:46
问题 we have a db instance outside our eb env, and password is stored in a properties file which will be zipped along with jar and got uploaded and deployed. this is not very secure as the password is literally carried around. (compare to old way of deployment where password is store on the server gets pulled out with other connection info through JNDI). is there any better way to manage db password in a more secured way? 回答1: Consider using AWS Parameter Store to manage application secrets like