Questions tagged amazon-elastic-beanstalk

Explore the latest questions and answers asked by our top developers.

Why do I get a SQLSTATE[HY000] [2002] Connection refused error when running an artisan command in my EC2 instance?

I have a Laravel web app set up on Elastic Beanstalk and it can connect to the RDS database just fine. I have the environment variables set up through the configuration setting in EB. When I ssh into the EC2 instance and run a custom artisan command that queries the database like "sudo php artisan […]

Redirect Error on Elastic Beanstalk with Application Load Balancer

I have a Laravel application running on Elastic Beanstalk. The app works fine with one EC2 instance running, but whenever EB scales and adds a second instance, the app redirects all requests back to the login page, and eventually fails with a ERR_TOO_MANY_REDIRECTS error. EB eventually scales back down to one instance, and everything works […]

How do I run a Laravel database queue on Elastic Beanstalk?

I am new to AWS EB but was able to set up a PHP 8.0 running on 64bit Amazon Linux 2/3.3.9 Laravel API. I have some jobs in a database queue that I’d like to run using php artisan queue:listen. I followed this Stack Exchange question yet when I push my code, the script doesn’t […]

Website database error on submitting form in domain

I deployed my Laravel web application on AWS EBS. The database works 100% in the environment. However, on my domain the database does not work. I see the pages but I cannot fill in forms and I get 419 error. The database is set to be publicly accessible. Could the problem be in the AWS […]

Laravel file upload size – Elastic Beanstalk Apache

My Laravel application is hosted on Elastic Beanstalk using an Apache server. My application gives an error upon uploading a file greater than 2mb. I would like to know the command I should add to the config file in the .ebextensions folder so that I can allow for larger uploads. Source: Laravel

hosting vue in amplify with elastic beanstalk

i have a vue js app in aws amplify, the backend is inside elastic beanstalk auto-scaling group behind a load balancer. is it a good architecture for a separate front-end app and Laravel backend? Source: Laravel

Provide environment variables to Laravel Queue Worker on Amazon Beanstalk

So I have this weird issue with mail notifications. I have deployment on Amazon Elastic Beanstalk, and I am using Amazon SQS as queueing service. For mail I am using Mailgun. Now the problem is when the mail notification is queued and processed it fails. And here is the interesting part, when I send an […]

Laravel with MongoDB in Elastic Beanstalk Composer Update Issue

I am trying to deploy Laravel application with MongoDB ext enabled for php in AWS Elastic Beanstalk. I have the following configurations in .ebextensions File: 01_install_mongo.config packages: rpm: php-pear: [] php-devel: [] gcc: [] files: "/etc/php.d/99mongo.ini": mode: "000755" owner: root group: root content: | extension=mongo.so commands: install_mongo_driver_command: command: sudo pecl install mongodb ignoreErrors: true I […]

Run Artisan command in controller method on AWS Beanstalk

I hosted my Laravel Application on AWS Beanstalk, I created a Postgres RDS and connect with to my application, the application can confirm that there is a connection to the database but, for some reasons, I cannot ssh to the database using Putty, to run my artisan commands, so I am not able to run […]

Laravel Elastic Beanstalk

I will deploy my Laravel application using AWS Elastic Beanstalk… I was wondering if I should change my APP_URL to my custom domain name? Or should I leave it unaltered? Or should it be set to the domain on Elastic Beanstalk (which I think is most likely). I have seen tutorials where the APP_URL was […]

1 2 3 10

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq