EC2 & S3 Practice

Daily Goals – Perform basic tasks in S3; Practice using CLI to accomplish tasks in S3; Perform basic tasks in EC2

  • Created S3 bucket “Test1” using the CLI
  • Created a Test file “test.txt” on my local machine (desktop)
  • Moved “test.txt” file from my local machine into S3 bucket “Test1” using the CLI
  • Provisioned & launched a  EC2 Linux t2.micro instance “Test1” from the Management Console
  • Accessed “Test1” with EC2 Instance Connect (browser-based SSH connection)
  • Made numerous attempts to log into “Test1” using SSH and my private key file “Test1.pem” via Terminal from local machine
  • Assessed which Pricing Model would best meet the needs of a deployment

f1.2xlarge x 2 (Always On) – Reserve

No Up-Front-$105.12/month x 12 = 1,261.44/yr 37% off On-Demand

Up-Front-$1,175/year 41% off On-Demand

f1.2xlarge x 1-4 – On-demand @ $0.362/hr (100 hrs/yr)

-100 hrs x $0.362 = $36.20

  • Provisioned & launched a  EC2 Linux t2.micro instance “Test2” from the Management Console
  • Made numerous attempts to log into Test2 using SSH and my private key file (Test2.pem) via Terminal from local machine
  • Accessed “Test2” with EC2 Instance Connect (browser-based SSH connection)
  • Created new directory “testfiles” in “Test2” via EC2 Instance Connect
  • Created & launched an AMI “Test3” based on a snapshot of an existing instance storage volume “Test2”
  • Accessed “Test3” with EC2 Instance Connect (browser-based SSH connection)
  • Confirmed “testfiles” directory persisted from “Test2” to “Test3” using ls command.  They did not.