Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Deploy your database applications and projects on the cloud

Using IBM DB2 data server and Amazon Elastic Compute Cloud (EC2)

Rav Ahuja (rsahuja@ca.ibm.com), Senior Product Manager, IBM
Rav Ahuja is a Senior Product Manager for Data Management at IBM and is based in the Toronto Lab. He has been working with DB2 since version 1, and he has held various roles in DB2 development, technical support, marketing, and product management. In addition to product strategy and evangelism, Rav spends his time helping customers and business partners around the globe benefit from DB2 solutions using emerging technologies and cloud computing. He is a frequent presenter at events in many countries, and he has written numerous papers, articles and books related to DB2. In his spare time, Rav helps maintain ChannelDB2.com, a social network that aggregates DB2 related videos, blogs, podcasts, and so on. Rav holds a Computer Engineering degree from McGill University and an MBA from University of Western Ontario.
Bradley Steinfeld (bsteinfe@ca.ibm.com), Software Developer, IBM
Bradley Steinfeld is a software developer and an open-source-software evangelist based out of the IBM Toronto Lab. He is one of the first IBMers to work with DB2 on the cloud, and he has become an expert on various cloud technologies (Amazon EC2, CloudBurst, Eucalyptus, and so on). He has a Bachelor of Mathematics from the University of Waterloo.

Summary:  Cloud computing is an increasingly popular paradigm that can significantly accelerate development and prototyping cycles. In this tutorial you will learn how you can easily deploy your database applications and projects on the cloud in just minutes using IBM® DB2® data server and Amazon Elastic Compute Cloud (EC2). No prior cloud computing or DB2 experience is necessary.

Date:  28 Jan 2010
Level:  Intermediate PDF:  A4 and Letter (2313 KB | 39 pages)Get Adobe® Reader®

Activity:  41099 views
Comments:  

Before you start

Introduction

IBM DB2® is a leading enterprise-proven data server for managing relational and XML data. Amazon Web Services (AWS) is one of the most popular public cloud computing environments. Amazon and IBM teamed up to make running DB2 on Amazon EC2 quick, easy, and inexpensive.

This tutorial shows you how to get started with DB2 on Amazon EC2. You will walk through:

  1. Creating an Amazon Web Services (AWS) account
  2. Securing your Amazon Elastic Compute Cloud (EC2) environment
  3. Launching instances of Amazon Machine Images (AMIs) preloaded with DB2
  4. Performing initial configuration of your DB2 AMI instances
  5. Working with your database
  6. Creating a snapshot of your database volumes on Elastic Block Storage (EBS)
  7. Shutting down your DB2 instances and deleting EBS volumes and snapshots

You can also watch a 5-minute video version of this tutorial.

Understanding deployment options

There is a lot of flexibility for running DB2 on EC2. You can bring your existing DB2 licenses to Amazon EC2 and create your own DB2-based Amazon Machine Images (AMIs), or you can use pre-built DB2 AMIs offered by IBM and Amazon Web Services (AWS). Two types of pre-built DB2 AMIs are available:

  • Production-ready (paid) AMIs
  • Development-use (free) AMIs

Production-ready AMIs are available for DB2 Express and DB2 Workgroup. When you use these AMIs, you are effectively renting DB2 by the hour. An hourly charge is associated with using these AMIs, which includes the DB2 license fee, the operating system fee, and the EC2 instance charges. The pricing for these AMIs is based on a pay-per-use model. That is: you only pay when the DB2 instances are running.

Development-use AMIs for DB2 are based on DB2 Express-C, the free edition of DB2. So, when you use the IBM development-use AMIs, you do not incur any DB2 license charges. Therefore you are effectively just paying for EC2 instance usage and any other AWS services you use.

This tutorial describes how to use the DB2 Express-C 9.7 development-use AMIs from a Linux® workstation. The steps to use other DB2 AMIs from Windows® systems are similar.

1 of 12 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management,
ArticleID=465178
TutorialTitle=Deploy your database applications and projects on the cloud
publish-date=01282010
author1-email=rsahuja@ca.ibm.com
author1-email-cc=
author2-email=bsteinfe@ca.ibm.com
author2-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers