How does Elastic Beanstalk in AWS work?
Before using Amazon elastic beanstalk service, you have to create a local application of any platform. It can be Python, PHP, Node.js, etc. After that you have to create an application in Elastic Beanstalk with an environment where you can upload your local application. Then you deploy it and use the URL provided for it to launch it.
There are no costs applied for Elastic Beanstalk in AWS separately, you only pay for the only resources you use to run your application like for storage you use Amazon S3. Also, the cost is not fixed, it can vary with the number of EC2 instances, size of the S3 bucket, and the configuration of the database instances.