Amazon Web Services: Migrating your .NET Enterprise Application


Amazon Web Services: Migrating your .NET Enterprise Application
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Get to grips with Amazon Web Services from a Microsoft Enterprise .NET viewpoint
  • Fully understand all of the AWS products including EC2, EBS, and S3
  • Quickly set up your account and manage application security
  • Learn through an easy-to-follow sample application with step-by-step instructions
  • Ultimately map, migrate, and extend your .NET application with AWS

Book Details

Language : English
Paperback : 336 pages [ 235mm x 191mm ]
Release Date : July 2011
ISBN : 1849681945
ISBN 13 : 9781849681940
Author(s) : Rob Linton
Topics and Technologies : All Books, Enterprise Products and Platforms, Cloud, Enterprise, .NET, Web Services

Table of Contents

Preface
Chapter 1: Understanding Amazon Web Services
Chapter 2: Mapping your Enterprise Requirements Against Amazon's Offerings
Chapter 3: Getting Started with AWS and Amazon EC2
Chapter 4: How Storage Works on Amazon
Chapter 5: Amazon's Approach to Networking
Chapter 6: Putting Databases in the Cloud
Chapter 7: Migrating your Data and Deploying your Code
Chapter 8: Amazon's Queuing and Notification Options
Chapter 9: Monitoring and Scaling My Application
Chapter 10: Testing and Maintaining the Application
Appendix: AWS Reference
Index
  • Chapter 1: Understanding Amazon Web Services
    • What AWS is
    • What AWS isn't
      • PaaS
      • SaaS
    • So why AWS
      • What you should know about AWS
      • What to watch out for with AWS
      • Drivers of Enterprise Adoption of AWS
    • What application models work/don't work in AWS
      • One-Tier
      • Two-Tier
      • Three-Tier
      • N-Tier
      • Common issues across all architecture models
    • Legalities of Cloud Computing
    • A brief technical overview of AWS
      • Public or Virtual Private Cloud
      • The technology behind AWS
    • Our sample enterprise application
      • Rules of engagement
      • What will our sample enterprise application look like
      • What will our sample enterprise application do
    • Summary
    • Chapter 2: Mapping your Enterprise Requirements Against Amazon's Offerings
      • AWS offerings
      • Simple Storage Service (S3)
        • General roles of S3 in the architecture
        • Using S3
        • S3 features
          • Data storage
          • Availability
          • Data consistency
          • Object access
        • Using S3 for backup, archiving, and recovery
      • Elastic Compute Cloud (EC2)
        • General roles of EC2 in the architecture
        • Using EC2
        • Features of EC2
          • Starting instances
          • Accessing instances after they have been started
          • Types of hardware to run an instance on
          • Billing and data transfer
          • Elastic IP addresses
        • Instance types
          • Standard instances
          • Micro instances
          • High memory instances
          • High-CPU instances
          • Cluster compute instances
          • Cluster GPU instances
          • Putting these instances in perspective
      • Elastic Block Store (EBS)
        • Some things to know about EBS
          • Attaching a two TB of disk to an EC2 instance
      • Security Groups
        • Implementing an example security group for a web application
          • Management security group
          • Web server security group
          • Application server security group
          • Database server security group
          • Using the AWS console tools
      • Virtual Private Cloud (VPC)
        • Using AWS for testing
          • Management servers
          • Test servers
        • Storage servers
          • Storage server security group
      • Basic CloudWatch
      • Detailed CloudWatch
      • Elastic Load balancing (ELB)
      • Amazon Relational Database Service (RDS)
        • Replication and availability
        • Backups and recovery
      • Amazon Simple Notification Service (SNS)
        • Publish and subscribe
        • General role in the architecture
      • Mapping of AWS offerings to our sample application
        • Load balancing
        • Hardware (Servers)
        • Hard disk storage
        • Firewall security
        • Performance monitoring
        • Database servers
        • Recapping our sample application's architecture
      • Mapping of AWS offerings to other requirements
        • Business requirements
          • Financial requirements
          • Functional requirements
        • Security, legal, and regulatory requirements
      • Summary
      • Chapter 3: Getting Started with AWS and Amazon EC2
        • Creating your first AWS account
          • Multi-factor authentication
          • Registration and privacy details
          • AWS customer agreement
            • Section 10.2 – Your Applications, Data, and Content
            • Section 14.2 – Governing Law
            • Section 11.2 – Applications and Content
        • Signing in
          • Signing up for Amazon S3
          • Signing up for EC2
        • Starting an EC2 instance
          • Creating a security group
          • Starting the EC2 instance
          • Accessing your EC2 instance
          • Configuring your instance
          • Starting new EC2 instances from our base image
          • Saving your new instances as AMIs
        • Using the command line
          • Installing the AWS command-line tools
            • Installing Java
            • Creating a location to store your data
            • Getting your security keys
            • Downloading and installing the AWS tools
            • Creating a file to set up the AWS environment
          • Using the command line
            • Starting an EC2 instance
            • Stopping an EC2 instance
        • Summary
        • Chapter 4: How Storage Works on Amazon
          • Getting started with S3
            • Creating a S3 bucket with logging
            • Using the S3 command-line tools
              • Setting up your credentials with S3.exe
              • Copying files to S3 using S3.exe
              • Retrieving files from S3 using S3.exe
            • Importing and exporting large amounts of data in and out of S3
              • Setting up the Import/Export service
              • Using the Import/Export service
            • Accessing S3 using third-party tools
          • Getting started with EBS
            • Creating an EBS volume
            • Creating an EBS snapshot
            • An important note about EBS
            • Using the EBS command-line tools
          • Setting up storage for our sample application
            • Backup storage on S3
          • Summary
          • Chapter 5: Amazon's Approach to Networking
            • An overview of AWS networking
              • Examining internal versus external IP addresses
              • Allocating elastic IPs
              • Security groups and internal versus external IP addresses
                • Handling domain controllers in AWS
            • Amazon VPC
              • Creating the AWS VPC
              • Starting servers in your VPC
            • AWS elastic load balancing
              • Using ELB for HTTPS
            • Amazon CloudFront networking
            • Setting up the networking for our sample application
              • The database layer
              • The application server layer
              • The web server layer
            • Summary
            • Chapter 6: Putting Databases in the Cloud
              • Examining SQL Server
                • SQL Server AMI
                  • SQL Server costs
                • Setting up SQL Server
                • Managing the SQL Server
                • Connecting to SQL Server
                  • Integrated security versus mixed mode security
                  • Windows firewall
                • Importing data to the SQL instance
                  • Using the AWS console on your new SQL Server instance
              • Oracle
                • Oracle AMIs
                  • Licensing
                • Setting up Oracle
                • Managing the Oracle instance
                • Importing data to the Oracle instance
              • Other Amazon database services
                • Amazon RDS
                  • Setting up the RDS service
                  • RDS pricing
                  • Creating an RDS instance
                  • Connecting to the RDS instance
                  • Security for RDS
                  • Managing the RDS instance
                  • Connect using client tools
                  • Importing data into the RDS instance
                • Amazon SimpleDB
                  • Getting started with SimpleDB
              • Summary
              • Chapter 7: Migrating your Data and Deploying your Code
                • Sample application code
                • Installing the pre-requisites
                  • Disabling Internet explorer enhanced security configuration
                  • Installing IIS
                  • Installing .Net 4.0 and the MVC extensions
                  • Configuring IIS
                  • Installing the Application
                    • Installing the database servers
                    • Application Servers
                    • Web Servers
                  • Testing our sample application
                  • Troubleshooting our application
                • Summary
                • Chapter 8: Amazon's Queuing and Notification Options
                  • Simple Queue Service (SQS)
                    • Getting started
                      • SQS Scratchpad
                      • AWS SDK for .Net library and sample code
                    • An overview of how SQS works
                    • Creating your first queue
                    • Testing the full SQS lifecycle of a message
                    • SQS pricing and limits
                  • Simple Notification Service (SNS)
                    • An overview of how SNS works
                    • Getting started
                    • Creating a subscription
                      • Creating an e-mail subscription
                      • Testing our SNS subscription
                      • Testing a HTTP subscription
                    • SNS pricing and limits
                  • Applying SQS and SNS to our sample application
                  • Summary
                  • Chapter 9: Monitoring and Scaling My Application
                    • Autoscaling
                      • Installing the AWS Autoscaling tools
                        • Installing the CloudWatch API tools
                      • Architecture changes to Waaah for autoscaling
                        • Creating the application server load balancer
                      • Creating the autoscaling configuration
                        • Creating the launch configuration
                        • Creating the autoscaling group
                        • Creating an autoscale policy
                        • Creating the CloudWatch metric
                        • Checking our autoscaling
                        • Final configuration changes
                    • Pricing for autoscaling
                    • Using Amazon CloudWatch to monitor our application
                      • CloudWatch in the AWS console
                    • Pricing for CloudWatch
                    • Summary
                    • Chapter 10: Testing and Maintaining the Application
                      • Post deployment
                      • Load testing
                        • Grinder—an open source load test tool
                          • Starting the AMI
                          • Using grinder
                          • Re-running the test
                      • Patch Management, Quality Assurance (QA), and backups
                        • The problem to be solved
                        • The solution
                        • Solving the problem, step-by-step
                          • Bundling the existing production EC2 instances
                          • Creating new running EC2 instances
                          • Configuring the new instances
                        • The solution for the next steps
                      • Summary
                      • Appendix: AWS Reference
                        • List of AWS terms and keywords
                          • Chapter 1
                          • Chapter 2
                          • Chapter 3
                          • Chapter 4
                          • Chapter 5
                          • Chapter 6
                          • Chapter 7
                          • Chapter 8
                          • Chapter 9
                          • Chapter 10
                        • AWS products covered in this book
                          • Amazon Elastic Compute Cloud (EC2)
                            • Command-line tools
                            • Summary of instance types and costs
                          • Amazon Simple Storage Service (S3)
                            • Command-line tools
                            • Approximate costs
                          • Amazon Elastic Block Store (EBS)
                            • Command-line tools
                            • Available EBS Devices
                            • Approximate costs
                          • Amazon Autoscaling
                            • Command-line tools
                            • Approximate costs
                          • Amazon CloudFront
                            • Approximate costs
                          • Amazon SimpleDB
                            • Tools are located at
                            • Approximate costs
                          • Amazon Relational Database Service (RDS)
                            • Command-line tools
                          • Amazon Simple Queue Service (SQS)
                            • Command-line tools
                            • Approximate pricing
                          • Amazon Simple Notification Service (SNS)
                            • Command-line tools
                            • Subscription options
                            • Approximate pricing
                          • Amazon CloudWatch
                            • Command-line tools
                            • Approximate pricing
                          • Amazon Virtual Private Cloud (VPC)
                            • Command-line tools
                            • AWS console
                            • Approximate pricing
                          • Amazon Elastic Load Balancing
                            • Command-line tools
                            • Approximate pricing
                          • Amazon Import/Export
                            • Command-line tools
                            • Approximate pricing
                        • List of AWS data centers and regions
                        • Location of CloudFront edge locations

                        Rob Linton

                        Rob Linton is the CTO and co-founder of LogicalTech SysTalk, a successful integration company based in Melbourne, Australia. He has been a database professional for the past 15 years, and for the 5 years before that was a spatial information systems professional, making him a data specialist for over 20 years. He is a certified Security Systems ISO 27001 auditor and more recently has been specializing in cloud data persistence and security. He is a certified DBA and is proficient in both Oracle and Microsoft SQL Server and is a past Vice President of the Oracle User Group in Melbourne, Australia. In his spare time he enjoys coding in C++ on his MacBook Pro and chasing his kids away from things that break relatively easily
                        Sorry, we don't have any reviews for this title yet.

                        Code Downloads

                        Download the code and support files for this book.


                        Submit Errata

                        Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                        Sample chapters

                        You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                        Frequently bought together

                        Amazon Web Services: Migrating your .NET Enterprise Application +    Microsoft Silverlight 5: Building Rich Enterprise Dashboards =
                        50% Off
                        the second eBook
                        Price for both: $39.00

                        Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                        What you will learn from this book

                        • Quickly get up and running by setting up a new account
                        • Gain a deep understanding of all of the major AWS products including Elastic Compute Cloud (EC2), Virtual Private Cloud (VPC) and Simple Storage Service (S3)
                        • Get to grips with Elastic Block Store (EBS), Elastic Load Balancer (ELB), and Relational Data Store (RDS)
                        • Determine with confidence whether your existing Enterprise .NET applications will migrate successfully
                        • Discover how to map Enterprise application features to AWS features
                        • Create and configure various resource types using the AWS Web Console
                        • Take full advantage of a myriad of AWS features to enhance your existing .NET application
                        • Understand how to manage security in the Amazon Cloud
                        • Learn to back up and protect your data in AWS
                        • Migrate your own application through following a step-by-step case study of a sample application

                        In Detail

                        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.

                        Approach

                        This practical, step-by-step guide follows the process of moving a sample Enterprise .NET application to the Amazon Cloud.

                        Who this book is for

                        Companies that have designed, developed, and hosted applications based on the Microsoft .NET technology stack should not miss out on this book. If you are looking to expand into using the vast array of services available on the Amazon Cloud but are unsure how to proceed, then this will help to get you on your way.

                        Administrators or developers managing such applications should have basic experience of the platform and the web servers that thay are intending to move to Amazon. No knowledge of AWS is required.

                        Code Download and Errata
                        Packt Anytime, Anywhere
                        Register Books
                        Print Upgrades
                        eBook Downloads
                        Video Support
                        Contact Us
                        Awards Voting Nominations Previous Winners
                        Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                        Resources
                        Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software