Book Image

Amazon Web Services: Migrating your .NET Enterprise Application

By : Rob Linton
Book Image

Amazon Web Services: Migrating your .NET Enterprise Application

By: Rob Linton

Overview of this book

Amazon Web Services is an Infrastructure as a Service (IaaS) platform in the Cloud, which businesses can take advantage of as their needs demand. The Amazon Cloud provides the enterprise with the flexibility to choose whichever solution is required to solve specific problems, ultimately reducing costs by only paying for what you use. While enterprises understand moving their applications among infrastructure they own and manage, the differences in Amazon's infrastructure bring up specific business, legal, technical, and regulatory issues to get to grips with. This step-by-step guide to moving your Enterprise .NET application to Amazon covers not only the concept, technical design, and strategy, but also enlightens readers about the business strategy and in-depth implementation details involved in moving an application to Amazon. You'll discover how to map your requirements against the Amazon Cloud, as well as secure and enhance your application with AWS. This book helps readers achieve their goal of migrating a .NET Enterprise Application to the AWS cloud. It guides you through the process one step at a time with a sample enterprise application migration. After comparing the existing application with the newly migrated version, it then moves on to explain how to make the hosted application better. It covers how to leverage some of the scalability and redundancy built into the Cloud, and along the way you'll learn about all of the major AWS products like EC2, S3, and EBS.
Table of Contents (19 chapters)
Amazon Web Services: Migrating your .NET Enterprise Application
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Simple Queue Service (SQS)


SQS is a messaging system designed to allow distributed components to communicate and share work in a loosely coupled manner. SQS allows jobs to be created in one part of the system, and then consumed in another. At this time, there is no web interface to SQS provided in the AWS Console, so we will be using the SQS scratchpad provided by Amazon as well as Visual Web Developer 2010 Express to run samples provided by Amazon.

Getting started

To get started with SQS, we will need to download and install a couple of tools, SQS Scratchpad and the AWS SDK for .Net and sample code.

SQS Scratchpad

  1. The first tool we will be downloading is the SQS scratchpad. The SQS scratchpad is a simple locally run web application that allows simple calls to be made to the SQS service. To download the scratchpad, browse to:

    http://aws.amazon.com/code/1254

  2. Download the zip file to your previously created C:\AWS directory and create a directory called C:\AWS\SQS.

  3. Unzip the file and drill...