Skip to content

DECISION STATS

Better Decisions === Faster Stats

  • Interviews
  • About DecisionStats
    • Decisionstats.org
  • Interviews
  • About DecisionStats
DECISION STATS

Tag: windoes

Running R on Amazon EC2 :Windows

Running R on an Amazon EC2 has following benefits-

1) Elastic Memory and Number of Processors for heavy computation
2) Affordable micro instances for smaller datasets (2 cents per hour for Unix to 3 cents per hour).
3) An easy to use interface console for managing datasets as well as processes

Running R on an Amazon EC2 on Windows Instance has following additional benefits-

1) Remote Desktop makes operation of R very easy
2) 64 Bit R can be used
3) You can also use your evaluation of Revolution R Enterprise (which is free to academics) and quite inexpensive for enterprise software for corporates.

You can thus combine R GUIs (like Rattle , R Cmdr or Deducer based upon your need for statistical analysis, data mining or graphical analysis) , with 64 Bit OS, and Revolution’s REvoScaler Package to manage huge huge datasets at a very easy to use analytics solution.

Pricing-for Computation on EC2

Standard On-Demand Instances Linux/UNIX Usage Windows Usage
Small (Default) $0.085 per hour $0.12 per hour
Large $0.34 per hour $0.48 per hour
Extra Large $0.68 per hour $0.96 per hour
Micro On-Demand Instances Linux/UNIX Usage Windows Usage
Micro $0.02 per hour $0.03 per hour
High-Memory On-Demand Instances
Extra Large $0.50 per hour $0.62 per hour
Double Extra Large $1.00 per hour $1.24 per hour
Quadruple Extra Large $2.00 per hour $2.48 per hour
High-CPU On-Demand Instances
Medium $0.17 per hour $0.29 per hour
Extra Large $0.68 per hour $1.16 per hour
Cluster Compute Instances
Quadruple Extra Large $1.60 per hour N/A*
* Windows is not currently available for Cluster Compute Instances.

Internet Data Transfer

The pricing below is based on data transferred “in” and “out” of Amazon EC2.

Data Transfer In US & EU Regions APAC Region
All Data Transfer Free until Nov 1, 2010 * Free until Nov 1, 2010 *
Data Transfer Out ** US & EU Regions APAC Region
First 1 GB per Month $0.00 per GB $0.00 per GB
Up to 10 TB per Month $0.15 per GB $0.19 per GB
Amazon EBS Volumes- To store data
  • $0.10 per GB-month of provisioned storage
  • $0.10 per 1 million I/O requests
Amazon EBS Snapshots to Amazon S3 (priced the same as Amazon S3)
  • $0.15 per GB-month of data stored
  • $0.01 per 1,000 PUT requests (when saving a snapshot)
  • $0.01 per 10,000 GET requests (when loading a snapshot)

http://aws.amazon.com/ec2/#pricing Other costs are optional to your needs

Based on the above- I set out to try and create a how-to DIY for running R (and RevolutionR on 64bit Windows on EC2)

1) Logon to https://console.aws.amazon.com/ec2/home

2) Launch Windows Instance

Choose AMI

Left Margin-AMI-

Top Windows – Select Windows 64 AMI

(note if you select SQL Server it will cost you extra)

Then go through the following steps and launch instance

Selecting EC2 compute depending on number of cores, memory needs and budget

Create a key pair (a .pem file which is basically an encrypted password) and download it.
For tags, etc just click on and pass (or read and create some tags to help you remember, and organize multiple instances)
In configure firewall, remember to Enable Access to RDP (Remote Desktop) and  HTTP. You can choose to enable whole internet or your own ip address/es for logging in
Review and launch instance

Go to instance (leftmost margin)
and see status (yellow for pending)
Click on Instance Actions-Connect on Top Bar to see following
Download the .RDP shortcut file and
Click on Instance Actions-Request Admin Password

 

Wait 15 minutes while burning few cents for free as Microsoft creates a password for you
Have coffee (or tea is you are health minded)
Click Again on Instance Actions-Request Admin Password

Open the key pair file (or .pem file created earlier) using

notepad, and copy and paste the Private Key (looks like gibberish)- and click Decrypt.

 

Retrieve Password for logging on.

 

Note the new password generated- this is your Remote Desktop Password.

Click on the .rdp file (or Shortcut file created earlier)- It will connect to your Windows instance.


Enter the new  generated password in Remote Desktop

  • Login

This looks like a new clean machine with just Windows OS installed on it.

Install Chrome (or any other browser) if you do not use Internet Explorer
Install Acrobat Reader (for documentation), Revolution R Enterprise~ 490 mb (it will automatically ask to install the .NET framework-4 files) and /or R

Install packages (I recommend installing R Commander, Rattle and Deducer). Apart from the fact that these GUIs are quite complimentary- they also will install almost all main packages that you need for analysis (as their dependencies) Revolution R installs parallel programming packages by default.

