Hopefully you have already signed up for your Amazon Web Services (AWS) account. It’s simple & straight forward so I won’t be going over that here.
Once you are signed in, you will go to your control panel, shown below.
Once you can see this screen you are on your way to playing in the cloud. For this post we will concentrate on EC2 and spinning up an instance. It’s short & sweet and easy to accomplish. Click on the EC2 link to go into the EC2 console. It will be from here that we will be launching virtual machines (AWS refers to them as instances). Clicking on the link will take you to the EC2 specific console.It will take no more than 10 minutes from here to get your first virtual server up and running. As you can see in the screen below, the yellow highlighted area is our starting point.
Click on “Launch Instance”. This will take you to another view that will allow you to choose the type of machine you want to deploy. You can upload your own virtual machines that can be deployed on EC2, but aren’t covering that in this post.
There are 4 items to make note of here:
- Naming your instance. This is actually optional, but a good practice none the less. Just type in a name that you want to use for your own benefit.
- Key Pair. Since I am assuming this is your first time in, you don’t have a key pair established yet. You need one in order to later connect to your instance. So, select “Create New” in order to create your key pair file. Amazon’s documentation on key pairs can be found here. In general you want to:
- Open the Amazon EC2 console
- Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
Click Key Pairs in the Navigation pane.
- The console displays a list of key pairs associated with your account.
Click Create Key Pair.
- The Key Pair dialog box appears.
Enter a name for the new key pair in the Key Pair Name field and click Create.
- You are prompted to download the key file.
Download the key file and keep it in a safe place. You will need it to access any instances that you launch with this key pair.
- Choose the AMI you will be launching. AMI = Amazon Machine Instance and is how Amazon refers to the virtual machines it provides to its customers. You can choose any AMI you’d like… but I’d stay in the free tier of service by selecting one that is starred & noted as “free tier eligible”. For this post I’m selecting the Amazon Linux AMI (which I believe is a Debian Linux distribution). It has a lot of the basics contained within it and it’s easy to add-on to if you want.
- Once you have items 1-3 take care of, click “Continue” to start the process of launching your instance (virtual server).
You will be prompted with another screen after clicking “Continue”.
For this post, we’ll just click “Launch” at this point and get the instance running.
You can close this screen. The instance will spin up quite quickly (if you chose a Windows instance it’ll take longer). You can now see your instance details by clicking on the left menu, selecting “Instances”.
Now there’s plenty more we can do here… but I think that’s plenty for “Getting Started”. In the next post we’ll connect to the running server and do a few basic checks. I’ll be running Linux again… so be prepared for a prompt based view. I may do a separate post on running a Windows instance since you’d use SSH to connect to Linux and RDP to connect to Windows.
Get your free micro instance running and we’ll get connected to it in the next post. Let me know your thoughts/comments/questions and I’ll do what I can to help you out.
Until next time…