Categories
Sysadmin

Format and mount an EBS volume in Linux and Windows

You create an EBS volume from Amazon Management Panel  OR from RightScale OR From Firefox plugin OR even from other EC2 complince management software.

After creating it you attach it to EC2 instance using same management panel .

Please note that : at a time you can only attach an EBS volume with one EC2 instance , but you can attach many EBS volumes to an EC2 instance.

Now after you have attached the EBS volume you will mention the location lets say you attach it under /dev/sdb , for formating and mounting follow the procedure as below.

To format and mount a volume in Linux/UNIX

  • Enter the following commands to format and mount the drive on directory /mnt/myVol (replace “/dev/sdb” with the device you chose to mount the Volume):
    mkfs -t ext2 /dev/sdb
    mkdir /mnt/myVol
    mount /dev/sdb /mnt/myVol

To format and mount a volume in Windows

  1. On the taskbar, click Start, and then click Run.
  2. Type diskmgmt.msc and click OK. The Disk Management utility opens.
  3. Right-click the Amazon EBS volume, select New Volume, and follow the on-screen prompts to mount it.
Categories
Sysadmin

Amazon EBS Volumes (What and How ?)

Amazon Elastic Block Storage (EBS) is a new type of storage designed specifically for Amazon EC2 instances. Amazon EBS allows you to create volumes that Amazon EC2 instances can mount as devices much like a standard hard drive.

Amazon EBS volumes behave like raw unformatted external block devices. They have user-supplied device names and provide a block device interface. You can load a file system on top of Amazon EBS volumes, or use them just as you would use a block device.

For example  : you can attach as /dev/sdj and later on format and mount it . see here

Since EBS Volumes behave just like any other mounted hard drive you can do anything with them you would do with standard hard drives, even make a RAID array

Amazon EBS volumes can now be used as the root device for an instance. These instances launch faster, use persistent storage, and support larger root device sizes than AMIs that use the local instance store as their root device. For more information, go to the Amazon Elastic Compute Cloud Developer Guide or the Amazon Elastic Compute Cloud User Guide.

Categories
Sysadmin

Bundle Tasks in Amazon

Bundle Tasks

A bundle task shows the process of converting a Windows instance into an AMI. Once bundling is complete and you register the AMI, you can launch copies of the instance.

This procedure is not applicable for Linux and UNIX instances or Windows instances that use Amazon EBS volumes as their root devices.

The bundling process does the following:

  • Compresses the image to minimize bandwidth usage and storage requirements
  • Encrypts and signs the compressed image to ensure confidentiality and authenticates the image against its creator
  • Splits the encrypted image into manageable parts for upload
  • Runs sysprep to strip out computer specific information (e.g., the MAC address and computer name) to prepare the Windows image for virtualization
  • Creates a manifest file that contains a list of the image parts with their checksums

View Current Bundle Tasks

  1. Use the sort options to sort the bundle tasks by bundle ID, instance ID, status, when it started, and progress.
  2. Select the bundle task to view.
    Its properties appears in the lower pane.

Register an AMI

To register an AMI

  1. Select an AMI and click Register.
    The Register AMI dialog box appears.
  2. Click Register.
    Amazon EC2 begins registering the AMI and returns an AMI ID that you can use to launch instances of it in the future.

Cancel a Bundle Task

To cancel a bundle task

  1. Select one or more bundle tasks and click Cancel.
    A confirmation dialog box appears.
  2. When prompted, click Yes, Cancel.
    Amazon EC2 begins canceling the bundle task(s).
Categories
Sysadmin

Different use cases for Amazon based cloud services

Hundreds of thousands of customers have joined the Amazon Web Services (AWS) community and use AWS solutions to build their businesses. The AWS cloud computing platform provides the flexibility to build your application, your way, regardless of your use case or industry. You can save time, money, and let AWS manage your infrastructure, without compromising scalability, security, or dependability.

Common customer use cases or solutions using AWS include:

Application Hosting
Backup and Storage
Content Delivery
Databases
E-Commerce
Enterprise IT

High Performance Computing
Media Hosting
On-Demand Workforce
Search Engines
Web Hosting

Categories
Sysadmin

RightScale Cloud management

RightScale is one of services which offer cloud-agnostice way to managing cloud services. They offer web-based GUI where you can manage your cloud’s subscriptions from Amazon, goGrid, Rackspace, Euclyptus and so-on.

The architecture is described here .. (image taken from Rightscale) .