Your EC2 Instance. How to Connect to your EC2 Instance?

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

Customizing Putty to work with Consuls. Step 1Get Putty Go to the website –
Amazon Web Services (aws) B. Ramamurthy. Introduction  Amazon.com, the online market place for goods, has leveraged the services that worked for their.
ColdFusion On The Cloud
USING PUTTY TO CONNECT TO AWS EC2 Anshuman Biswas.
Creating a Biolinux AMI at Amazon’s EC2
Jun-15 1 Management Information Systems Class Web Server Usage Instructions.
Building Web Pages With Microsoft Office. Introduction This tutorial is for the beginning web builder. It utilizes software that you already have, Microsoft.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
DVG-N5402SP.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
February 2006Colby College ITS Using FTP. February 2006Colby College ITS Topics FTP Options at Colby For Mac Users For Windows Users.
Telnet/SSH: Connecting to Hosts Internet Technology1.
Accessing the Internet with Anonymous FTP Transferring Files from Remote Computers.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
1 Web Server Administration Chapter 9 Extending the Web Environment.
CNIT 132 Intermediate HTML and CSS Publish Web Page.
MCDevOps Infrastructure In One Hour. Sponsors Improving Enterprises Software Development.
Copyright© 2003 Avaya Inc. All rights reserved Upgrade to Communication Manager 2.0 with Migration to Linux 8.0 Purpose: This presentation was prepared.
Sponsored by the National Science Foundation Configuration Management For Experimenters: Ansible Hands-On Sarah Edwards, GPO.
1 John Magee 9 November 2012 CS120 Lecture 17a: Publishing Web pages.
Connecting to USF Network for Web Site SSH Secure Shell is the FTP program you will use to download your http files onto the USF server. To get the SSH.
Apache + Tomcat. Apache + Tomcat Download mod_webapp.so:
Hands-on Experience OS: CentOS 5.7 Cloud Software: Eucalyptus OpenSource Hypervisor: KVM Cloud Managed Interface: Hybridfox Demo Project: USGS-GMU.
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
A few Linux basics Network Monitoring & Management.
K. Liu, Q. Huang, J. Xia, Z. Li, P. Lostritto, Chapter 4 How to use cloud computing?, In Spatial Cloud Computing: a practical approach, edited by.
Logging into the linux machines This series of view charts show how to log into the linux machines from the Windows environment. Machine name IP address.
AE6382 Secure Shell Usually referred to as ssh, the name refers to both a program and a protocol. The program ssh is one of the most useful networking.
Network Security: Lab#3 Transport-Level Security Tools J. H. Wang May 12, 2011.
The Stanford Login Web Tools Workshop 2 Your Presenter: Laura Silberstein.
Lab 10 Department of Computer Science and Information Engineering National Taiwan University Lab10 – Debugging II 2014/12/2 1 /16.
Remote Desktop Services in Windows Server 2008 R2.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ”
Configuring Sourceforge’s CVS to work with Forte (3.0 or later) on WindowsNT and Windows 2000 Specific for MAExplorer.sourceforge.net Written by Eric Shen,
CS 7: Introduction to Computer Programming Java and the Internet Sections ,2.1.
C programming and compilers. At least 3 ways to compile C Using gcc in UNIX environment via chaos.cs.auckland.ac.nz Using gcc in Cygwin in Windows Using.
Lab 11 Overview Windows Server Last Labs Lab 12  Cisco Firewall.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
Configuring a LAN FTP Client Chapter 17 & 19. Setting up the physical layer Chapter 17 covers the basics of hubs, switches, routers and WAPs.
Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling.
| nectar.org.au NECTAR TRAINING Module 7 Launching and Connecting.
Setting up Dreamweaver to use your local WAMP testing Server
Installation of Ace-Extranet (SFTP). Step 1 – Go to ACEINDIA.com 1.Go to 2.Click on Technology 3.Now Click on Ace-Extranet.
Website Design:. Once you have created a website on your hard drive you need to get it up on to the Web. This is called "uploading“ or “publishing” or.
How To Get Started in Analysis with Atlas software FAQ on How to Get account at BNL
Planning, configuring, running and maintaining a web server -1.
Cygwin Tutorial 1. What is Cygwin? Cygwin offers a UNIX like environment on top of MS-Windows. Gives the ability to use familiar UNIX tools without losing.
+ Vieques and Your Computer Dan Malmer & Joey Azofeifa.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
PuTTY Introduction to Web Programming Kirkwood Continuing Education by Fred McClurg © Copyright 2016, All Rights Reserved ssh client.
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
Using Build A Step-by-Step Guide
Introduction and Getting Started guide Alex Zlotnik Technion
COP 4343 Unix System Administration
Hillsborough Community College
Labs – Installing a FTP Server
FTP - File Transfer Protocol
CompTIA Server+ Certification (Exam SK0-004)
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
PuTTY Download Putty from:
SAP R/3 Installation on WIN NT-ORACLE
CGS 3175: Internet Applications Fall 2009
Configuration Of A Pull Network.
Lecture 16B: Instructions on how to use Hadoop on Amazon Web Services
Cygwin.
Cygwin Tutorial 1.
Cygwin Tutorial 1.
Presentation transcript:

