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.
- Open the Amazon Management Console Web page, and select Instances, as shown in Figure 63.
Figure 63. Instance to shutdown
- Click the Instance Actions tab, and select Terminate from the drop-down options, as shown in Figure 64.
Figure 64. Instance actions
- Click Yes, Terminate when prompted with
Are you sure you want to terminate this instance?, as shown in Figure 65.
Figure 65. Terminate instances
Your instance enters shutting-down mode. In a few minutes, your
instance should shut down and display
terminated status, as shown in Figure
Figure 66. My instances view showing terminated instance
Follow these steps to delete EBS volumes and snapshots.
- Open the Amazon Management Console Web page, and select All Volumes, as shown in Figure 67.
- Click Refresh, if needed.
Figure 67. Management console view 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
- 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
- Click Delete.
- Click Yes, Delete, as shown in Figure 69.
Figure 69. Delete Volume dialog
The selected EBS volume is now in the
deleting state, as shown in Figure 70.
Figure 70. Deleting status
- 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.