I have a ReactJS frontend and an NestJS backend. I deployed the frontend on AWS Amplify without any problems. Are there any ways to deploy the NestJS backend to AWS Amplify? If so, what configuration of the amplify.yml file is needed?
Related
I have made a web Application using React as Front End and Nodejs as the backend service.
I am trying to host the App on AWS using AWS amplify for Front End and connecting the API service with my already created Nodejs API service.
Is there a way to configure the AWS Amplify with an already existing Nodejs application.
I'm assuming you already have the nodejs apis deployed somewhere and you are already accessing it in react. If that's the case then you may not need to change anything in react and just add amplify hosting. It should continue to use same api without any issue.
https://docs.aws.amazon.com/amplify/latest/userguide/getting-started.html
I have built a simple application, with backend and frontend separated.
I don't know how to deploy the backend to Heroku.
I am new to AWS. I have my node/express.js backend hosted on the Elastic beanstalk and it's working as per expectation. The express.js APIs communicate with the AWS RDS MySql database and send response accordingly. I have integrated the APIs calls in the React frontend and it is working fine locally. Now I have deployed the React frontend on the amplify and React app is hosted there now. But the API calls to elastic beanstalk are failing on the Amplify with the response "TypeError: Failed to fetch". I have also analyzed the Elastic beanstalk logs but could not find anything there. I wanna know why API calls are working perfectly locally but not on the amplify?
I think the issue is that Elastic Beanstalk requires that the communnication protocol has to be the same for both sender and receiver. So, the solution is to use either HTTP or HTTPS for both Front-End and Back-End.
How to deploy Strapi node Js on AWS. Please Guide me.
How should I deploy strapi application on aws.
Confusion In services and costing with database.
How to deploy the strapi code on AWS and how am I going to publish it on AWS.
Can AWS S3 hold a node js app? Because I have a front-end serverless app, and don't know how to let it interact with lambda function
You can store a NodeJS codebase in S3 but it won't be executed since S3 is for the purpose of serving static content. If you want to have a NodeJS environment in AWS there are couple of options available.
EC2 instance with NodeJS
Using Elastic Beanstalk
Using AWS ECS (If you plan to dockerize the NodeJS app)
AWS Lambda (This you need to tailor your application to fit in)