Your EC2 Instance

How to Connect to your EC2 Instance?

Connect from Unix/Linux/Mac You would need the key you downloaded EC2]$ chmod 400 MyKeyPair.pem EC2]$ ssh -i MyKeyPair.pem west-2.compute.amazonaws.com

Connect EC2 Instance from Windows On your computer, please download PuTTY,PuTTYgen, and Psftp from On your computer, please download PuTTY,PuTTYgen, and Psftp from

Convert the KeyPair associated with your instance from.pem file to.ppk file by using PuTTYgen Convert the KeyPair associated with your instance from.pem file to.ppk file by using PuTTYgen 1. Load you.pem file 2. Save it as.ppk file

Then use PuTTY to ssh your EC2 instance Then use PuTTY to ssh your EC2 instance Public DNS of your EC2 instance

Load the.ppk file

You can save your configuration for next use Then click “Open”

Login as ec2-user

Part II: Install Apache HTTP Server on your Instance Part II: Install Apache HTTP Server on your Instance

Connected to EC2 instance Check software package installed Check software package installed yum list installed yum list installed | more

Update all your currently installed package Update all your currently installed package sudo yum –y update sudo yum –y update

Install lynx – a text based browser Install lynx – a text based browser sudo yum install lynx sudo yum install lynx Install C++ compiler Install C++ compiler sudo yum install gcc sudo yum install gcc Install make Install make sudo yum install make sudo yum install make Install httpd Install httpd sudo yum install httpd sudo yum install httpd sudo service httpd start sudo service httpd stop sudo service httpd restart

Test Your Web Server

Part III Transfer files from and to your EC2 Instance Part III Transfer files from and to your EC2 Instance

Transfer from/to your Unix/Linux/Mac $ cd ~/.ssh create a file named “config”, add the following two lines to this file: (If this file already exists, add the following two lines to the end of the file) host ec compute-1.amazonaws.com identityFile ~/Keypairs1.pem Public DNS of your EC2 Your Keypair file

Use sftp to connect to your EC2 Upload file download file Ends sftp ~]$ sftp Connecting to ec us-west-2.compute.amazonaws.com... sftp> put MyKeyPair2.pem Uploading MyKeyPair2.pem to /home/ec2-user/MyKeyPair2.pem MyKeyPair2.pem 100% KB/s 00:00 sftp> get try.txt Fetching /home/ec2-user/try.txt to try.txt /home/ec2-user/try.txt 100% 6 0.0KB/s 00:00 sftp> bye ~]$

Transfer file from/to Windows Open PuTTY, save the session of the connection to your EC2 Open PuTTY, save the session of the connection to your EC2

Open the session List the files under the current direction on EC2 Change directory on EC2 Upload file Close the session