If you want to save your files for working later, you can make a snapshot (go to amazon console-ec2- left margin- ABS -Snapshot- you will see an attached memory (green light)- click on create snapshot to save your files for working later
If you want to use my Windows snapshot you can work on it , just when you start your Amazon Ec2 you can click on snapshots and enter details (see snapshot name below)  for making a copy or working on it for exploring either 64 bit R, or multi core cloud computing  or just trying out Revolution R’s new packages  for academic purposes.





35.965000 -83.920000

Please share:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
Like Loading...
Unknown's avatarAuthor Ajay OhriPosted on October 2, 2010October 6, 2010Categories AnalyticsTags .Net, academic, Amazon, amazon ebs, amazon ec2, Amazon Elastic Compute Cloud, amazon s3, ami, analysis, Analytics, Central processing unit, chrome, cloud, cloud computing, computing, costs, data, data mining, datasets, deducer, easy, EC2, enterprise, enterprise software, Free, Graphical user interface, Health, Internet, launch, linux, Login, Machine, Microsoft, Microsoft Windows, mining, open, operating system, os, parallel, parallel programming, pricing, Programming, R, r commander, R GUI, r guis, rattle, rattloe, remote, review, revolution, revolution r, rstats, S3, server, software, sql, sql server, statistical, statistics, storage, unix, US, use, windoes, windows, work2 Comments on Running R on Amazon EC2 :Windows

Blog Stats

  • 1,339,959 hits

BitCoin Address

BitCoin Wallet

12FxL4og4MqtZt6pRZ1LkcMQq6ddgJK4Yg

Latest Book

SAS for R Users

Books by Ajay Ohri

Python for R USers

R for Business Analytics


R for Cloud Computing

On FB

On FB

Archives

  • February 2025 (1)
  • July 2024 (1)
  • January 2024 (1)
  • August 2023 (1)
  • June 2023 (8)
  • April 2023 (1)
  • March 2022 (1)
  • August 2021 (1)
  • June 2021 (1)
  • March 2021 (1)
  • January 2021 (1)
  • December 2020 (1)
  • September 2020 (1)
  • July 2020 (1)
  • June 2020 (1)
  • May 2020 (1)
  • March 2020 (1)
  • February 2020 (2)
  • January 2020 (8)
  • December 2019 (1)
  • November 2019 (2)
  • October 2019 (1)
  • May 2019 (2)
  • March 2019 (3)
  • February 2019 (1)
  • January 2019 (1)
  • December 2018 (3)
  • October 2018 (1)
  • September 2018 (7)
  • August 2018 (3)
  • July 2018 (6)
  • June 2018 (2)
  • May 2018 (1)
  • April 2018 (2)
  • March 2018 (7)
  • February 2018 (16)
  • January 2018 (4)
  • December 2017 (10)
  • November 2017 (8)
  • October 2017 (6)
  • September 2017 (4)
  • August 2017 (6)
  • July 2017 (6)
  • June 2017 (3)
  • May 2017 (4)
  • March 2017 (1)
  • February 2017 (2)
  • January 2017 (2)
  • December 2016 (3)
  • November 2016 (7)
  • September 2016 (7)
  • August 2016 (12)
  • July 2016 (12)
  • June 2016 (8)
  • May 2016 (11)
  • April 2016 (5)
  • March 2016 (22)
  • February 2016 (6)
  • January 2016 (4)
  • December 2015 (26)
  • November 2015 (19)
  • October 2015 (44)
  • September 2015 (18)
  • August 2015 (28)
  • July 2015 (12)
  • June 2015 (6)
  • May 2015 (9)
  • April 2015 (9)
  • March 2015 (11)
  • February 2015 (5)
  • January 2015 (8)
  • December 2014 (9)
  • November 2014 (10)
  • October 2014 (3)
  • September 2014 (5)
  • August 2014 (5)
  • July 2014 (14)
  • June 2014 (21)
  • May 2014 (10)
  • April 2014 (14)
  • March 2014 (15)
  • February 2014 (11)
  • January 2014 (4)
  • December 2013 (16)
  • November 2013 (19)
  • October 2013 (23)
  • September 2013 (12)
  • August 2013 (14)
  • July 2013 (9)
  • June 2013 (8)
  • May 2013 (15)
  • April 2013 (16)
  • March 2013 (8)
  • February 2013 (16)
  • January 2013 (18)
  • December 2012 (7)
  • November 2012 (8)
  • October 2012 (10)
  • September 2012 (1)
  • August 2012 (26)
  • July 2012 (31)
  • June 2012 (12)
  • May 2012 (10)
  • April 2012 (12)
  • March 2012 (27)
  • February 2012 (31)
  • January 2012 (26)
  • December 2011 (27)
  • November 2011 (40)
  • October 2011 (32)
  • September 2011 (29)
  • August 2011 (30)
  • July 2011 (30)
  • June 2011 (33)
  • May 2011 (50)
  • April 2011 (51)
  • March 2011 (31)
  • February 2011 (38)
  • January 2011 (36)
  • December 2010 (35)
  • November 2010 (77)
  • October 2010 (73)
  • September 2010 (65)
  • August 2010 (19)
  • July 2010 (14)
  • June 2010 (11)
  • May 2010 (20)
  • April 2010 (18)
  • March 2010 (8)
  • February 2010 (10)
  • January 2010 (42)
  • December 2009 (38)
  • November 2009 (60)
  • October 2009 (41)
  • September 2009 (45)
  • August 2009 (37)
  • July 2009 (21)
  • June 2009 (28)
  • May 2009 (49)
  • April 2009 (29)
  • March 2009 (39)
  • February 2009 (34)
  • January 2009 (42)
  • December 2008 (18)
  • November 2008 (37)
  • October 2008 (20)
  • September 2008 (52)
  • August 2008 (62)
  • July 2008 (42)
  • June 2008 (16)
  • May 2008 (10)
  • April 2008 (20)
  • March 2008 (15)
  • February 2008 (30)
  • January 2008 (20)
  • December 2007 (13)

This slideshow requires JavaScript.

  • Interviews
  • About DecisionStats
    • Decisionstats.org
  • Interviews
  • About DecisionStats
DECISION STATS Blog at WordPress.com.
  • Subscribe Subscribed
    • DECISION STATS
    • Join 440 other subscribers
    • Already have a WordPress.com account? Log in now.
    • DECISION STATS
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d