4. In the confirmation message that appears, click Yes, Delete.
There is no charge for an empty bucket in Amazon S3, so you don't need to delete the bucket to avoid
charges. If you want to delete the bucket, however, you can do so.
To delete a bucket, you must first delete all of the objects in it.
To delete a bucket
1. Continuing from the previous procedure, right-click the bucket you want to delete, and then click
Delete.
2. In the confirmation message that appears, click Yes, Delete.
Run a Virtual Server on AWS
You can use Amazon Elastic Compute Cloud (Amazon EC2) to run and manage virtual servers on AWS.
Your servers are launched as EC2 instances and initialized with a machine image called an AMI.
In the free usage tier, you can launch a t1.micro Amazon EC2 instance. Micro instances provide a small
amount of consistent CPU resources and allow you to burst CPU capacity when additional cycles are
available. A t1.micro instance is well suited for low-throughput applications and websites that consume
significant compute cycles only occasionally.
To launch a virtual server
1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
2. In the Amazon EC2 console, click Launch Instance.
3. The Select an Amazon Machine Image (AMI) page displays a list of available AMIs. Select an AMI
that is marked Free tier eligible.This indicates that an AMI is compatible with the free usage tier.
For the purposes of this tutorial, select the Amazon Linux AMI.
4. On the Select an Instance Type page, ensure the t1.micro instance is selected, as this is the only
instance type you can run on the free usage tier.
Click Review and Launch to accept the default settings and let the wizard complete the rest of steps
for you.
5. On the Review Instance Launch page, you can review the settings for your instance. When you
are satisfied with your selections, click Launch.
6. In the Select an existing key pair or create a new key pair dialog box, select Create a new key
pair, enter a name for it, and then click Download Key Pair.This is the only chance for you to save
the private key file, so be sure to download it. Save the private key file in a safe place.You'll need
to provide the name of your key pair when you launch an instance and the corresponding private
key each time you connect to the instance.
When you are ready, select the acknowledgment check box, and then click Launch Instances.
7. It will take a few minutes for AWS to provision the server. When provisioning is complete, your EC2
instance appears in the EC2 console on the Instances page.
Connect to a Virtual Server on AWS
There are several ways to connect to a virtual server running on AWS; the most common way is to connect
to it using SSH.The Amazon EC2 Console provides a Java SSH Client, called MindTerm, that you can
use to connect to the virtual server directly from the console.This is the easiest way to connect to the
virtual server, but requires that you access the Amazon EC2 console using a browser with Java enabled.
23
Getting Started with AWS
Run a Virtual Server on AWS