Skip to content
Carlos A. Rueda-Velásquez edited this page Apr 26, 2018 · 3 revisions

AWS Instance Setup

  • Step 1: Select: Amazon Linux AMI 2017.09.1 (HVM), SSD Volume Type - ami-d874e0a0
  • Step 2: Select t2. medium
  • Step 3: Configure Instance Details
    • Select: Enable CloudWatch detailed monitoring
  • Step 4: Add storage
    • Increase storage to 20GB
  • Step 5: Add Tags
    • No tags added
  • Step 6: Configure Security Group
    • Select 'Add Rule'
    • Add HTTP (port 80) access
  • Step 7: Launch Instance
    • Select 'Create a New Keypair'
    • Give it a name and save

Adding User Credentials

  • Open a terminal as root user
    • ssh -i _keypair.pem_ ec2-user@ec2-34-216-150-176.us-west-2.compute.amazonaws.com
    • sudo adduser _username_
    • sudo passwd _username_
    • provide a password
  • Update sudo file to provide new user sudo privleges
    • NOTE: USE CAUTION WITH WHO THESE ARE PROVIDED.
    • Add the folloing text below "## Allow root to run any commands anywhere"
    • sudo visudo
      • root ALL=(ALL) ALL
      • _username_ ALL=(ALL) ALL

COR Setup

See https://github.com/ESIPFed/cor/blob/master/setup/setup-april-2018.md