Ubuntu 10.10 Maverick Meerkat in Amazon EC2
Last year, I wrote an article on how to run Ubuntu 9.10 in the Amazon Elastic Cloud (LJ, May 2010). But, the folks over at Canonical haven't been sitting on their laurels during the past year. They're so proud of the work they've done on their latest release, 10.10 Maverick Meerkat, they're offering a free 55-minute trial of it in Amazon's EC2 cloud. The best part is you don't need an Amazon EC2 account or a credit card. The wizards at Canonical have tied this in to their Launchpad software collaboration platform, so all you need is an account on launchpad.net to “get your cloud on”.
What you get for your 55 minutes is actually a fairly nice demo package. Your cloud instance consists of the equivalent of a 1.2GHz processor, 2GB of RAM, 160GB of disk space, full sudo-enabled root access and a fast local connection to the Ubuntu mirrors. The Ubuntu folks even provide a few preconfigured applications from which to choose, like WordPress, MoinMoin or Drupal 7. The really great part about this setup is that it renders most of my previous article obsolete—it's really easy to set up and launch your instance.
Before you log in to the “Ubuntu in the Cloud” Web site, you should generate a set of SSH keys on the client (or set of clients) you'll use to administer the cloud instance, and upload those to your account on launchpad.net. This is a prerequisite, because Amazon EC2 generally allows SSH access only via SSH keys. If you already have a launchpad.net account, it's easy to do. Just go to your account page, click on SSH Keys, then click on the green plus icon to add a new SSH key. Then, paste your key in the field. If you've never generated any SSH keys before, there's a great tutorial on the Ubuntu Wiki (see Resources). If you don't have an account on launchpad.net, you should. It's where you can file bugs and enhancements to Ubuntu and other projects, and it's easy to register for one.
Once you've uploaded an SSH key to launchpad.net, point your Web browser at the “Ubuntu in the Cloud” link (see Resources), and click the Try Ubuntu 10.10 button. You'll be prompted to enter your launchpad.net credentials if you're not already signed into Launchpad. Once your credentials are accepted, you'll see the options for your free EC2 instance. Select what you'd like to try (Base install, WordPress, MoinMoin or Drupal) and whether to use byobu (a screen-based terminal wrapper—I highly recommend it). After that, just agree to the Terms of Service, and click the big orange Launch button to start your instance. You'll see an Ubuntu logo with a little status indicator blinking away while the instance is built.
When the instance is ready for use, you'll see a countdown clock in your browser with the remaining time and the IP address of your instance. You can SSH in to your instance by logging in as “ubuntu@<ip address>”, or if you selected one of the preloaded software packages, like WordPress, the Web page will display a link you can use to get to the admin interface of your package.
Now that your instance is on its feet, you can do anything you'd do with an Internet-connected Ubuntu server—so long as you are done within an hour. You can configure it as a Web server, play around with LDAP, make it a mail server, or even fire up a honeypot (so long as you're done with it in an hour). Anything you can apt-get in Ubuntu, you can install in this server, so play with things like Apache, Squid or whatever servers you like. This is a full Ubuntu installation in Amazon's data center, so be sure to test-drive it!
The preconfigured software is pretty good as well. In this case, when I provisioned the instance, I selected the WordPress option, and I was pleasantly surprised to see WordPress ready to go. All I had to do was click the URL presented by the Web page once the instance was ready and answer a few WordPress-specific questions like “What do you want the site name to be?” and “What's the admin password for your WordPress site?” I literally had posted my first blog post to the instance within a couple minutes of it being live.
As your hour winds down, if you're SSH'd to the instance, you'll get a “wall” message ten minutes before your hour is up, another when there are five minutes remaining, and a final message at the one-minute mark. Once your time is up, the instance “powers off”, and the Amazon cloud automagically cleans up and deletes your instance, as well as any data you put there, so make sure you're not putting anything important there. It truly is a demo service.
Bill Childers is the Virtual Editor for Linux Journal. No one really knows what that means.
Pick up any e-commerce web or mobile app today, and you’ll be holding a mashup of interconnected applications and services from a variety of different providers. For instance, when you connect to Amazon’s e-commerce app, cookies, tags and pixels that are monitored by solutions like Exact Target, BazaarVoice, Bing, Shopzilla, Liveramp and Google Tag Manager track every action you take. You’re presented with special offers and coupons based on your viewing and buying patterns. If you find something you want for your birthday, a third party manages your wish list, which you can share through multiple social- media outlets or email to a friend. When you select something to buy, you find yourself presented with similar items as kind suggestions. And when you finally check out, you’re offered the ability to pay with promo codes, gifts cards, PayPal or a variety of credit cards.Get the Guide
|smbclient Security for Windows Printing and File Transfer||Mar 28, 2017|
|How to Calculate Flash Storage TCO||Mar 27, 2017|
|Non-Linux FOSS: Don't Drink the Apple Kool-Aid; Brew Your Own!||Mar 27, 2017|
|Three EU Industries That Need HPC Now||Mar 25, 2017|
|HOSTING Monitoring Insights||Mar 24, 2017|
|FinTech and SAP HANA||Mar 24, 2017|
- Non-Linux FOSS: Don't Drink the Apple Kool-Aid; Brew Your Own!
- How to Calculate Flash Storage TCO
- smbclient Security for Windows Printing and File Transfer
- Two Ways GDPR Will Change Your Data Storage Solution
- Returning Values from Bash Functions
- Preseeding Full Disk Encryption
- Hodge Podge
- GRUB Boot from ISO
- Three EU Industries That Need HPC Now
- HOSTING Monitoring Insights