Publishing the project

Deploy the project. When it finished, go to the location where the ZIP file was created and extract it.

Extracting the deployment ZIP file

Open the salesdemo_cloud_API folder, select all the contents and add them to a ZIP file. This is to make sure the Web API files are not inside a folder in the ZIP file.

Go to your Elastic Beanstalk environment and click the Upload and deploy button.

Upload and deploy

Select the ZIP file you just created and then Deploy.

Selecting file to deploy

Wait a few minutes for the file to upload and the environment to update to the new application. You should wait for the environment status to go from Grey to Green.

Environment health is grey

Environment health is green

If you follow the Domain URL you might see the original sample application. This is due to the browser caching the page. Some browsers allow you to bypass the cache and reload the URL by pressing Ctrl-R.

You should now see the Web API’s welcome screen.

Web API’s welcome screen