Skip to main content

If you don't have an IBM ID and password, register here.

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

The first time you sign into developerWorks, a profile is created for you. This profile includes the first name, last name, and display name you identified when you registered with developerWorks. 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.

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.

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®

Comments:  

G. Shutting down your DB2 instances and deleting EBS volumes and snapshots

To prevent charges for your AWS resources while they are not use in use, including EC2 instances, EBS volumes, and snapshots, ensure that they are shutdown. For example, shut down any EC2 instances that you have launched during the tutorial so your credit card is not charged beyond the tutorial. Follow these steps to shut down your DB2 instances.

  1. Open the Amazon Management Console Web page, and select Instances, as shown in Figure 63.

Figure 63. Instance to shutdown
Shows the instance
  1. Click the Instance Actions tab, and select Terminate from the drop-down options, as shown in Figure 64.

Figure 64. Instance actions
Shows dropdown of instance actions
  1. Click Yes, Terminate when prompted with Are you sure you want to terminate this instance?, as shown in Figure 65.

Figure 65. Terminate instances
Popup to verify termination

Your instance enters shutting-down mode. In a few minutes, your instance should shut down and display terminated status, as shown in Figure 66.


Figure 66. My instances view showing terminated instance
Shows terminated status

Deleting an EBS volume

Follow these steps to delete EBS volumes and snapshots.

  1. Open the Amazon Management Console Web page, and select All Volumes, as shown in Figure 67.
  2. Click Refresh, if needed.

Figure 67. Management console view of Volumes
Shows status of volumes

If you already stopped the instance to which the EBS volume was attached, the volume shows a status of available. Deleting an EBS volume with any status other than available is not advised.

  1. Select the EBS volume you want to delete. For this tutorial, you might have only one volume to select, as shown in Figure 68.

Figure 68. EBS volume
Shows checking the EBS volume
  1. Click Delete.
  2. Click Yes, Delete, as shown in Figure 69.

Figure 69. Delete Volume dialog
Are you sure you want to delete this volume?

The selected EBS volume is now in the deleting state, as shown in Figure 70.


Figure 70. Deleting status
Shows status of volume on console
  1. If the selected volume is not removed from the page, refresh the page.

If you created any other snapshots during this tutorial, ensure they are also deleted from the Amazon console.

8 of 12 | Previous | 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).