Setting up a basic server can be useful for education or just exploring code. One potential tool is Amazon Web Services, which offers basic servers for free. Here is how to create your first server.

Part 1
Part 1 of 2:

Creating the Server

  1. 1
    Create or log in to your Amazon Web Services account. Make sure to write down the email address, user name, and password that you use.
  2. 2
    Go to your AWS Management Console and find EC2. It should be on the first column on the left, labeled "Compute."
    Advertisement
  3. 3
    Navigate to your instances. Look on the left menu under "Instances," and click Instances .
  4. 4
    Click the blue Launch Instance button to create a new instance. This will let you create your new server.
  5. 5
    Scroll down until you find the Ubuntu server. Click Select .
  6. 6
    Choose what type of server you want. If you aren't going to do anything big, then the t2.micro, which is free, may be enough for your needs. Once you've made a decent selection, click Review and Launch .
  7. 7
    Review your instance. Scroll through the details and make sure that they are what you want. This is your last chance to change anything before creating your server. If you are satisfied, click Launch .
    Advertisement
Part 2
Part 2 of 2:

Finishing Up

  1. 1
    Set up your key pair when prompted. The key pair can be used as a more secure alternative to a password. If you have a key pair already, you can use the existing one. Otherwise, create a new key pair. You will need to download a .pem file onto your computer.
    • On your hard drive, create a folder for your server. Inside that, make a folder called "ssh." Save the key pair into this folder.
    • Make sure you know where you saved your key pair. If you lose it, you won't be able to log into your server anymore.
  2. 2
    View your instances. Scroll down and click View Instances . This way, you'll be able to see your new server.
  3. 3
    Name your server something relevant. Hover over the blank space and a pencil icon will appear. Click the icon, type the name, and then click the check box so that it saves the new name. The name can be changed at any time. It's there to help you remember what the server is for.
  4. 4
    Check out your server's details. In the "Description" tab below your server's name, look at the information about your server. This will include the public IP address, which you will need in order to access and upload to your server.
    Advertisement

Expert Q&A

Ask a Question

      Advertisement

      About this article

      Thanks to all authors for creating a page that has been read 15,724 times.

      Is this article up to date?

      Advertisement