1. launch of amazon web services linux virtual machine version 1.1.pdf

13
Instruction Manual for Launch of Amazon Web Services Linux Virtual Machine Instance Version 1.0 August 2014

Upload: easo-thomas

Post on 18-Sep-2015

219 views

Category:

Documents


2 download

TRANSCRIPT

  • Instruction Manual for Launch of Amazon Web Services Linux Virtual

    Machine Instance Version 1.0

    August 2014

  • 1

    Contents

    1 Creation of a Linux Virtual Machine Instance ................................................................................. 2

    2 Accessing your Linux Virtual Machine Instance from your Windows Desktop .............................. 7

  • 2

    1 Creation of a Linux Virtual Machine Instance

    Note: This manual requires a cloud hosting account with Amazon Web Services

    1.1 On your Windows Desktop, open your prefferred web browser such as

    Internet Explorer, Firefox, Chrome or Opera

    1.2 On your browser, visit the website for Amazon Web Services

    (http://aws.amazon.com)

    1.3 Login to your Amazon Web Services account

    1.4 From the navigation bar, view the options in the region selector and

    set it to Asia Pacific (Singapore)

    Note: Ensure the region setting is being set to Asia Pacific (Singapore) before moving on the next steps

    User

  • 3

    1.5 Select EC2 under the list of Amazon Web Services

    1.6 Press the Launch Instance button to create Instance

    1.7 For the AMI section, select the Community AMIs

    1.8 In the search box, enter ami-eafca7b8 to find the AMI version

  • 4

    1.9 Select the Ubuntu-trusty-14.04-i386 version

    1.10 Choose the Micro instance for the instance type

    1.11 Keep the Default Setting for Step 3, 4 and 5

  • 5

    1.12 Create the security group with the following setting

    Type Protocol Port Range

    SSH TCP 22

    HTTP TCP 80

  • 6

    1.13 Select Launch button to create instance

    1.14 Create or choose an existing key pair for accessing the instance. Save

    the pem key pair file somewhere on the computer for later use.

    1.15 Instance successfully created

  • 7

    2 Accessing your Linux Virtual Machine Instance from your

    Windows Desktop

    2.1 Download and install PuTTY and PuTTYgen version 0.62 from the

    PuTTY download page * Download page: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

  • 8

    2.2 Converting Private Key Using PuTTYgen

    2.2.1 Open up PuTTygen and select Conversion -> Import Key. Locate and select

    the .pem file that was saved earlier when launching an AWS instance.

    2.2.2 Enter the passphrase for the private key we going to create and again to

    confirm it.

  • 9

    2.2.3 Save the generated .ppk private key file somewhere in the computer.

    2.3 Copy the public DNS at AWS

  • 10

    2.4 Paste the public DNS into the Host Name column

    Note: Ensure the settings for Connection type is SSH and Port is 22.

    Note: Once you stopped the Amazon Web Services Instance, the Host Name will be changed, and different from the initial input of the host name

  • 11

    2.5 Setting up for the SSH authentication

    1) On the left side of the putty settings, navigate to Auth which is under SSH

    2) Browse for the .ppk file that is saved earlier when generated with PuTTYgen.

    3) Click Open to launch.

    2.6 Select Yes to cache the host key when launching for the first time

  • 12

    2.7 Login as Ubuntu

    2.8 Enter your passphrase that was entered in PuTTygen

    2.9 Successfully access the server. Proceed to install CKAN.

    1 Creation of a Linux Virtual Machine Instance1.1 On your Windows Desktop, open your prefferred web browser such as Internet Explorer, Firefox, Chrome or Opera1.2 On your browser, visit the website for Amazon Web Services (http://aws.amazon.com)1.3 Login to your Amazon Web Services account1.4 From the navigation bar, view the options in the region selector and set it to Asia Pacific (Singapore)1.5 Select EC2 under the list of Amazon Web Services1.6 Press the Launch Instance button to create Instance1.7 For the AMI section, select the Community AMIs1.8 In the search box, enter ami-eafca7b8 to find the AMI version1.9 Select the Ubuntu-trusty-14.04-i386 version1.10 Choose the Micro instance for the instance type1.11 Keep the Default Setting for Step 3, 4 and 51.12 Create the security group with the following setting1.13 Select Launch button to create instance1.14 Create or choose an existing key pair for accessing the instance. Save the pem key pair file somewhere on the computer for later use.1.15 Instance successfully created

    2 Accessing your Linux Virtual Machine Instance from your Windows Desktop2.1 Download and install PuTTY and PuTTYgen version 0.62 from the PuTTY download page2.2 Converting Private Key Using PuTTYgen2.2.1 Open up PuTTygen and select Conversion -> Import Key. Locate and select the .pem file that was saved earlier when launching an AWS instance.2.2.2 Enter the passphrase for the private key we going to create and again to confirm it.2.2.3 Save the generated .ppk private key file somewhere in the computer.

    2.3 Copy the public DNS at AWS2.4 Paste the public DNS into the Host Name column2.5 Setting up for the SSH authentication2.6 Select Yes to cache the host key when launching for the first time2.7 Login as Ubuntu2.8 Enter your passphrase that was entered in PuTTygen2.9 Successfully access the server. Proceed to install CKAN.