vmd & namd on elastic compute cloud (ec2) instance of ... · pdf filevmd & namd on...

33
VMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Upload: dangtuyen

Post on 30-Mar-2018

238 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

VMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Page 2: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Start VMD & NAMD AMI(once you have created your AWS account)

AMI - Amazon Machine Image

Amazon Marketplace - https://aws.amazon.com/marketplace/

Search for “VMD” or “NAMD” or go directly to VMD and NAMD AMI link

Page 3: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Important info:

• Description of the AMI• AWS region

o Pricingo Instance types

Start VMD & NAMD AMI(once you have created your AWS account)

Page 4: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Start VMD & NAMD AMI(once you have created your AWS account)

Important info:

• Description of the AMI• AWS region

o Pricingo Instance types

• Usage instructions• Support details

Page 5: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Start VMD & NAMD AMI(once you have created your AWS account)

Press Continue

Page 6: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Important info:

• Pricing• Instance type selection• All default options of the AMI

Start VMD & NAMD AMI(once you have created your AWS account)

Page 7: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Start VMD & NAMD AMI(once you have created your AWS account)

Important info:

• Pricing• Instance type selection• All default options of the AMI• Select security key pair (bottom of

the page)o If we don’t have one?!

Page 8: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Generate a Key Pair file(once you have created your AWS account)

Go to aws.amazon.com

• AWS Management Console

Page 9: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Generate a Key Pair file(once you have created your AWS account)

Go to aws.amazon.com

• AWS Management Console• “All services” > Compute > “EC2” v

Page 10: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Generate a Key Pair file(once you have created your AWS account)

Go to aws.amazon.com

• AWS Management Console• “All services” > Compute > “EC2”• “Network & Security” > Key Pairs

Page 11: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Generate a Key Pair file(once you have created your AWS account)

Go to aws.amazon.com

• AWS Management Console• “All services” > Compute > “EC2”• “Network & Security” > Key Pairs• “Create Key Pair”

o Save the *.pem file (important to transfer files)

Page 12: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Start the VMD & NAMD AMI(once you have created your AWS account)

Important info:

• Pricing• Instance type selection• All default options of the AMI• Select security key pair

o If we don’t have one?!o We do have a *.pem fileo Select you Key pair

Page 13: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Start the VMD & NAMD AMI(once you have created your AWS account)

Important info:

• Pricing• Instance type selection• All default options of the AMI• Select security key pair

o If we don’t have one?!o We do have a *.pem fileo Select you Key pair

• “Launch with 1-click”

Page 14: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Start the VMD & NAMD AMI(once you have created your AWS account)

Important info:

• Pricing• Instance type selection• All default options of the AMI• Select security key pair

o If we don’t have one?!o We do have a *.pem fileo Select you Key pair

• “Launch with 1-click”

Page 15: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Connect to the InstanceGo to your AWS console

From AWS Website From AWS Marketplace

Page 16: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Connect to the InstanceGo to your AWS console

v

Page 17: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Connect to the Instance

IP for DCVDCV Password

Public DNS for SFTP

Page 18: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Connect to the Instance

Once the instance is running:

• Open NICE DCV Endstationo http://www.nice-software.com

• VNC Server: <IP for DCV>:5901• Connect• Password: <Instance ID>

Page 19: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Enjoy It

Page 20: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Using a SFTP program:

• FileZilla (Mac/Windows/Linux)o https://filezilla-project.org/

Transfer Files to and from a Running Instance

Page 21: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Transfer Files to and from a Running Instance

Using a SFTP program:

• FileZilla (Mac/Windows/Linux)o https://filezilla-project.org/

• Edit(Preferences)>Settings>Connection>SFTP,Click"Addkeyfile”o Addthe*.pemfilecreatedbeforeo PressOk

Page 22: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Using a SFTP program:

• FileZilla (Mac/Windows/Linux)o https://filezilla-project.org/

• Edit(Preferences)>Settings>Connection>SFTP,Click"Addkeyfile”o Addthe*.pemfilecreatedbeforeo PressOk

• File > Site Managero Host: Public DNSo Protocol: SFTPo Logon Type: Ask for passwordo User: ubuntuo Password:<empty> Public DNS for SFTP

Transfer Files to and from a Running Instance

Page 23: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

To Transfer files:

• Drag & Drop files and folders from one side to the other

Your machine Amazon Instance

Transfer Files to and from a Running Instance

Page 24: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Stop and Terminate an Instance

o Stop▪ The same effect as shutting down a

workstation.▪ No data is lost.▪ Storage charges

o Terminate▪ Completely delete the instance. ▪ All data is lost.▪ No storage charges

Instance console:• Actions > Instance State:

Page 25: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Define my Billing Notifications

Budgets:• Track costs with AWS use • Send notifications when the

bill is approaching the limit defined for the Amazon Cloud:

AWS website:• My Billing Dashboard

Page 26: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Define my Billing Notifications

AWS website:• My Billing Dashboard• Budgets (left side bar)

Budgets:• Track costs with AWS use • Send notifications when the

bill is approaching the limit defined for the Amazon Cloud:

Page 27: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Define my Billing Notifications

AWS website:• My Billing Dashboard• Budgets (left side bar)

Budgets:• Track costs with AWS use • Send notifications when the

bill is approaching the limit defined for the Amazon Cloud:

Page 28: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Define my Billing Notifications

AWS website:• My Billing Dashboard• Budgets (left side bar)• Create budget

Budgets:• Track costs with AWS use • Send notifications when the

bill is approaching the limit defined for the Amazon Cloud:

Page 29: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Define my Billing Notifications

From Amazon’s website:

Page 30: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Define my Billing Notifications

Budget details:• Name: Workshop (example)• Start date: 04/17/2017• End date: 04/21/2017• Budgeted Amount: $50

TCBG Urbana 2017 workshop values used as example

Page 31: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Define my Billing Notifications

Budget details:• Name: Workshop (example)• Start date: 04/17/2017• End date: 04/21/2017• Budgeted Amount: $50

Include costs related to:• Linked Account

• Select your account

TCBG Urbana 2017 workshop values used as example

Page 32: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Define my Billing Notifications

Notifications:• Notify me when: actual• costs are: greater than• 50% or 75%*• Email contacts: add your

email address*allow some time to receive the email to make sure to not pass over the budget

TCBG Urbana 2017 workshop values used as example

Page 33: VMD & NAMD on Elastic Compute Cloud (EC2) instance of ... · PDF fileVMD & NAMD on Elastic Compute Cloud (EC2) instance of Amazon Web Services (AWS)

Define my Billing Notifications

Press Create

Notifications:• Notify me when: actual• costs are: greater than• 50% or 75%*• Email contacts: add your

email address*allow some time to receive the email to make sure to not pass over the budget

TCBG Urbana 2017 workshop values used as example