I’m wondering what the best approach is to run a application on multiple Linux servers. Using EC2 AWS linux on different zones. The web application is the same on each zone, using a different database for each application which is defined in a single config file. At the moment when I update the application I have to manually update every
Tag: amazon-web-services
How to redirect from one ec2 instance to another ec2 instance if first ec2 instance is down?
Hope you are doing well. I have created website in Laravel framework and deployed on AWS EC2 server. If Ec2 instance is down sometimes how I redirect user to another ec2 instance created for different region how to achieve this using aws service ? I have one more question what are aws security service I can use for my website
How can I not run this command ‘sudo amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2’?
I am following this tutorial: https://aws.amazon.com/getting-started/hands-on/deploy-wordpress-with-amazon-rds/?refid=dd707452-50b0-4e41-9f2b-d84c7ca273d4 in an attempt to create my own wordpress server on ec2 / rds of AWS. However, I DO NOT want to run this line because wordpress does not like php7.2. This is my second time through, and the first thing I found was that I needed to upgrade php, which does not seem possible
Do I really need to be Installing AWS Common Runtime for PHP to work with the AWS PHP SDK
I’m using the AWS SKP for PHP in a Laravel app. When I try to create a client (for EventBridge in my case) I am getting the following error: The error includes a link with information on installing it, however, I have kind of a hard time believing that Jeff Bazos has abused his developers so horribly they have decided
Login into aws connect using awssdk for php
I need to auto login into Amazon connect instance using PHP awssdk . The AWS sdk is included in the project and is being used to connect to S3 buckets for storing and retrieving the files. But my requirement is to login the user as an agent into Amazon connect when he logs into the web app. The user has
Laravel can’t connect to AWS S3
I have set up an S3 bucket and created an IAM user with full S3 access permission, and ran composer require league/flysystem-aws-s3-v3. I have also have configured the following in .env: The problem is that I can’t interact with S3 at all from my controller. I’ve tried sending files to S3: I have also manually uploaded an image to S3,
Getting null for lambda asyncinvoke function in php
I am trying to call an async lamda function inside of my Php file. But here i am getting null as output.I am not sure about the structure of my below code for calling a async lamda function. Answer
AWS does not load PHP webpage wherever I try to connect to database
I’m new to AWS and I’ve tried deploying my web application but keep getting 504 Gate-way Timeout. However, after a bit of debugging and redeploying, I noticed that this was being caused by the PHP segment of my index.php file: In particular when I removed everything before the session_start(); line, the webpage was able to load, although it was with
Laravel and AWS SQS, How to read job payload / retrieve queue?
I struggling from last 3 days about how I can read queued job payload in Laravel. What I’ve achieved till yet. Dispatch a job and see that it is available on AWS SQS queue. After that I’ve executed listener and worker for AWS to process queued jobs and I see that it is working fine as well. Right now I
How can i deploy a php script with a python backend [closed]
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 7 months ago. Improve this question I am new to aws and I want to deploy a php script to ec2 which executes a python file