Start now
With this change, you can now create a distribution that acts just like a static web site.
You can now set a default root object for any of your Amazon CloudFront distributions to duplicate this behavior for your own content. This object must be stored within the Amazon S3 bucket associated with the distribution. Once you have set the default root object, a request for the root URL of the distribution will return the contents of the default root object.
If you have ever set up a web site from scratch, you know that you have to handle the root of the web site in a special way so that requests for the site's root URL (e.g. http://aws.amazon.com) are handled properly. You generally map the root URL to an HTML document such as index.html using an entry in the web server's configuration file.
Amazon api provides us all the needed information. Any EC2 instance can get a lot of information about itself just by querying a web server using a REST-like API. Here is how we can get all the available metadata items:
curl http://169.254.169.254/latest/meta-data/
ami-id
ami-launch-index
ami-manifest-path
ancestor-ami-ids
block-device-mapping/
hostname
instance-action
instance-id
instance-type
kernel-id
local-hostname
local-ipv4
placement/
public-hostname
public-ipv4
public-keys/
ramdisk-id
reservation-id
security-groups
This means that for getting the public and private ips we only have to make two calls like this:
curl http://169.254.169.254/latest/meta-data/local-ipv4and
curl http://169.254.169.254/latest/meta-data/public-ipv4
We need a way to identify from inside the instance what hostname this should be configured. There are probably several ways to do this, but the most common is to specify this when the instance is started using the –user-data option of the ec2-run-instances command (or the short form -d). This will pass the custom data and make it available to the instance.
You will probably want to customize this based on your needs. Myself I assumed that I will use the same domain for all instances and I need to pass only the hostname. Since I don’t need any other parameters to the machine I can just do this:
ec2-run-instances <AMI> -d "myhostname" ...other params...
If you use more user data, then you will probably use it like “hostname=myhostname <other_variables>”. (in this case you will need to update the script bellow like this: HOSTNAME=`echo $USER_DATA | cut -f 1 -d , | cut -f 2 -d =`)
Export to ext3 partition:
Source=/vmfs/volumes/esxpublic/testvm2.vmdk
Destination=/vmimages/testvm2.vmdk
vmkfstools -i /vmfs/esxpublic/testvm2.vmdk -d 2gbsparse /vmimages/testvm2.vmdk
|
|
| Company name: | CLOUDSIGMA AG |
|
| Address: | Sägereistrasse 29 Glattbrugg 8152 Switzerland |
|
| Tel: | +41 (0)44 585 39 07 | |
| Fax: | +41 (0)44 732 60 43 | |
| Email: | info@cloudsigma.com | |
| Twitter: | www.twitter.com/CloudSigma/ |
Jun 23, 2010 rackspacecloud.com
At South by Southwest Interactive, Rackspace sponsored the InfoChimps Data Cluster Meetup and a “Non-Relational Database Smackdown” to help developers evaluate the costs and benefits of Cassandra, CouchDB and MongoDB. This panel features Rackspace’s own Stu Hood, Wynn Netherland of The ChangeLog, and Jan Lehnhardt from CouchDB. The panel also stars a surprise guest Werner Vogels, who comes from another hosting company that will remain nameless here. He is discussing the virtues of their own database, SimpleDB.
Bookmark or take about 45 minutes out of your day to watch this video both praising and panning various NoSQL alternatives, and please share what you think the right solution is in the comments.
Jun 16, 2010 rackspacecloud.com
The research done for this post was conducted by the Rackspace Cloud development team.
With that being said, sometimes it’s easier to understand the benefits of one API versus another by detailing out the differences. Rackspace Cloud Servers and Amazon EC2 are credited to be the most widely used cloud computing providers and we both have API’s, some similarities but mostly differences. In particular, EC2 has a number of features not currently available in Cloud Severs – the ability to upload an image, for example. Likewise, there are certain features on Cloud Servers that are not available on EC2 – the ability to schedule automated backups, for example, or server persistence after a shutdown. At their heart, however, both services offer a standard set of features:
Die Tesla M2050 und M2070 Computing-Module basieren auf der CUDA™ Architektur der nächsten Generation mit Codenamen „Fermi“ und ermöglichen die nahtlose Integration von Grafikprozessorberechnungen mit Hostsystemen für HPC-Anwendungen und große, skalierbare Rechenzentren. Tesla Grafikprozessoren der 20er Serie liefern erstmals mehr als die zehnfache Double-Precision-Leistung einer Quad-Core x86 CPU und verfügen als erste über ECC-Speicher. Die Tesla M2050 und M2070 Module gewährleisten alle Vorteile von Grafikprozessorberechnungen sowie maximale Zuverlässigkeit und nahtlose Integration mit Systemüberwachungs- und Verwaltungstools. So erhalten die IT-Administratoren von Rechenzentren mehr Flexibilität beim Einsatz von Grafikprozessoren in unterschiedlichen Rack- oder Blade-Konfigurationen, ohne dabei auf Remoteüberwachungs- oder Remoteverwaltungsoptionen zu verzichten.
Welcome to Hoopoe™!Hoopoe™ provides cloud services for GPU computing. Hoopoe™ is not just a cloud service, it allows you to distribute your tasks and data on cluster of multiple GPUs without spending much effort! Features
Alpha(α) testing phaseThe alpha testing phase for Hoopoe™ is about to begin soon. If you wish to join, it is only one click away from registering. During the alpha testing, Hoopoe's services will be provided for free. For more information or questions: support@hoopoe-cloud.com
|
Apr 4, 2010 communities.vmware.com
pref.autoFitFullScreen = "fitHostToGuest"
bios.bootDelay = "3000"
signal.suspendOnHUP = "TRUE"
signal.powerOffOnTERM = "TRUE"
You might also be interested in the guest power scripts, which depend on Tools being installed and are run inside the guest when it powers on/powers off/suspends/wakes from sleep. To see where these scripts are, open the Tools and select the Scripts tab.
defaults write com.vmware.fusion fluxCapacitor -bool YES
ethernet0.checkMACAddress = "FALSE"
RemoteDisplay.vnc.enabled = "TRUE"
RemoteDisplay.vnc.port = "5901"
mks.keyboard.swapAlt = "TRUE"
usb.generic.allowHID = "TRUE"
svga.noHWCursor = "TRUE"
usb.generic.allowHID = "TRUE"

vmi.present = "TRUE"
For example, with 32-bit Ubuntu 7.04, if you've done this correctly, the dmesg output should contain the line "Booting paravirtualized kernel on vmi" instead of "Booting paravirtualized kernel on bare hardware"
Note that VMI does not work with 64-bit guests. On newer machines, it is also unlikely to help, as the pain point it was created to address has been eliminated due to improvements in hardware-assisted virtualization.
| 32-bit guests | 64-bit guests |
|---|
debugStub.listen.guest32 = "TRUE"
debugStub.listen.guest64 = "TRUE"
| 32-bit guests | 64-bit guests |
|---|---|
| 32-bit guests | 64-bit guests |
|---|
target remote yourmachost:8832
target remote yourmachost:8864
| 32-bit guests | 64-bit guests |
|---|---|
file yourkernelfilehere
Comments (1)
Patrice Neff May 26, 2010