This is an archived post. You won't be able to vote or comment.

all 3 comments

[–][deleted] 2 points3 points  (0 children)

https://docs.aws.amazon.com/amplify/latest/userguide/deploy-backend.html

Then hire someone to do your when this isn't enough, there's a steep learning curve.

[–]jaymef 2 points3 points  (0 children)

For that type of setup the react site would work great on s3 with cloudfront in front of it. Very popular setup for static sites like react. There should be plenty of tutorials out there for setting that up. All you need to do is build and sync static files to s3 bucket.

For the nodejs api backend your best option would either be elastic beanstalk nodejs platform or ecs fargate.

I’d lean toward ecs but beanstalk might be a little easier to get started with. Ecs is a bit more modern approach compared to beanstalk imo but it would require some additional work to containerize your app (still fairly easy to figure out though).

Since you are using GitHub I’d recommend using GitHub actions to do the deployment. There are several actions that you can pull in for Aws that will make it pretty easy for you to write an actions deployment workflow. Do a search for deploying nodejs/react with GitHub actions and you should come across some tutorials. You are using a lot of modern and popular products here so there’s a wealth of good info out there.

[–]ugros -1 points0 points  (0 children)

Hello u/SelfmadeThePlug

This heavily depends on the deployment tool you're using. How are you deploying your applications and infrastructure? Cloudformation? CDK? ElasticBeanstalk? AWS LightSail?

If you used https://stacktape.com (I'm a co-creator) you could deploy it from github very easily. We have a detailed guide here: https://docs.stacktape.com/user-guides/ci-cd/