Home > Blockchain >  What AWS services/architecture is used as I have Front-End, Back-End & Database Application?
What AWS services/architecture is used as I have Front-End, Back-End & Database Application?

Time:01-06

As I am new to AWS, so it will be really helpful for me if someone suggest me the correct strategy. I have requirement in which I have to deploy Back-End Application with Node.js and Front-End Application in React.js which call endpoint of Node.js.

And the database is PostgresSQL.

So, as per my understanding below AWS service to be used for Back-End & Database: -

1). Node.js - Back-End Application: - To be deploy over EC2 instance

2). PostgresSQL - Database: - To be deploy over RDS Service

But I am not sure which service to be use for Front-End -- React.js, so that it can call an endpoint of Back-End Application deploy on EC2 instance?

CodePudding user response:

You could also use EC2 for the front-end. With EC2 you get direct access to a server and you can configure it however you like.

But since a pure front-end application is just a bunch of HTML, Javascript and CSS files, you can also deploy it to Amazon S3 ( an optional CDN for better performance and less cost). You might want to check articles like this one.

Bonus: you might also want to check AWS Amplify for these purposes.

CodePudding user response:

ANother option you have is you can deploy your client to AWS Elastic Beanstalk. Elastic Beanstalk is a service for deploying and scaling web applications and services. Upload your code and Elastic Beanstalk automatically handles the deployment—from capacity provisioning, load balancing, and auto scaling to application health monitoring.This service hosts web apps.

For details, see https://aws.amazon.com/elasticbeanstalk.

  • Related