Categories
Sysadmin

Elastic IP

The buzz word “Elastic” is the key player in cloud computing . The technique which amazon has adopted is termed as “Elastic IP” .

Imagine a scenario that you are running an EC2 instance with non-elastic IP (dont confuse that your EC2 instnace has dynamic ip and every time if you restart OS in EC2 it gets new IP, that is absolutely wrong !!) as EC2 do get the Fix IP

The only difference between the FIX-IP and Elasitc-IP is that Fix IP terminate when you terminate the Ec2 instance and if you start new fresh instance you get new IP .

So in above scenario if your webserver dies and you suddenly needed to start new EC2 instance , and if you dont have elastic IP , you have to update your DNS for the new Ec2’s IP which may take some time .. around 1-72 hrs DNS propogation.

If you already had ElasticIP you donot need to update your DNS and just attach that elastic Ip to your newly started EC2 .

More precisely as :

Elastic IP addresses are static IP addresses designed for dynamic cloud computing. Elastic IP addresses are associated with your account, not specific instances. Any elastic IP addresses that you associate with your account remain associated with your account until you explicitly release them. Unlike traditional static IP addresses, however, elastic IP addresses allow you to mask instance or availability zone failures by rapidly remapping your public IP addresses to any instance in your account.

Note: To ensure customers are efficiently using elastic IP addresses, we impose a small hourly charge when these IP addresses are not mapped to an instance. When these IP addresses are mapped to an instance, they are free of charge.

Categories
Sysadmin

windown on amazon cloud

Hi , I just did a quick test on EC2 instance with Windows 2003 . It was very easy ,  i used amazon supplied image i.e. AMI.

After right click on instance through Amazon management i can connect the terminal window as seen below.

Which password ? .. Hmm good question . Right click on windows instance in amazon mgt and click get password , it will show you encrypted password below that you see a textbox put the private key text which you downloaded earlier. and later it will show the password.

Categories
Sysadmin

If you know very basic about Amazon Cloud what is next ?

A Nice agreegation of resources , specially if you have read getting started guide .

http://docs.amazonwebservices.com/AWSEC2/2009-11-30/GettingStartedGuide/WhereGoFromHere.html

Categories
Sysadmin

Amazon Current Status

Amazon Web Services publishes our most up-to-the-minute information on service availability in the table below. Check back here any time to get current status information, or subscribe to an RSS feed to be notified of interruptions to each individual service. If you are experiencing a real-time, operational issue with one of our services that is not described below, please inform us by clicking on the “Report an Issue” link to submit a service issue report.

Click here http://status.aws.amazon.com/

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) .