Tags:
view all tags
---+ Amazon's Elastic Compute Cloud (EC2) ---++ Introduction Amazon's Elastic Compute Cloud is a service which allows users to purchase computing resources by the hour in the form of virtual machine 'instances'. These instances are sold in many different sizes and under several purchasing options. Each instance is loaded with an Amazon Machine Image (AMI), a package including an OS and accompanying software. These can be chosen from a group of presets or customized by the user. When launching an instance, a startup script can be provided so that a task may be started immediately. Alternatively, the user may ssh to an instance and issue commands that way. Running instances may be monitored using Amazon's !CloudWatch tools which can provide useful metrics such as CPU and network usage. * A full listing of instance types: [[https://aws.amazon.com/ec2/instance-types/#instance-details][Instance Types]] * A full description of purchasing options: [[https://aws.amazon.com/ec2/purchasing-options/][Purchasing Options]] * A full listing of public Amazon Machine Images: [[https://aws.amazon.com/amis/][AMIs]] Many of the basic features of EC2 can be used for no charge when signing up under the Free Tier. The Free Tier includes 750 hours of micro instance usage every month as well as a limited free usage of many accompanying servicess. See the [[http://aws.amazon.com/free/][Free Tier page]] for further details. The following section will walk through setting up an example instance for free. ---++ Micro Instance Quick Start This section will walk through the steps required to set up a micro instance and do an example run of the configuration/validation pipeline. ---+++ Create an account and access the management console * To create an Amazon Web Services account, go to [[http://aws.amazon.com/][aws.amazon.com]] and select "sign up" * You will need to create an Amazon account or sign in with an existing one * Following this, you will need to supply some personal information and payment information, verify yourself by telephone, and select a support plan * The pictures below show this process: <table> <tr> <td> <table class="image"><caption align="bottom">EC2 signup: account creation</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup1.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup1.png" height="200"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">EC2 signup: credit card info</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup2.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup2.png" height="200"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">EC2 signup: telephone verification</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup3.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup3.png" height="200"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">EC2 signup: support plan</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup4.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup4.png" height="200"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">EC2 signup: finalization</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup5.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/signup5.png" height="200"></a></tr></td></table> </td> </tr> </table> <br><br> * After signing up, you can access the management console to begin using EC2 * The management console can be accessed by a menu in the upper right hand corner * The management console provides access to all of the Amazon Web Services, but for now we only need EC2 * The pictures below show the management console: <table> <tr> <td> <table class="image"><caption align="bottom">Accessing the management console</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/ManagementConsole.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/ManagementConsole.png" height="200"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">The management console</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/ManagementConsole2.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/ManagementConsole2.png" height="200"></a></tr></td></table> </td> </tr> </table> ---+++ Create the micro instance * In the management console, select "EC2" and and then "Instances" on the left-hand menu <table> <tr> <td> <table class="image"><caption align="bottom">Launch Instance: AMI selection</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance1.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance1.png" height="250"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">Launch Instance: type selection</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance2.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance2.png" height="250"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">Launch Instance: advanced options</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance3.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance3.png" height="250"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">Launch Instance: storage configuration</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance4.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance4.png" height="250"></a></tr></td></table> </td> </tr> </table> <table> <tr> <td> <table class="image"><caption align="bottom">Launch Instance: tags</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance5.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance5.png" height="250"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">Launch Instance: key pair</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance6.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance6.png" height="250"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">Launch Instance: firewall</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance7.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance7.png" height="250"></a></tr></td></table> </td><td> <table class="image"><caption align="bottom">Launch Instance: review</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance8.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/instance8.png" height="250"></a></tr></td></table> </td> </tr> </table> ---+++ Connect to the micro instance <table class="image"><caption align="bottom">Connecting to an instance using SSH</caption><tr><td><a href="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/connect.png"><img src="https://bugs.cs.ubc.ca/twiki/pub/BETA/EC2/connect.png" height="300"></a></tr></td></table> ---+++ Set up and run the configuration/validation pipeline ---++ CLI tools -- Main.geschd - 08 Aug 2013
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r6
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r2 - 2013-08-08
-
geschd
Home
Site map
BETA web
Communications web
Faculty web
Imager web
LCI web
Main web
SPL web
Sandbox web
TWiki web
TestCases web
BETA Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
Edit
Attach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback