Friday, December 19, 2008

Hosting ASP.Net on Amazon Web Services

To host an ASP.Net application on AWS, you need to use the following:
  1. Amazon EC2 - Virtual instances to run your ASP.Net applications. As many as you need with load balancer. Amazon does not guarantee data on the instance data drives. Hence you need to go for EBS.
  2. Amazon Elastic Block Storage - Volumes which can be attached to EC2 instances. These can be attached and detached at will. Your ASP.Net and database files will be on these volumes.
  3. Amazon S3 - Store your public documents here. It works with CloudFront to deliver the documents through edge locations located close to the consumers.

Advantages:

Amazon S3
  • Cheaper storage cost
  • Duplication of data in multiple locations for durability
Amazon CloudFront
  • Faster delivery network
  • Minimum caching period is 24 hours
  • Documents should be puclicly readable not suitable for private contents
  • HTTPS not supported
Amzon EC2
  • Quicker horizontal and vertical scaling up of computing power
  • Freeing the resources when not needed
  • Windows machines available only in US regions
  • Cost is not cheaper
Amazon EBS
  • Storage volume upto 1TB size
  • Can be attached to any EC2 instance
  • Can be attached to only one EC2 at a time

Conclusion
You want a cheap delivery network and cheap storage facility. Go for Amazon AWS.

No comments:

Post a Comment