Skip to content

Cloud Computing

Jinho D. Choi edited this page Feb 26, 2018 · 2 revisions

Create an EC2 instance

  • Login to your AWS account.
  • Click the Launch Instance button on the Instances page.
  • Choose the instance type of Ubuntu Server 16.04 LTS (HVM).
  • Choose the t2.micro machine that is free-tier eligible. This instance type can be reconfigured later on.
  • Click the Review and Launch button.
  • When you click the Launch button, it will ask you to choose a key pair. Create a new key pair (*.pem) and save it to your local machine. You will not be able download this key pair again so make sure where you save it. DO NOT UPLOAD THIS IN ANY PUBLIC DOMAIN. Anyone with this key pair will be able to give serious damages to your AWS account.

Connect to your EC2 instance

  • Go to the Instances page.
  • Select the instance you just created.
  • Click the Connect button and copy the ssh command at the bottom. It should look something like the following:
    ssh -i "jdchoi.pem" ubuntu@ec2-xx-xxx-xx-x.compute-1.amazonaws.com
    
  • Open a terminal and go to the directory where your key pair is saved. Enter the ssh command you just copied on the terminal.
    cd /Users/jdchoi/workspace
    ssh -i jdchoi.pem ubuntu@ec2-xx-xxx-xx-x.compute-1.amazonaws.com
    
  • Say yes for the connection (this appears only for the first time).
    Are you sure you want to continue connecting (yes/no)? yes
    
  • If you see a welcome promp

Practical Approaches to Data Science with Text

Instructor


Emory University

Clone this wiki locally