Continued from Part 1 – Introduction
Signing up to Amazon EC2 and starting your first image
- Sign up to Amazon’s AWS service at http://aws.amazon.com
- You will be prompted for payment details, but you won’t be charged if you use Amazon’s free Micro EC2 instance
- Wait for your account to be created – you will get an email once done, but it’ll take a few hours (it took me 3 hours)
- Log back into http://aws.amazon.com and select “Amazon EC2”
- Select the closest region to yourself in the left hand side
- Select “Launch instance” and, if prompted, select “Launch classic wizard”
- Select, from the Quck Start tab, the “Basic 64 Bit Amazon Linux AMI” image. This should be near the top and indicated with a big gold star to indicate “Free tier eligible if used with a micro instance”. Click continue
- Set the number of instances to 1 and the Instance type to “Micro”.
- Under “Launch instances”, select an EC2 availability zone or just leave it set to “No preference”. Click continue.
- Ignore the “Advanced instance options” and just click continue
- Ignore the Tags page and just click continue
- Select “Create a new Key Pair” and give it a name (such as AmazonInstance) and then “Create and download your key pair” and save the file some where important. Click continue.
- On the “Create a new security group”, create a name group called “JenkinsSSH” with a description of “Web and SSH access” and:
- Create a new inbound rule with “Custom TCP rule”, port range “8080”, Source “0.0.0.0/0”. Click Add rule
- Create a new inbound rule with “Custom TCP rule”, port range “22”, Source “0.0.0.0/0”. Click Add rule
- Click “Launch” and wait a couple of minutes
- Once it has launched, scroll down the bottom half of the “My Instances” panel until you see the “Public DNS” and make a record of that entry (ec1-23-456-78-901.xx-yyyy-1.compute.amazonaws.com)
Continued in Preparing PuTTY for Amazon EC2