| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
In this topic we will download a sample ASP.NET application, grant write access to the appropriate folders and files, and configure IIS to point to the new application on your Amazon EC2 instance.
To download the sample application
In the Amazon EC2 instance, create a folder for your sample application in your root directory called ImageGallery, c:\ImageGallery.
Add the website location for the BaseImageGallery application to trusted sites on your Amazon EC2 instance
In the Amazon EC2 instance, run Internet Explorer from the Start menu.
Click the gear icon in top right corner.
Click Internet Options.
Click the Security tab.
Click Trusted Sites and then click Sites.
Add https://s3.amazonaws.com and click Close.
Click the Advanced tab.
Scroll down to Security.
Un-check Do not save encrypted pages to disk and click OK.
Download the application.
Using Internet Explorer in your Amazon EC2 instance, type
https://s3.amazonaws.com/aws-sdk-samples/.NET/BaseImageGallery.zip in
your browser's address bar.
Note
This is a case-sensitive URL. This zip file is a .NET application; however we are not going to delve into the details of .NET. Instead we’ll “paste and modify” the application.
When the File Download dialog box appears, click Save As. Save the file to c:\ImageGallery.
Note
If you receive an error that Internet Explorer is unable to download the file, close the error dialog and try downloading the application again inside the same browser window.
Paste the contents of the ImageGallery folder (found inside the zip file) into this directory, so that individual files sit directly under C:\ImageGallery.
