On the View menu, choose Solution Explorer.. Expand Solution ‘BeanstalkDotNetSample’ (2 projects).. Open the context (right-click) menu for MVC5App, and then choose Publish to AWS.. On the Publish to AWS Elastic Beanstalk page, for Deployment Target, choose the environment that you just created, and then choose Next.
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.quickstart.html

