<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Adventures With .Net &#187; Amazon EC2</title>
	<atom:link href="http://adventureswith.net/category/amazon-ec2/feed/" rel="self" type="application/rss+xml" />
	<link>http://adventureswith.net</link>
	<description>C# and the like</description>
	<lastBuildDate>Tue, 15 Nov 2011 15:34:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>FTP Publishing on Windows Server 2008 with Amazon EC2 &#8211; Rough guide</title>
		<link>http://adventureswith.net/ftp-publishing-on-sql-server-2008-with-amazon-ec2-rough-guide/</link>
		<comments>http://adventureswith.net/ftp-publishing-on-sql-server-2008-with-amazon-ec2-rough-guide/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 11:26:51 +0000</pubDate>
		<dc:creator>Dann</dc:creator>
				<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[windows server]]></category>

		<guid isPermaLink="false">http://AdventuresWith.Net/?p=103</guid>
		<description><![CDATA[AS A NOTE &#8211; WEB DEPLOY IS MUCH BETTER THAN FTP PUBLISHING - Just letting you know This is my quick guide ( i.e. how i did it) on how to get FTP Publishing working on a Amazon Instance Website. &#8230; <a href="http://adventureswith.net/ftp-publishing-on-sql-server-2008-with-amazon-ec2-rough-guide/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="rw-left"><div class="rw-ui-container rw-class-blog-post rw-urid-1040"></div></div><p><span style="text-decoration: underline;">AS A NOTE &#8211; WEB DEPLOY IS MUCH BETTER THAN FTP PUBLISHING </span>- Just letting you know <img src='http://adventureswith.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This is my quick guide ( i.e. how i did it) on how to get FTP Publishing working on a Amazon Instance Website.</p>
<ol>
<li>Install FTP Publishing using the <a href="http://www.microsoft.com/web/downloads/platform.aspx" target="_blank">Microsoft  Web Platform Installer</a></li>
<li>Under the IIS Manager, go to the server and run through the FTP items one by one:
<ol>
<li>FTP Authentication – I just used basic authentication, but you can roll your own.</li>
<li>Authorization Rules – I added a “Allow All Users Read Write”. You can be more exclusive</li>
<li>Firewall support
<ol>
<li>Specify a Data channel range. I used 28000 –&gt; 28100</li>
<li>Leave the external IP address empty. Seems to work well</li>
</ol>
</li>
<li>SSL Settings – Choose your certificate and allow SSL connections (Used with Explicit SSL over FTP)</li>
<li>User Isolation – I have this set to FTP root directory</li>
<li>Setup the Windows Firewall to allow the SSL connections to actually connect by running this command (<em>credit for this tip goes to </em><a href="http://learn.iis.net/page.aspx/309/configuring-ftp-firewall-settings/" target="_blank"><em>learn.iis.net</em></a>)<br />
<tt>netsh advfirewall firewall add rule name="FTP for IIS7" service=ftpsvc action=allow protocol=TCP dir=in</tt></li>
</ol>
</li>
<li><tt>Log into the <a href="https://console.aws.amazon.com/ec2" target="_blank">Amazon Instance Manager</a> or use <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=609" target="_blank">Elastic Fox</a> for Firefox (which is pretty cool) to access the security groups</tt>
<ol>
<li><tt>Add FTP port 21 with host </tt>0.0.0.0/0</li>
<li>Add the port range that you added before (e.g  28000 –&gt; 28100) and set the host to 0.0.0.0/0</li>
</ol>
</li>
<li>Add FTP publishing to a specific site
<ol>
<li>Right click one of your sites in the IIS manager and select “Add FTP Site Publishing”</li>
<li>Add a virtual host name if you feel the need, or require it to differentiate.</li>
<li>Customise at will or let the server defaults handle the settings, then click Finish</li>
</ol>
</li>
<li>Log into the site using a Windows login and  a good FTP client (e.g. like Filezilla) with the servertype as “FTPES – FTP over Explicit TLS/SSL” or if that doesn’t work, try just plain ol’ FTP (not recommended with a Windows Login). Hopefully there is no issue. If there is let me know what happens or how you fixed it if you did.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://adventureswith.net/ftp-publishing-on-sql-server-2008-with-amazon-ec2-rough-guide/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

