I am new to AWS. I am trying to setup AWS Elastic Beanstalk. I am using cli.
I followed a youtube tutorial(https://www.youtube.com/watch?v=xhc1boyBkJw&t=317s). The problem is that at the end of tutorial I see "INFO: New application version was deployed to running EC2 instances.
INFO: Environment update completed successfully." success message in terminal. But when I open AWS console in web browser, I see 0 instances running and no beanstalk environment setup.
Related
I have created a custom image in AWS elastic beanstalk and configured IIS and Management Services as well. but when using the said custom image to deploy an application. the instance spins up and i can see the IIS welcome page but the deployment never completes and the environment stays in pending (grey) state forever. Any help on how i can resolve this is much appreciated.
I created Docker container with flash and gunicorn. I tested it locally successfully and pushed it without any problems to Docker hub. I also have AWS EB CLI installed so I tested it with eb local run. Everything worked fine.
I used the following link to deploy it on AWS Elastic BeanStalk. When I visit URL of the application, I am getting HTTP ERROR 504. I looked at log file and there are any error messages.
How can I further troubleshoot this issue?
Currently I have setup my yii2 website on AWS Elastic beanstalk. I followed following steps :
Created Elastic Beanstalk app and environment : Platform PHP 7.0, RDS database
Created SSH connection from EC2 instance of elastic beanstalk using putty with .pem file
In Apache folder I have cloned my yii2 git repo using (sudo git clone repo_url) command
Installed composer using this link https://gist.github.com/asugai/6694502
Run command : (sudo composer install) in my repo folder
Edited common/config/main-local.php and made db connection
And run migration using (sudo php yii migrate)
Setup a domain for this elastic beanstalk app
Now I don't know how should I proceed further and I am facing following problems :
Elastic Balance loader is creating new instance and terminating current one when it fails or health goes in severe.
Due this, my all data in that instance is lost. To make it work I am doing all steps again and again manually.
How can I make my domain https (SSL certified)
How can make easy process to pull new changes from git
I already have a working site in nodeJS. which is using elastic beanstalk, elastic balance loader, RDS(postgres), S3 bucket, cloudfront for Route 53, SSL certificate (https), code pipeline, code commit. And AWSCLI at local to deploy nodeJS app.
my question is about I want to use same flow for yii2 advance app.
Can anyone please help me here?
Thanks in advance :)
I have used AWS Elastic Beanstalk to deploy a simple .Net Core app to a Windows INstance. However it is not working on AWS as it is working on my local machine. I am getting a 500 Internal Server Error but I cannot see the message/stack trace.
Trying to get the logs, I have followed this documentantion, I have logged into the EC2 instance but my application is not deployed to the inetpub\wwwroot and the logs on the C:\Program Files\Amazon\ElasticBeanstalk\logs\ are about the deploy.
How can I find out what is wrong with my application?
I initialized a EB application and created an environment and it worked but my application does not show up in the Web Console.