Difference between revisions of "Amazon Web Services"

From Wikicliki
Jump to: navigation, search
(Amazon Elastic Compute Cloud (EC2))
(Amazon Elastic Compute Cloud (EC2))
Line 49: Line 49:
 
* Try to Upload a File. Upload a simple image. The clock starts ticking, cost of storage is 12.5 cents per gigabyte (but wait! the first 5 gb is free each year).
 
* Try to Upload a File. Upload a simple image. The clock starts ticking, cost of storage is 12.5 cents per gigabyte (but wait! the first 5 gb is free each year).
  
[[Image:awsconsolecloudfront.png|600px]]
+
[[Image:awsconsolecloudfront.jpg|800px]]
 +
 
 +
* Go to Cloudfront > Create Distribution (Follow the dropdown menus)
 +
 
 +
[[Image:awsconsoledistribution.png|800px]]
 +
 
 +
* Note what your domain is (should be xxxxxx.cloudfront.net)
 +
* Go back to your bucket under S3. Load it up. Select the bucket and click on actions to see Properties.
 +
* Go to website > and tick Enabled.
 +
 
 +
* At this point the image you uploaded is now
 +
http://dbbdupsingapore.s3-website-ap-southeast-1.amazonaws.com/merlion.jpg
 +
http://d3d7rogzicqdgz.cloudfront.net/merlion.jpg
  
 
==  Amazon Elastic MapReduce (Amazon EMR) ==
 
==  Amazon Elastic MapReduce (Amazon EMR) ==

Revision as of 06:35, 14 June 2012

Amazon Web Services 101, Cloud Computing Seminar, 14 June 2012

  • Where data is hosted and processed in the cloud because its faster!

Why use AWS

  • Elastic capacity
  • Quick, easy to deploy
  • No contract, no initial investment required, no capital exchange necessary
  • Pay as you go (pay for the machine ONLY when you use it, you don't need to own the infrastructure - easy to turn resource on and off)
  • Automation

Fun Fact: Dropbox is hosted and run entirely on AWS. Apparently Amazon S3 says their durability is 99.999999999 (11 nines). It says it will only lose one file in a million years.

AWS Infrastructure

  • Organised into multiple regions. Each regions have a multiple data centres. If one building burns down the other one still has the data. The customer does not feel interruptions and its highly redundant.
  • Start your instances at a region closer to yourself.
  • Edge Locations - these automatically help to distribute/serve the data (near Singapore there is Tokyo, Osaka, Hongkong) - a content delivery network

Setting up AWS Account

  • Go to http://aws.amazon.com/
  • You will need Name, Email, Credit Card (for laters), Phone number
  • It will call you to confirm (and you will recite the number back to it and IT WILL MAGICALLY KNOW)

Web Services

  • Command Line / API / SDK / Web Console
  • Managment Interface > Cross Service Features > AAAAAAAAAAAAHHHH


Amazon Elastic Compute Cloud (EC2)

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.

Amazon EC2 presents a true virtual computing environment, allowing you to use web service interfaces to launch instances with a variety of operating systems, load them with your custom application environment, manage your network’s access permissions, and run your image using as many or few systems as you desire.

  • Go to AWS Management Console

Awsconsole.png

  • Create Bucket - this bucket must have a unique name around the entire world

Awsconsolebucket.png

  • Try to Upload a File. Upload a simple image. The clock starts ticking, cost of storage is 12.5 cents per gigabyte (but wait! the first 5 gb is free each year).

Awsconsolecloudfront.jpg

  • Go to Cloudfront > Create Distribution (Follow the dropdown menus)

Awsconsoledistribution.png

  • Note what your domain is (should be xxxxxx.cloudfront.net)
  • Go back to your bucket under S3. Load it up. Select the bucket and click on actions to see Properties.
  • Go to website > and tick Enabled.
  • At this point the image you uploaded is now

http://dbbdupsingapore.s3-website-ap-southeast-1.amazonaws.com/merlion.jpg http://d3d7rogzicqdgz.cloudfront.net/merlion.jpg

Amazon Elastic MapReduce (Amazon EMR)

See Also