amazon-elastic-beanstalk

How to configure VPC for Elastic Beanstalk using CLI

扶醉桌前 提交于 2020-08-08 05:39:20
问题 I am able to create an Elastic Beanstalk environment with a VPC using this command with eb-cli : eb create --vpc This asks me to configure several options: Enter an RDS DB username (default is "ebroot"): ... Enter an RDS DB master password: ... Retype password to confirm: ... Enter the VPC ID: ... Do you want to associate a public IP address? (Y/n): ... Enter a comma-separated list of Amazon EC2 subnets: ... Enter a comma-separated list of Amazon ELB subnets: ... Do you want the load balancer

node_modules directory not created when using npm install during AWS CodeBuild

与世无争的帅哥 提交于 2020-08-07 17:38:43
问题 After the CodeBuild is complete and I ssh into my environment, I can see that the server app's dependencies are installed and found in its node_modules. However in the client directory, there is no node_modules nor build directory. In the build logs, npm install --prefix client --production appears to run fine. My question is almost exactly like this one, except it is both the node_modules and the build folder. Is there a problem with the buildspec file? Here it is ( EDIT 4 : updated) version

AWS BeanstalkL ERROR: InvalidParameterValueError - No Application Version named?

本秂侑毒 提交于 2020-08-07 05:13:42
问题 I am trying to deploy a scalable wordpress site via Amazon beanstalk but I am getting an issue when I try to deploy. I had originally made one environment but terminated and made a new one, now I am having deployment issues whereas before things deployed but my public IP was not working. Below is what I get when I run the eb --debug command. C:\Projects\SwagBox\wordpress>eb --debug 2018-06-23 06:06:54,671 (DEBUG) cement.core.foundation : laying cement for the 'eb' application 2018-06-23 06:06

How to deal with large WAR files in AWS?

China☆狼群 提交于 2020-08-07 05:10:45
问题 What I have done ? Developed a Web app using JSP which allows user to register , login and upload file to AWS S3. I am deploying this app to aws using Elastic Beanstalk by uploading war file of app. For login and register modules I have used RDS and it is working fine. Problem When I want to upload files to S3 , I need to use AWS SDK jar and its supporting JAR files in WEB app. When I finished with development part and exported war file , it was around 75 MB. So problem is that if I change

How to deal with large WAR files in AWS?

我与影子孤独终老i 提交于 2020-08-07 05:10:11
问题 What I have done ? Developed a Web app using JSP which allows user to register , login and upload file to AWS S3. I am deploying this app to aws using Elastic Beanstalk by uploading war file of app. For login and register modules I have used RDS and it is working fine. Problem When I want to upload files to S3 , I need to use AWS SDK jar and its supporting JAR files in WEB app. When I finished with development part and exported war file , it was around 75 MB. So problem is that if I change

How can I create a VPC for EBS and RDS?

旧巷老猫 提交于 2020-07-30 10:47:15
问题 I made a Django app and deployed it on Elastic Beanstalk . I made a Postgres DB with RDS as well. I want to add both of these to a VPC . I created the VPC using the VPC wizard (VPC with Public and Private Subnets): which created, as the name suggests, one public and one private VPC . I was told here that I need to add a second private subnet for RDS. Now I have: 1 public subnet (10.0.0.0/24) 2 private subnets (10.0.1.0/24 and 10.0.10.0/24) I also know that from here that I needed to "modify

ASP.NET Core app deploy to AWS Beanstalk using GitHub Actions

本秂侑毒 提交于 2020-07-23 06:50:11
问题 I am trying to build a CD pipeline using the GitHub Actions and AWS Beanstalk (Linux) for my ASP.NET Core 3.1 app. I have configured the YML file as follows: - name: dotnet Build run: dotnet build src/SLNNAME.sln -c Release --no-restore - name: dotnet Publish run: | dotnet publish src/SLNNAME.Server/SLNAME.Server.Web/SLNNAME.Server.Web.csproj -c Release -o staging_SLNNAME_server -r linux-x64 - name: Build deployment package run: zip -r staging-server-deploy.zip staging_SLNNAME_server .. -

ASP.NET Core app deploy to AWS Beanstalk using GitHub Actions

旧时模样 提交于 2020-07-23 06:49:13
问题 I am trying to build a CD pipeline using the GitHub Actions and AWS Beanstalk (Linux) for my ASP.NET Core 3.1 app. I have configured the YML file as follows: - name: dotnet Build run: dotnet build src/SLNNAME.sln -c Release --no-restore - name: dotnet Publish run: | dotnet publish src/SLNNAME.Server/SLNAME.Server.Web/SLNNAME.Server.Web.csproj -c Release -o staging_SLNNAME_server -r linux-x64 - name: Build deployment package run: zip -r staging-server-deploy.zip staging_SLNNAME_server .. -

ASP.NET Core app deploy to AWS Beanstalk using GitHub Actions

依然范特西╮ 提交于 2020-07-23 06:48:30
问题 I am trying to build a CD pipeline using the GitHub Actions and AWS Beanstalk (Linux) for my ASP.NET Core 3.1 app. I have configured the YML file as follows: - name: dotnet Build run: dotnet build src/SLNNAME.sln -c Release --no-restore - name: dotnet Publish run: | dotnet publish src/SLNNAME.Server/SLNAME.Server.Web/SLNNAME.Server.Web.csproj -c Release -o staging_SLNNAME_server -r linux-x64 - name: Build deployment package run: zip -r staging-server-deploy.zip staging_SLNNAME_server .. -

Laravel on ElasticBeanstalk 'log file permission denied' error keeps coming up even the permission is set in the .ebextensions config file

心不动则不痛 提交于 2020-07-23 04:55:23
问题 I am deploying my Laravel application to the ElasticBeanstalk environment. But I am having issue with laravel.log file permissions. I deployed my application using "eb deploy" command. After I deployed, I access my application. But it is throwing the following error. The stream or file "/var/app/current/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied To solve the issue, I ssh into the server and run the following command. sudo -u root chmod 777 -R /var