Here is a summary of the products covered in this book. Please note that this summary does not encompass all AWS products.
EC2 provides virtual computing resources on demand, in effect allowing virtual servers to be spun up and down on demand in the AWS cloud.
The command-line tools are provided by the Amazon staff and are located at:
http://aws.amazon.com/developertools/351
These are the commands used in this book:
Command |
Description |
Chapter |
---|---|---|
|
List all of the current regions available |
Chapter 3, Getting Started with AWS and Amazon EC2 |
|
List all of the AMIs owned by the AWS user |
Chapter 3, Getting Started with AWS and Amazon EC2 |
ec2-run-instances ami-70b24319 -g migrate_to_aws_secure -k migrate_to_aws_key_pair --availability-zone us-east-1a –monitor
|
Start up an EC2 instance using AMI ami-70b24319 in the migrate_to_aws security group using the migrate_to_aws_key_pair key pair in the us-east-1a availability zone |
Chapter 3, Getting Started with AWS and Amazon EC2 |
|
Associate a tag with a running instance |
Chapter 3, Getting Started with AWS and Amazon EC2 |
|
Get a list of running instances |
Chapter 3, Getting Started with AWS and Amazon EC2 |
|
Terminate a running instance |
Chapter 3, Getting Started with AWS and Amazon EC2 |
|
Stop a running instance |
Chapter 3, Getting Started with AWS and Amazon EC2 |
The following figure shows the AWS console location for EC2:
The following is a summary of the costs and types of instances:
Description |
Approximate cost/year (on demand Windows, not including storage, network or other AWS costs, costs are for comparison only and are in $US) | |
---|---|---|
Standard – Small |
1.7 GB RAM, 1 EC2 compute unit, 32 bit, 160 GB local storage |
$1,051 |
Standard – Large |
7.5 GB RAM, 4 EC2 compute units, 64 bit, 850 GB local storage |
$4,204 |
Standard - Extra Large |
15 GB RAM, 8 EC2 compute units, 64 bit, 1690 GB local storage |
$8,409 |
Micro |
613 MB RAM, variable EC2 compute units to a max of 2, 64 bit |
$262 |
High Memory - Extra Large |
17.1 GB RAM, 6.5 EC2 compute units, 64 bit, 420 GB local storage |
$5,431 |
High Memory - Double Extra Large |
32.4 GB RAM, 13 EC2 compute units, 850 GB local storage, 64 bit |
$10,862 |
68.4 GB RAM, 26 EC2 compute units, 1690 GB local storage, 64 bit |
$21,724 | |
High CPU - Medium Instance |
1.7 GB RAM, 5 EC2 compute units, 350Gb local storage, 16 bit |
$2,540 |
High CPU - Extra Large |
7 GB RAM, 20 EC2 compute units, 64 bit, 1690 GB local storage |
$10,161 |
S3 is an object store for storing files on the cloud in AWS. Files of up to five terabytes may be stored.
S3 tools on Codeplex provided by third party.
Alternative tools provided at s3tools.org are located at:
To set up this tool use the following command:
s3 auth <Access Key> <Secret Access Key>
The following are the commands used throughout this book.
Command |
Description |
Chapter |
---|---|---|
|
Set up credentials |
Chapter 4, How Storage Works on Amazon |
|
List S3 buckets |
Chapter 4, How Storage Works on Amazon |
|
Upload a file to S3 |
Chapter 4, How Storage Works on Amazon |
|
Upload in chunks a large file to S3 |
Chapter 4, How Storage Works on Amazon |
|
Download a file from S3 |
Chapter 4, How Storage Works on Amazon |
|
Download in chunks a big file from S3 |
Chapter 4, How Storage Works on Amazon |
The following screenshot shows the AWS console location for S3:
EBS provides raw disk to EC2 instances on AWS.
Command-line tools are provided by the EC2 command-line tools package.
These are the commands used throughout the book for EBS:
Amazon autoscaling provides for the dynamic creation of EC2 instances based on server demand.
Autoscaling command-line tools are provided by Amazon staff.
The Autoscaling tools are located at:
http://aws.amazon.com/developertools/2535
The environment variables used for the autoscaling tools are:
set AWS_AUTO_SCALING_HOME=C:\AWS\AutoScaling-1.0.33.1 set PATH=C:\AWS\AutoScaling-1.0.33.1\bin;%PATH%
These are the Autoscaling commands used throughout this book:
Command |
Description |
Chapter |
---|---|---|
|
Describe launch configuration information |
Chapter 9, Monitoring and Scaling My Application |
as-create-launch-config WebLaunchConfig --image-id ami-7cb54915 --instance-type m1.large –group "Web Servers"
|
Create the autoscaling launch configuration |
Chapter 9, Monitoring and Scaling My Application |
as-create-auto-scaling-group WebAutoScaleGroup --launch-configuration WebLaunchConfig --availability-zones us-east-1a --min-size 2 --max-size 4 –load-balancers my-load-balancer
|
Create the autoscaling group |
Chapter 9, Monitoring and Scaling My Application |
as-put-scaling-policy WebScaleUp --type ChangeInCapacity --adjustment 1 --cooldown 120 --auto-scaling-group WebAutoScaleGroup
|
Create an autoscaling (scale up) policy |
Chapter 9, Monitoring and Scaling My Application |
as-put-scaling-policy WebScaleDown --type ChangeInCapacity "--adjustment=-1" --cooldown 120 --auto-scaling-group WebAutoScaleGroup
|
Create an autoscaling (scale down) policy |
Chapter 9, Monitoring and Scaling My Application |
|
List all of the autoscale groups |
Chapter 9, Monitoring and Scaling My Application |
There is no console access to Amazon Autoscaling.
Amazon CloudFront provides caching of website data in distributed locations worldwide to improve the performance of websites hosted in an AWS data center.
The following figure shows the AWS console location for CloudFront:
SimpleDB provides a simple key/value store for the reliable storage of simple data of any size.
http://aws.amazon.com/code/1137
Development libraries are located at:
Language |
Library Location |
---|---|
.Net | |
Java | |
PHP | |
Ruby |
There is no console access to Amazon SimpleDB.
RDS provides a MySQL instance running and managed by AWS.
The command-line tools are provided by Amazon staff and are located at:
http://aws.amazon.com/developertools/2928
This is the only environment variable used:
Set AWS_RDS_HOME
The following screenshot shows the AWS console location for RDS:
Summary of instance types and costs:
Description |
Approximate Cost/year (on demand, costs include 1 TB of storage running for one year and are for comparison only and are in $US) | |
---|---|---|
Small RDS Instance |
1.7 GB RAM, 1 EC2 compute unit, moderate IO |
$2,192 |
Large RDS Instance |
7.5 GB RAM, 4 EC2 compute unit, high IO |
$5,083 |
Extra Large RDS Instance |
15 GB RAM, 8 EC2 compute units, high IO |
$8,937 |
High Memory Extra Large RDS Instance |
17.1 GB RAM, 6.5 EC2 compute units, high IO |
$6,922 |
High Memory Double Extra Large RDS Instance |
34 GB RAM, 13 EC2 compute units, high IO |
$12,616 |
68 GB RAM, 26 EC2 compute units, high IO |
$24,004 |
SQS provides for reliable asynchronous queuing and delivery of messages.
The command-line tools are provided by Amazon staff.
The scratchpad is located at:
http://aws.amazon.com/code/1254
The .Net SDK is located at:
http://aws.amazon.com/sdkfornet/
There is no console access to Amazon SQS.
SNS provides for reliable event and notification delivery to multiple endpoints such as mail and HTTP.
The following screenshot shows the AWS console location for SNS:
CloudWatch provides monitoring and alerting of metrics within the EC2 AWS environment.
The command-line tools are provided by Amazon staff.
The CloudWatch tools are located at:
http://aws.amazon.com/developertools/2534
The Cloudwatch environment variables used are:
set AWS_CLOUDWATCH_HOME=C:\AWS\CloudWatch-1.0.9.5 set PATH=C:\AWS\CloudWatch-1.0.9.5\bin;%PATH%
The following are the commands for CloudWatch used throughout this book.
Command |
Description |
Chapter |
---|---|---|
|
Describe configured alarms |
Chapter 9, Monitoring and Scaling My Application |
mon-put-metric-alarm WebHighCPUAlarm --comparison-operator GreaterThanThreshold --evaluation-periods 1 --metric-name CPUUtilization --namespace "AWS/EC2" --period 120 --statistic Average --threshold 80 --alarm-actions arn:aws:autoscaling:us-east-1:764516644405:scalingPolicy:d3c53ac8-fa73-4cfd-9a06-a5f9d7e1a58f: autoScalingGroupName/WebAutoScaleGroup:policyName/WebScaleUp --dimensions "AutoScalingGroupName=WebAutoScaleGroup"
|
Create the cloud watch metric |
Chapter 9, Monitoring and Scaling My Application |
The following screenshot shows the AWS console location for CloudWatch:
VPC allows the creation of custom, isolated compute environments with custom IP addressing schemes and isolated security.
ELB provides TCP/IP load balancing across multiple EC2 instances.
Amazon import/export allows the transfer of large amounts of data in and out of AWS.
The command-line tools are provided by Amazon staff and are located at:
http://awsimportexport.s3.amazonaws.com/importexport-webservice-tool.zip