title: Amazon EC2 for WCF Windows Service
body: <p>I have a Sync Services built using .Net WCF, .net 4.0,SQL Server 2008 and hosted in a windows service. </p>
  
  <p>Following are some custom implementation we have done;</p>
  
  <ol>
  <li><p>Custom DB Connection Pooling, filled on the start of Application, and there is a cleanup thread as well which runs through out the life cycle of application.</p></li>
  <li><p>Custom Sessions, as application was not targeted to be deployed on IIS and BasicHTTPBinding was used therefore custom session were implemented. Hence a Cleaup thread also runs to clear non-active sessions.</p></li>
  <li><p>[Specific Table] Cache, There is a specific table in database which used to hit with a high frequency therefore we implemented a custom cache to avoid too many hits to database, this cache initiates at the start of Application.</p></li>
  </ol>
  
  <p>With consideration of above points please Suggest me Following;</p>
  
  <ol>
  <li><p>Is this application suitable to be deployed on IIS? (I thought application deployed on IIS, remains alive only in activity and stops when it gets idle, so caching, pooling will be lost and re-initialize)</p></li>
  <li><p>Is Amazon EC2 is suitable for this; OR I should sign-up for EC2 windows Instance? please brief me on this(I have never used ec2 before nor having much information about it)</p></li>
  <li><p>Is fail-over clustering is supported?</p></li>
  <li><p>Is there any option for Demo Account?</p></li>
  <li><p>What about Windows Azure should i consider that too?</p></li>
  </ol>
  
  <p>Regards</p>