Skip to content

Latest commit

 

History

History
95 lines (79 loc) · 4.95 KB

README.md

File metadata and controls

95 lines (79 loc) · 4.95 KB

Getting Started with AWS

Creating an AWS account

  1. Go to https://aws.amazon.com/
  2. Click Create an AWS Account
  3. If you have an amazon account login with your amazon credentials (If not, create an account)
  • Follow the instructions to create your account.
  • On the Contact Information page select Personal Account
  • For Support plan, the free option has already been picked, just click continue
  1. If the instructions have been followed, your AWS Account should be created.

Sign up for AWS Educate

  1. Go to https://www.awseducate.com/Application?apptype=student
  2. Fill out the form appropriately alt text
  1. Complete the verification process
  2. Your application should be approved within 1 minute and you will receive an approval email if you followed the steps correctly.

Apply $100.00 credit to your account

Your application approval email came with a promotional credit code

  1. Go to https://console.aws.amazon.com/billing/home?#/credits
  2. Enter your promo code and your credit should be applied

Creating your BIS180L instance

  1. Go to https://us-west-1.console.aws.amazon.com/ec2/v2/home?region=us-west-1
  • Make sure it says N.California in the top right corner
  1. Click on the blue button in the middle of the screen saying "Launch Instance"
  • It should say "Note: Your instances will launch in the US West (N. California) region" alt text
  1. Click on Community AMIs in the menu on the left
  2. In the search bar search for BIS180L
  3. Select BIS180L - ami-b18cd2d1 alt text
  4. On next page click on the 4th option down alt text
  • It should say "t2.medium (Variable ECUs, 2 vCPUs, 2.5 GHz, Intel Xeon Family, 4 GiB memory, EBS only)" on the screen now
  1. Click "6. Configure Security Group" at the top of the page
  2. Make sure "create a new security group" is selected. Then change Type to All TCP alt text
  3. Click Review and launch at the bottom of the page
  4. Click Launch
  5. Select "Create a new key pair" alt text
  • Name it whatever you want
  • Click the Download button
  • Press "Launch Instances"

Attaching Permanent IP address to instance

  1. Go to https://us-west-1.console.aws.amazon.com/ec2/v2/home?region=us-west-1#Addresses:sort=publicIp alt text
  2. Click "Allocate New Address"
  3. Click on "Actions" followed by "Associate Address"
  4. On the pop-up window click on the instance box and the name of your instance will pop up, click on it followed by "Associate" at the bottom of the window alt text

Connecting to your Instance for the first time

Connecting this way will only be used doing initial setup and incase something goes wrong

  1. Go to https://us-west-1.console.aws.amazon.com/ec2/v2/home?region=us-west-1#Instances:sort=securityGroupNames alt text
  • Here you'll find your instance
  • Take note of your Public IP (you'll need this later)
  1. Click Connect (This will open a new window) alt text
  • Under Example: copy the line which starts with "ssh"
  1. Open up your Terminal interface (ie. GitBash (Windows), Terminal(Mac))
  2. Paste in the line you copied alt text
  • You will have to change where it says "root" and replace it with "ubuntu"
  1. You should now be logged into your Instance

First time Setup

  1. While logged into your Instance
  2. Enter sudo passwd ubuntu
  • Enter a new password you want to use
  • This password will be used to log into Rstudio and to log into your instance if you lose you keypair file

Connecting to your Desktop Interface

  1. Open whatever VNC viewer you wish to use. IE RealVNC
  2. Your VNC server will be your Public IP you noted earlier except you'll add ":1: to the end of it
  • Ex: 127.0.0.0:1
  1. You will be asked to enter a password, the password is "Genomics"
  2. You should now be able to see your desktop alt text