You are on page 1of 306

Overview........................................................................

.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows
Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows
If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.
Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows
Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows
If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.
Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows
Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows
If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.
Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows
Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows
If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.
Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows
Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows
If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.
Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows
Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows
If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.
Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows
Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

Overview........................................................................
.........................................................................1Gettin
g Started.......................................................................
................................................................7Step 1: Sign Up
for the Service................................................................
..............................................8Step 2: Install the Command Line
Tools...........................................................................
.......................8Step 3: Find a Suitable AMI.............................
................................................................................
.......9Step 4: Launch an Instance..............................................
....................................................................10Step 5: De
ploy Your Application...........................................................
.................................................12Connect to Your Amazon EC2 In
stance from Windows.............................................................
..12Start Your Website Using IIS Manager........................................
................................................13Configure the Amazon EC2 Insta
nce.............................................................................
.............14Step 6: Create a Custom AMI......................................
.........................................................................22Step
7: Create an Elastic Load Balancer..............................................
................................................22Step 8: Update Your Amazon EC2
Security Group.................................................................
..............29Step 9: Launch Amazon EC2 Instances Using Auto Scaling..........
......................................................30Step 10: Create a CloudW
atch Alarm......................................................................
.............................34Step 11: Clean Up................................
................................................................................
................41Delete Your CloudWatch Alarm..................................
.................................................................41Delete Your E
lastic Load Balancer............................................................
..................................42Terminate Your Amazon EC2 Instances in Your
Auto Scaling Group...........................................42Terminate Your In
stance..........................................................................
....................................44Delete a Key Pair.........................
................................................................................
................44Delete an Amazon EC2 Security Group...........................
...........................................................45Pricing............
................................................................................
.......................................................46Amazon EC2 Cost Breakdo
wn..............................................................................
...............................46Summing It All Up..............................
................................................................................
...................49How to Further Save Costs..................................
................................................................................
.50Related Resources............................................................
...................................................................53Document Hi
story...........................................................................
......................................................55
3Getting Started with AWS Computing Basics forWindows

Overview
When you deploy any type of application, you typically need to do the following: S
et up a computer to run your application. Secure your application and resources. Set
up your network for users to access your application. Scale your application. Monit
or your application and resources. Ensure that your application is fault-tolerant.
This guide introduces you to several key AWS services and components that help a
ddress these basicneeds. In this guide, you will learn more about what these key
services are, why they are important indeploying a web application, and how to
use them.To help you learn about the key AWS services, we ll review an example arc
hitecture of a web applicationhosted on AWS, and we ll walk through the process of
deploying DotNetNuke. (DotNetNuke is anopen-source content management system.)
You can adapt this sample to your specific needs if you want.By the end of this
walkthrough, you should be able to do the following: Sign up for AWS. Launch, connec
t, secure, and deploy DotNetNuke to a computer in the cloud. Create a custom templ
ate of a computer containing the hardware, software, and configuration youneed. Se
t up a load balancer to distribute traffic across multiple computers in the clou
d. Scale your fleet of computers in the cloud. Monitor the health of your applicatio
n and computers. Clean up your AWS resources.For a deeper understanding of AWS bes
t practices and the various options that AWS provides, werecommend that you read
Web Application Hosting: Best Practices
at AWS Cloud Computing Whitepapers.If you are looking for a quicker and easier
way to deploy your web applications, you can use AWS ElasticBeanstalk. AWS Elast
ic Beanstalk handles the deployment details of capacity provisioning, load balan
cing,auto scaling, and application health monitoring using several of the servic
es discussed in this document.To learn how to get started with AWS Elastic Beans
talk in the AWS Free Usage Tier, go to Deploy aSample Web Application in the Fre
e Usage Tier in
Getting Started with AWS Free Usage Tier
.
1Getting Started with AWS Computing Basics forWindows

If this guide is not exactly what you are looking for, you may want to check out
the following documents: Getting Started with AWS Provides information about Amaz
on Web Services, with helpful links forlearning more. Getting Started with AWS Fre
e Usage Tier Provides information about how to get started with thefree usage ti
er. Hosting Websites on Amazon S3 in the
Amazon Simple Storage Service Developer Guide
Providesa walkthrough in just a few steps of a static website deployment that d
oes not require running anapplication. Getting Started with AWS CloudFormation in
the
AWS CloudFormation User Guide
Helps you quicklyget started using an AWS CloudFormation WordPress blog sample
template without needing to figureout the order in which AWS services need to be
provisioned or worry about the subtleties of how tomake those dependencies work
. Getting Started with AWS Web Application Hosting for Microsoft Windows Provides
a more in-depthwalkthrough that uses more services, such as Amazon Simple Storag
e Service (Amazon S3), AmazonCloudFront, Amazon Relational Database Service (Ama
zon RDS), and Amazon Route 53. Amazon Elastic Compute Cloud Microsoft Windows Guid
e Provides information that helps you getstarted using Amazon EC2 instances that
run the Microsoft Windows Server operating system.
Introduction to AWS
If you are responsible for running a web application, you face a variety of infr
astructure and architectureissues for which AWS can give you easy, seamless, and
cost-effective solutions.This section providesa list of Amazon Web Services and
components, and it explains the value they add in meeting thechallenges you'll
face in this example solution.We break this down in to the following sections: c
omputingresources, security, monitoring, networking, and fault-tolerance.
Computing Resources
When you deploy an on-premises solution, you need to buy a computer with an oper
ating system, software,and hardware that match your needs.When you deploy your s
olution on Amazon Web Services, youselect an Amazon Machine Image (AMI) and then
use it to deploy a virtual server known as an AmazonElastic Compute Cloud (EC2)
instance. An AMI is a template that contains a software configuration (e.g.,ope
rating system, application server, and applications). For example, an AMI might
contain all the softwareto act as a web server (e.g., Windows Server, IIS, and y
our website). A large selection of public AMIs isavailable from Amazon and the A
mazon EC2 community.You can find an AMI that most closely matchesyour needs and
then customize it.You can save this customized configuration to another AMI, whi
ch youcan use to launch new Amazon EC2 instances whenever you need them.Storage
can be an integral part of an Amazon EC2 instance, or it can be an independent c
omponentwhose lifetime is managed separately from the lifetime of the instance.T
here are AMIs for each storagestrategy, and you will need to decide which type y
ou want to use.When you launch your Amazon EC2instances, you can store your root
device data on Amazon Elastic Block Store (Amazon EBS) or the localinstance sto
re. Amazon Elastic Block Store (Amazon EBS) is a durable, block-level storage vo
lume thatyou can attach to a single Amazon EC2 running instance. Amazon EBS volu
mes behave like raw,unformatted, external block devices you can attach.They pers
ist independently from the running life ofan Amazon EC2 instance. Alternatively,
the local instance store is a temporary storage volume andpersists only during
the life of the instance.You might use Amazon EBS-backed instances for web ordat
abase servers that keep state locally and require the data to be available even
if the associated instancecrashes.You might use Amazon instance-store backed ins
tances to manage traffic on large web siteswhere each instance is a clone.This i
s an inexpensive way to launch instances where data is not storedto the root dev
ice.To summarize the two key differences between these AMIs:
2Getting Started with AWS Computing Basics forWindowsIntroduction to AWS
You're reading a preview. Unlock full access with a free trial.
Pages 6 to 58 are not shown in this preview.

You might also like