title: How to implement message queuing and handling in AWS with NServiceBus
body: <p>I am creating a new ASP MVC order application in the Amazon (AWS) cloud with the persistence layer at my local datacenter.  I will be using the CQRS pattern.  The goal of the project is high availability using Queue(s) to store and forward writes (commands/events) that can be picked up and handled asynchronously at my local datacenter.  Then, ff the WAN or my local datacenter fails, my cloud MVC app can still take orders and just queue them up until processing can resume.</p>
  
  <p>My first thought was to use AWS SQS for the queuing and create my own queue consumer/dispatcher/handler in my own c# application to process the incoming messages/events.  </p>
  
  <p>MVC (@ Amazon) --> Event/POCO --> SQS --> QueueReader (@ my datacenter) --> DB</p>
  
  <p>Then I found NServiceBus.  NSB seems to handle lots of details very nicely: message handling, retries, error handling, etc.  I hate to reinvent the wheel, and NServiceBus seems like a full featured and mature product that would be perfect for me.</p>
  
  <p>But on further research, it does NOT look like NServiceBus is really meant to be used over the WAN in physically separated environments (Cloud to my Datacenter).  Google and SO don't really paint a good picture of using NServiceBus across the WAN like I need.</p>
  
  <p>Can I do this?</p>
  
  <p>MVC (@ Amazon) --> Event/POCO --> NServiceBus over WAN --> NServiceBus Handler(s) --> DB</p>
  
  <p>How can I use NServiceBus across the WAN?  Or is there a better solution to handle queuing and message handling between Amazon an my local datacenter?</p>