Andy Pavlo October 18, 2015October 18, 2015October 18, 2015 Running on EC2.

Slides:



Advertisements
Similar presentations
SSH SSH is “Secure SHell” Secure, compressed, widely supported, fast Allows both users to get jobs done, and also allows system administrators to sleep.
Advertisements

Virtual Machine Lifecycle StratusLab Tutorial (Orsay, France) 28 November 2012.
Useful Tools for Testing
Installing and Setting up mongoDB replica set PREPARED BY SUDHEER KONDLA SOLUTIONS ARCHITECT.
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
Setting up a Subversion repository By: Matt Krass Last Updated: 4/11/07.
Application Development On AWS MOULIKRISHNA KOPPOLU CHANDAN SINGH RANA.
Getting Started with GIT. Basic Navigation cd means change directory cd.. moves you up a level cd dir_name moves you to the folder named dir_name A dot.
Customized cloud platform for computing on your terms !
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
MCDevOps Infrastructure In One Hour. Sponsors Improving Enterprises Software Development.
Introduction to Shell Script Programming
AUTOBUILD Build and Deployment Automation Solution.
ISG We build general capability Introduction to Olympus Shawn T. Brown, PhD ISG MISSION 2.0 Lead Director of Public Health Applications Pittsburgh Supercomputing.
– Introduction to the Shell 10/1/2015 Introduction to the Shell – Session Introduction to the Shell – Session 2 · Permissions · Users.
Adding New Users User as an entity - username(UID), GID. UID - typically a number for system to identify the user. GID – a number that recognizes a set.
Compiled Matlab on Condor: a recipe 30 th October 2007 Clare Giacomantonio.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
Julien Thibault  Bells Labs develop a new operating system called “UNIX”  Written in C instead of assembly code  Able.
Launch SpecE8 and React from GSS. You can use the chemical analyses in a GSS data sheet to set up and run SpecE8 and React calculations. Analysis → Launch…
Git (Get) it done right! Practical Applied Version Control for Drupal site developers Peter Chen - Stanford School of Engineering Technical Webmaster.
Some Design Notes Iteration - 2 Method - 1 Extractor main program Runs from an external VM Listens for RabbitMQ messages Starts a light database engine.
Michael Still Google Inc. October, Managing Unix servers the slack way Tools and techniques for managing large numbers of Unix machines Michael.
Dream Team Corporation Library Management System National Innovation Foundation library Configuration and Testing Alexander Kanavin
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Oracle Data Integrator Agents. 8-2 Understanding Agents.
Andy Pavlo November 29, 2015November 29, 2015November 29, 2015 Testing H- Store.
Code and Document Management Paul E. Reimer 21 June 2008.
VApp Product Support Engineering Rev E VMware Confidential.
How to Deploy and Configure the Smart Net Total Care CSPC Collector
© 2008 Cisco Systems, Inc. All rights reserved.CIPT1 v6.0—1-1 Getting Started with Cisco Unified Communications Manager Installing and Upgrading Cisco.
ISG We build general capability Introduction to Olympus Shawn T. Brown, PhD ISG MISSION 2.0 Lead Director of Public Health Applications Pittsburgh Supercomputing.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Sponsored by the National Science Foundation Today’s Exercise.
(1) Introduction to Continuous Integration Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of.
WMarket For Adminstrators Install with Docker or the Automatic Script.
Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.
Configuration your environment Many user-configurable Unix programs (such as your shell) read configuration files when they start up. These configuration.
Installing VERITAS Cluster Server. Topic 1: Using the VERITAS Product Installer After completing this topic, you will be able to install VCS using the.
1 Murthy Esakonu June 3rd, 2009 Shenzhen China OpenSAF Developer Days 2009 Writing First OpenSAF Application Session OpenSAF.
CS 283Computer Networks Spring 2013 Instructor: Yuan Xue.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
VMware Certified Professional 6-Data Center Virtualization Beta 2V0-621Exam.
@Yuan Xue CS 283Computer Networks Spring 2011 Instructor: Yuan Xue.
Deterlab Tutorial CS 285 Network Security. What is Deterlab? Deterlab is a security-enhanced experimental infrastructure (based on Emulab) that supports.
Cloud Installation & Configuration Management. Outline  Definitions  Tools, “Comparison”  References.
Geant4 GRID production Sangwan Kim, Vu Trong Hieu, AD At KISTI.
Ubuntu Checklist. 1.Examine the ReadMe.txt file 2.Manage user and root passwords – sudo passwd change password of username –Change password policies in.
GETTING STARTED WITH AWS AND PYTHON. OUTLINE  Intro to Boto  Installation and configuration  Working with AWS S3 using Bot  Working with AWS SQS using.
Using Git with collaboration, code review, and code management for open source and private projects. & Using Terminal to create, and push commits to repositories.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
BY: SALMAN 1.
PTF for the PS Admin A PTF Overview for the PeopleSoft Administrator
BY: SALMAN.
Efficient development and deployment of Hydra projects using Vagrant
CReSIS Git Tutorial.
Andy Wang Object Oriented Programming in C++ COP 3330
Version Control overview
Lab 1 introduction, debrief
OPNFV Arno Installation & Validation Walk-Through
Getting Started with Contribution to Openstack
SSH SSH is “Secure SHell” Secure, compressed, widely supported, fast
Building Web Applications
Andy Wang Object Oriented Programming in C++ COP 3330
Docker in AWS ECS.
Lecture 16B: Instructions on how to use Hadoop on Amazon Web Services
SUSE Linux Enterprise Desktop Administration
Hadoop Installation Fully Distributed Mode
Presentation transcript:

