Browsing articles tagged with "amazonebs - Admins Goodies"
Jan 20, 2013
tom

how do I find out what part of my ec2 storage is ephemeral

This may be a silly question, excuse my ignorance. I have an instance running like this: Does Root Device : EBS mean my entire system is on EBS? I’ve configured apache and a perl app here, all my config and files will not go away right? How do I know what is running on ephemeral storage and what is running on EBS? If I click the instance in the management console and look at the […]

Continue Reading »
Nov 26, 2012
tom

EC2 Sql Server with EBS and ephemeral drives

I’m planning to start a EC2 high memory instance with SQL server on it. I’m working through how to setup the drives as the current dedicated hardware is set to a raid-5 but only 4gb of ram so a lot of IO right now. With the high memory I am basically quadrupling the amount of memory and half the database would be in memory, so I am not worried about I/O limits. What I am […]

Continue Reading »
Oct 15, 2012
tom

Autoscaling EBS volumes

I’ve had a quick look for metrics in Cloudwatch and couldn’t see anything but forgive me if I missed it. I would like to know if it’s possible to watch and EBS volume and add more when it is nearing capacity. Is this something I can do through cloudwatch or should I write something to do it from the server itself? Asked by Jamie Taylor Amazon has no visibility into how full your file systems […]

Continue Reading »
Oct 2, 2012
tom

Amazon EC2 EBS volume scheduled backup/snapshots using puppet / similar tools

I am not a Linux admin, although I wish I was, and I have seen these questions Amazon EC2 Backup Strategy Amazon EC2 + EBS:: Regular backup plan? Simple Backup Strategy for Amazon EC2 instances / volumes? And this suggestion http://alestic.com/2009/09/ec2-consistent-snapshot I tried using command line + crontab (the command line works, but crontab for some reason, doesn’t) But I’m still pretty lost, all I want is an automated, rolling backup of my amazon EC2 […]

Continue Reading »
Aug 14, 2012
tom

Increase size of mount point

I created an EBS volume (100GB) from a snapshot (10GB), but when I attach the volume to an instance and mount it as /vol, then I check with df -h, I see that /vol has size of 10GB although it’s a 100GB disk. What’s wrong with my procedure ? Thank you! Asked by Med The volume is 100GB, but the filesystem is still only 10GB. You need to grow/expand the filesystem to fill the rest […]

Continue Reading »
May 5, 2012
tom

How can I access instance storage on a Windows EC2 instance with an ebs root device?

I have created an AMI, but I would like to use instance storage for some scientific programs I want to run. They basically read a bunch of stuff from disk, write it back out to disk and then summarize those results. This needs to be on Windows because that is the platform these programs were written for. I don’t need to the files to persist and I don’t really care if I lose them, so […]

Continue Reading »
May 3, 2012
tom

Running MySQL on Amazon EC2 with EBS (Elastic Block Store) and Elastic Beanstalk

I’m new to Elastic Beanstalk, but I created an environment with a container running 64bit Amazon Linux running PHP 5.3. I want to get MySQL set up on EBS, then install phpMyAdmin and import my databases. However, I don’t know how to do this because the documentation is not working for me: Running MySQL on Amazon EC2 with EBS (Elastic Block Store) Since that guide was last updated on March 23, 2010 I guess it […]

Continue Reading »
Apr 7, 2012
tom

quickly empty a Linux partition

I want to empty out all the data on a partition. What is the quickest way to do this? It is an Amazon EBS volume if that matters. Asked by shantanuo Very briefly: umount /data mkfs.xfs /dev/sdf1 mount /data The basic concept here is that by formatting the partition, you get rid of everything on it really fast. I chose xfs here because it formats really fast versus ext3/4. Answered by sysadmin1138 Check more discussion […]

Continue Reading »
Apr 7, 2012
tom

Why do I get xfs_freeze “Operation not supported” error with ec2-consistent-snapshot? Debian Squeeze w/ext4 filesystem

I’m running the following command: [root@somehost ~]# ec2-consistent-snapshot –aws-credentials-file ‘/some/dir/file’ –mysql –mysql-socket ‘/var/run/mysqld/mysql.sock’ –mysql-username ‘backup’ –mysql-password ‘password’ –freeze-filesystem ‘/dev/xvda1′ vol-xxxxxx It returns this error: xfs_freeze: cannot freeze filesystem at /dev/xvda1: Operation not supported ec2-consistent-snapshot: ERROR: xfs_freeze -f /dev/xvda1: failed(256) snap-eeb66393 xfs_freeze: cannot unfreeze filesystem mounted at /dev/xvda1: Invalid argument ec2-consistent-snapshot: ERROR: xfs_freeze -u /dev/xvda1: failed(256) This is being run on Debian Squeeze with the ext4 Linux filesystem. Can anyone explain this error to me, or […]

Continue Reading »
Mar 5, 2012
tom

How do I access the attached volume in Amazon EC2

I just attached another ebs volume to running instance. But how do I access the volume? I can’t find the /dev/sda directory anywhere. Where should I look? Asked by Maca When you attach an EBS volume, you specify the device to attach it as. Under linux, these devices are /dev/xvd* – and are symlinked to /dev/sd* In the AWS console, you can see your EBS volumes, what instances they are attached to, and the device […]

Continue Reading »
Pages:12345678»