Can I connect to an amazon instance and create more instances?


Can I connect to an amazon instance and create more instances? I have heard this question several times now and the answer is yes. You are limited to running 20 On-Demand and 100 Spot Instances per region with Amazon EC2. If that not enough for you then you’ll need to file a Request to Increase the EC2 Instance Limit, to use more instances.

Each instance is basically a virtual machine running on amazons infrastructure, and each instance is allocated its own address allowing you to connect to it. Because each instance runs independently you can connect to as many as you want simultaneously.


So how do you go about launching another instance, well first you need to get an instance up and running, a good tutorial for this can be found here (or for windows). Once your new instance is up and running you’ll get a new public DNS  address for that instance.  You can find this address in the AWS Management Console, it is also worth remembering this address is unique.

Now to start another instance all you need to do is click the Launch Instance (there is no need to disconnect from your already running instance) on the management console and follow the same steps you used to start your first instance. This new instance will be completely independent of the first, it is much like adding a new serever to a rack. Once the instance its running you’ll be able to find its unique Public DNS address and connect to it independently of any other instance.

AWS Management ConsoleThis does however raise one problem, how do you know what instance is what? Well your probably not going to remember the entire Public DNS, nor are you going to remember Instance ID. Well Amazon EC2 has a new feature you can Tag you instances to give them more “Human Readable” names rather then the default codes applied to each instance. To take advantage of this feature you need to first select an instance (by clicking on it) in the management console then clicking on the “Tags” tab in the bottom panel:

AWS Tag TabNow to Add or Edit your tags click the “Add/Edit Tags” button:

Now add the tags you want, the key is the colour and value is the actual value for the instance. If you make a new key called name, every instance will have this, its the value that changes per instance. For example if you have separate Apache, SQL and Storage server’s you would make a key called name and name each one accordingly, this will help distinguish the serves when using the Management Console.



, , , , , , , , , , , , ,

Comments are closed.