Vue/Laravel: Hosting on AWS

Issue

This Content is from Stack Overflow. Question asked by Riza Khan

Learning AWS and looking for guidance on how to best put this app onto the web.

I have a fairly straightforward app:

  1. Frontend build in Vue
  2. Backend built in Laravel

In hindsight, I wish I’d just used Inertia within the Laravel app but alas.

Authentication is via JWT and users are stored within the backends connected database.

What I’ve already tried:

Attempt One

  1. Using Elastic Beanstalk for Laravel hosting
  2. Amplify for the frontend hosting

The issue I faced was EB uses http where as Amplify uses https so I couldn’t get the two parts to talk to each other.

I then tried to use Router53 to make the connection (by buying a domain) but couldn’t get the connection to work.

Attempt Two

I tried to put everything on an EC2 instance. Unfortunately, that was way too involved and my skillset isn’t yet strong enough to progress there. I don’t even know if it’s even possible.

Conclusion

Anyone can provide direction on how to best host this app? Its just a practice app and I’m just learning.

Thank you for your help!!



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?