Difference: EC2 (5 vs. 6)

Revision 62013-09-15 - geschd

Line: 1 to 1
 
META TOPICPARENT name="EmpiricalAlgorithmics"

Amazon's Elastic Compute Cloud (EC2)

Line: 192 to 192
 
  • You can either set the environment variables for "AWS_ACCESS_KEY", "AWS_SECRET_KEY", and "EC2_URL" or
  • You can provide these as command line options with each command: "-O, --aws-access-key", "-W, --aws-secret-key", and "-U, --url"
Changed:
<
<
-- Main.geschd - 08 Aug 2013
>
>

Adding Disk Space to an Instance

  • You may require additional disk space when running an EC2 instance
  • A new EBS volume may be created and mounted to your instance as follows:
  • From the management console, select "Volumes" and then "Create Volume"
  • In the menu, you can select a type, size, and zone and specify a snapshot of data to preload onto the volume
  • Right click the new volume and select "Attach Volume"
  • Specify the instance to attach to (must be in the same region as the volume) and name the device ("/dev/sdf")
  • Next you must connect to the instance and mount device.
lsblk
sudo mkfs -t ext3 /dev/xvdf
sudo mkdir newDir
sudo mount /dev/xvdf newDir
lsblk
  • "lsblk" lists available devices and where they are mounted. Take note if your devices' name has been changed
  • "mkfs" will create a file system on that device
  • "mount" will mount the device to the specified directory
 
META FILEATTACHMENT attr="h" comment="" date="1375997844" name="signup1.png" path="signup1.png" size="54810" user="geschd" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1375998908" name="signup2.png" path="signup2.png" size="47256" user="geschd" version="1.2"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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