Vue/Laravel: Hosting on AWS

Viewed 8

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!!

0 Answers
Related