Elastic Beanstalk - You upload /deploy your code /app and Beanstalk take care of everything. like what infra would app need, etc. You need not have any knowledge about AWS cloud here .It automatically handles details on capacity provisioning, loadbalancing, scaling, app health monitoring
it auto comes to know what app it is PHP, Java, etc and corr infra it needs to provide based on it