room 16-416 amazon web services ... - cloud object storage€¦ · amazon web services (aws)...

13
Laboratory of Precision Environmental Health 630 West 168th Street Room 16-416 New York, NY 10032 Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances (EC2) High-Performance Computing (EC2 and AMIs): By utilizing the higher network speeds offered through launching Amazon Machine Images (AMIs), the laboratory will utilize Elastic Cloud Computing 2 (EC2) for high performance genomic computing. Many of our large datasets take considerable time to run, and AMIs will help accelerate the speed by which lab members can complete computational jobs. Workflow*: Prerequisite: A computer, patience, excitement, and MFA/DUO Factor Login. If you need to enable this, please set itup at at https://cuit.columbia.edu/mfa *This tutorial is intended to be for Baccarelli Lab computers and is intended for Windows only. Step One. Login to your AWS Account at https://cuit.columbia.edu/aws Step Two. Create an Amazon EC2 Instance by clicking, “Launch Instance”.

Upload: others

Post on 28-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances (EC2)

High-Performance Computing (EC2 and AMIs): By utilizing the higher network speeds offered through launching Amazon Machine Images (AMIs), the laboratory will utilize Elastic Cloud Computing 2 (EC2) for high performance genomic computing. Many of our large datasets take considerable time to run, and AMIs will help accelerate the speed by which lab members can complete computational jobs.

Workflow*: Prerequisite: A computer, patience, excitement, and MFA/DUO Factor Login.

If you need to enable this, please set itup at at https://cuit.columbia.edu/mfa

*This tutorial is intended to be for Baccarelli Lab computers and is intended for Windows only.

Step One. Login to your AWS Account at https://cuit.columbia.edu/aws

Step Two. Create an Amazon EC2 Instance by clicking, “Launch Instance”.

Page 2: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Step Three. Ensure you select the timezone of US East (N. Virginia).

Step Four. Choose an Amazon Machine Image (AMI). For

lab computers, it is advisable to

Page 3: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

choose a Windows 2012 R2 Base or 2016 Server. You can also call up custom AMIs in this

step (My AMIs).

Step Five. Choose an Instance Type. Instances are virtual servers that can run applications.

They have varying combinations of CPU, memory, storage, and networking capacity. Learn

more about the best instance type for your computing requirements.

Next, Configure instance details. It is advisable to check off “protect against accidental termination”.

Page 4: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Step Seven. On the bottom right hand on the screen, click on “add storage”.

Next, add a new volume of storage (GB) to suit your requirements. Under “Encrypted”,

select the default option.

Page 5: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Step Ten. Add tags. It will help to identify which project this belongs to/cost.

This helps to identify a machine

Naming Convention:

Key: user

Value: uni

Step Eleven. On the bottom right hand on the screen, click on “Configure Security Group”.

Page 6: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Next, configure your security group. Under “source”, change this to your personal security

group using the drop-down menu.

Step Twelve. On the bottom right hand on the screen, click on “Review and Launch”.

Next, after confirming your details are correct, launch your instance:

Step Thirteen. Create a new key pair.

Select “create a new key pair” from the

drop-down menu and give it a unique

name.

Page 7: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Next, download your key pair.

And launch your instance.

Your instance should only take about 1 minute to launch. Click on “view instances” to see

your launch status.

Once your instance is running, click connect.

Page 8: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Click on “get password.” This

is the Key Pair you just created

and downloaded.

Choose the key pair you downloaded by utilizing “choose file”.

Next, click on “Decrypt Password”. Copy decrypted

password to clipboard, and save in an empty notepad

for future use.

Page 9: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

&

Step Fourteen. Connect to your AMI. On a Windows Machine, you can launch your

“Remote Desktop Connection (RDC)” from the Start Menu by typing “rdc” in the Search bar.

Page 10: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Remote Desktop Connection tool will launch. Click, “Show Options”.

Change the Connecting Computer to the IPv4 Public IP, retrievable here:

Page 11: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Changing the connecting computer field.

After clicking, “Connect”, enter the decrypted

password you saved into the Password field.

Page 12: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Click “Yes”.

Advanced:

If you are launching a LINUX AMI, ensure you have configured the applicable ports under

your security group to access the appropriate servers.

More information: https://aws.amazon.com/blogs/big-data/running-r-on-aws/

Attach an EBS-volume snapshot to your EC2 Instance

After your volume has been created from a snapshot, you can attach it to an instance. This

speeds up your configuration of a unique environment after launch. Please note that taking

an AMI snapshot during a running instance can have implications for the status of that

instance. When in doubt, it is safest to provide instance backup using EBS.

Thank You!

More Tutorials Available At: - https://aws.amazon.com/training/self-paced-labs/

Page 13: Room 16-416 Amazon Web Services ... - Cloud Object Storage€¦ · Amazon Web Services (AWS) Immersion Guide Elastic Compute Cloud Instances ... the laboratory will utilize Elastic

Laboratory of Precision Environmental Health

630 West 168th Street Room 16-416

New York, NY 10032

Prepared by Julia Knox Baccarelli Lab AWS Immersion Day 1/28/2019