AWS + Docker
AWS Elastic Beanstalk
This is a platform within AWS that is used for deploying and scaling web applications. A platform as a service (PaaS) which takes your application code and deploys it while providing the supporting architecture and compute resources required.
Steps
- Create Application and give it a name
- Add Tags to easily identify it
- Choose the platform (docker in this case)
- Upload you code
Now opening the endpoint in a new browser tab will send a get request to the application and revel it with no data (products) in json format
We will then add data (products) to it by sending post requests using Postman + JSON objects
Refreshing the browser tab and sending another get request revels the added data (products) for a frontend application to consume.