Andy Pavlo October 18, 2015October 18, 2015October 18, 2015 Running on EC2

All of the hard work is done for you. Automatically deploy a fully configured cluster with shared file system. All dependencies are either in H-Store repository or on dept machines. Running on EC2

Create a new EC2 keypair and store it in your.ssh directory Automatic Deployment

Add alias to Fabric executable: Add EC2 access keys to environment: Environment Configuration alias fab='$HSTORE_HOME/tools/fab' export AWS_ACCESS_KEY_ID='XXXXXX XXXXXXX' export AWS_SECRET_ACCESS_KEY='X XXXXXXXXXXX' export AWS_ACCESS_KEY_ID='XXXXXX XXXXXXX' export AWS_SECRET_ACCESS_KEY='X XXXXXXXXXXX'

Config file defines the H-Store cluster configuration on Amazon. Can also uses any H-Store configuration parameters. Cluster Configuration ec2.site_type = c1.xlarge site.count = 4 site.partitions_per_site = 8 ec2.site_type = c1.xlarge site.count = 4 site.partitions_per_site = 8

Be sure to use your Github repository and/or branch: Note: This is a read-only clone. Cluster Configuration hstore.git = git://github.com/apavlo/h-store.git hstore.git_branch = strangelove hstore.git = git://github.com/apavlo/h-store.git hstore.git_branch = strangelove

One command to bring up cluster: Must be executed in ‘scripts’ directory. First tries to reuse stopped instances and then make new ones. Start Cluster $ fab -c hstore.fabric start_cluster

Update ~/.ssh/config Access EC2 Nodes Host *.amazonaws.com IdentityFile /home/pavlo/.ssh/hstore.pem User ubuntu UserKnownHostsFile /dev/null StrictHostKeyChecking no Compression yes Host *.amazonaws.com IdentityFile /home/pavlo/.ssh/hstore.pem User ubuntu UserKnownHostsFile /dev/null StrictHostKeyChecking no Compression yes

Use public address from EC2 info page. Use predefined commands to quickly jump to H-Store directories. Access EC2 Nodes $ ssh ec compute- 1.amazonaws.com $ hh # H-Store Home Directory $ hl # H-Store Logs Directory $ hh # H-Store Home Directory $ hl # H-Store Logs Directory

One command to execute workload: See source code for additional options. Can also login and manually invoke ‘hstore-benchmark’ Execute Benchmark $ fab -c hstore.fabric exec_benchmark:tpcc

One command to take it all down: You can also terminate instances: Stop Cluster $ fab -c hstore.fabric stop_cluster $ fab -c hstore.fabric stop_cluster:True

Fabric can be called directly from within a Python script. You are strongly encouraged to write repeatable experiment scripts. Experiment Scripting