Reputation: 7121
I have created an enviroment in Amazon using this link:
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.quickstart.html
I did Step 1 (Create the Environment). When I tried to find: "Publish to AWS" in visual studio (Step 2), I didn't find it.
So I thought to upload and deploy using Amazon (By Creating a zip file to my application).
I created a zip file to the the folders: App_Data, App_Starts, bin, Controllers, etc. all of the folders and files are found in one zip file.
This file was uploaded using: "Upload and Deploy":
When it finished (without errors), I entered the link to my environment: XXX-env.elasticbeanstalk.com
In localhost, I have the main controller with view: /home
, So I tried:
XXX-env.elasticbeanstalk.com/home
But I got: 404 - File or directory not found.
How Can I see my application in my amazon link?
Any help appreciated!
Upvotes: 0
Views: 53
Reputation: 36103
Issue 1
I did Step 1 (Create the Environment). When I tried to find: "Publish to AWS" in visual studio (Step 2), I didn't find it.
You need to have the AWS Toolkit for Visual Studio installed:
https://aws.amazon.com/visualstudio/
Issue 2
I created a zip file to the the folders: App_Data, App_Starts, bin, Controllers, etc. all of the folders and files are found in one zip file.
Simply creating a ZIP file of your project and assets won't work.
To properly deploy your application using the "Upload and Deploy" method, you should use the "Publish" function within Visual Studio.
Upvotes: 2