| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.

Slides:



Advertisements
Similar presentations
Welcome to WebCRD.
Advertisements

Data Transfer Data Import Data Export Database Backup and Restore Uninstalling and re-installing LIMS.
TS 313 Multimedia Applications Welcome to TS 313 Multimedia Applications There is no audio lecture associated with this set of introduction slides Refer.
Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
Office 365 Presented by User Services of Library & Information Services.
HNA-Drive Familiarization Presentation. From the address bar in your preferred internet browser, navigate to Site supports: Internet.
How to Guide: Step-by-Step introduction on how to Manage your References Pavlinka Kovatcheva, Sciences Librarian Library training instruction for Sciences.
Creating an AMI at Amazon’s EC2 Joe Steele
Creating a Biolinux AMI at Amazon’s EC2
Exploring the Internet Creating and setting up your website Instructor: Michael Krolak Instructor: Patrick Krolak See also
1 Technology Readiness Maryland /2015 Admin Schedule 2 AssessmentOnline/CBT Testing Dates PARCC - PBAMarch 2 – May 8 MSA ScienceApril 13.
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
Programming with App Inventor Computing Institute for K-12 Teachers Summer 2012 Workshop.
A crash course in njit’s Afs
Introduction to UNIX/Linux Exercises Dan Stanzione.
MCB Lecture #3 Sept 2/14 Intro to UNIX terminal.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
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.
Using the “Setup Assistant” to configure your new Mac Personalizing your new Mac.
N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks.
Accessing Barney Off- Campus How can I get my H: files when I am not on the GU network? Business 111 Edward Mitchell Fall 2006.
Presented by Berwick Academy ICT Technical Services
Welcome to Keyboarding Pro DELUXE ® Get Started Get Started Create Your Student Record Create Your Student Record The Main Menu The Main Menu Send Files.
| nectar.org.au NECTAR TRAINING Module 7 Launching and Connecting.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
| nectar.org.au NECTAR TRAINING Module 9 Backing up & Packing up.
1 OPOL Training (OrderPro Online) Prepared by Christina Van Metre Independent Educational Consultant CTO, Business Development Team © Training Version.
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.
StopPreviousNext Vicnet Internet training course Workbook 7 Working with pictures on the Internet Easy English workbook July 2010.
1 ITI 1120 Lab # 1 An Introduction to the Lab Environment Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot.
Instructional Technology & Design Office or Box at U of I: Cloud Services Presented by Kate Rojas.
Diagnostic Pathfinder for Instructors. Diagnostic Pathfinder Local File vs. Database Normal operations Expert operations Admin operations.
Chapter 3 Installing and Learning Software. 2Practical PC 5 th Edition Chapter 3 Getting Started In this Chapter, you will learn: − What is in an application.
Module 3 Configuring File Access and Printers on Windows 7 Clients.
DoC Private IaaS Cloud Thomas Joseph Cloud Manager
Introduction to Taverna Online and Interaction service Aleksandra Pawlik University of Manchester.
| nectar.org.au NECTAR TRAINING Module 7 Launching and Connecting.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
| nectar.org.au NECTAR TRAINING Module 9 Backing up & Packing up.
Alessandro Cardoso, Microsoft MVP Creating your own “Private Cloud” with Windows 10 Hyper- V WIN443.
MOBILE ELECTRONIC DOCUMENTATION (M.E.D.) OVERVIEW OF FUNCTIONS Presenters: Ivy Matthews RN MSN, HBPC Program Director Lebanon VAMC Charles Tyler III RN.
Practical Kinetics Exercise 0: Getting Started Objectives: 1.Install Python and IPython Notebook 2.print “Hello World!”
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
How to complete and submit a Final Report through Mobility Tool+ Technical guidelines Authentication, Completion and Submission 1 Antonia Gogaki IT Officer.
Introductory Tutorial: OpenStack, Chef, Hadoop, Hbase, Pig I590 Data Science Curriculum Big Data Open Source Software and Projects September Geoffrey.
GETTING STARTED WITH AWS AND PYTHON. OUTLINE  Intro to Boto  Installation and configuration  Working with AWS S3 using Bot  Working with AWS SQS using.
Windows Vista Configuration MCTS : Internet Explorer 7.0.
SCI-BUS is supported by the FP7 Capacities Programme under contract nr RI CloudBroker usage Zoltán Farkas MTA SZTAKI LPDS
How to Sync Android Phone to Computer (PC/Mac)? Are you a person that always has your Android phone in your hands? Nowadays, a cell phone is not just for.
Meetoo Lite PowerPoint Add-In Guide
Holland Computing Center STAT802 Create and access Anvil Windows 10 SAS instance 01/23/2017.
Development Environment
Welcome © GTM Software. Welcome © GTM Software.
Investigation authentication using AAF for the CVL on NeCTAR
Hillsborough Community College
StratusLab Tutorial (Bordeaux, France)
Upgrade Nebula to OpenStack Newton
OneDrive for Business User Guide
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
slides borrowed and adapted from Alex Mariakis and CSE 390a
Lab 10 Instructions You can use g++ on build server, visual studio on local machine or your preferred C++ IDE. Important Note: For your grade, please show.
OpenStack-alapú privát felhő üzemeltetés
Lecture 16B: Instructions on how to use Hadoop on Amazon Web Services
Remote Computing Services Cloud connection Distributed system
Windows Operating System
DIBBs Brown Dog Tutorial Setup
Presentation transcript:

| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard

Everything in the last modules can be done using command line only! Covered in this module: Using command line for Launching and terminating an instance Taking snapshots of instances and re-launching from snapshots Creating and deleting volumes Making backups and taking snapshots of volumes Accessing the object store This module is made up of a collection of exercises, performing resource management in the command line. A demo will be given to each exercise, after which it’s your turn.

Beyond the Dashboard Prerequisites for this Module: You must be familiar with all terminology and concepts from the last modules, in particular Module 7 and 9. While you don’t need to be familiar with the command line, it is helpful if you are. It is great if you already have a resource allocation including Volumes – if you don’t, you may still watch the demonstration. Preparation: Open a terminal on your local computer (on Windows, open the Windows Command Line). Open the On-Line Documentation which contains detailed instructions to all exercises

OpenStack clients OpenStack provides command line clients which allow you to manage NeCTAR resources. Different command line clients available, e.g. swift for object store access, nova for compute resource management, etc. A more recent version of OpenStack provides only one command line tool called openstack which can be used for all resource management tasks. In this course, we will use this openstack tool. You may install the command line clients on any computer, e.g. on your VM or your local computer (Win/Mac/Linux).

OpenStack clients There are also application programming interfaces (APIs) available for Python, C++, Java and more. APIs are not part of this tutorial — for a list of known software development kits refer to

OpenStack clients Exercise 1: Install the openstack command line client on your computer. Follow instructions in the On-Line Documentation! Summary: Windows Install Python incl. pip from Install setuptools (see docs). Open windows command line: $ pip install pyOpenSSL $ set PATH=%PATH%; C:\Python27\Scripts $ pip install python- openstackclient Mac OS X: $ brew install python or install from Install setuptools (see documentatiaon). Upgrade setuptools and install clients: $ sudo pip install --upgrade setuptools $ sudo pip install python-openstackclient Ubuntu Linux: $ sudo apt-get install python-openstackclient

OpenStack clients The openstack command line client is now installed on your computer. Before you can use it, you need to load your credentials, so the client can connect to your account. Where to get your credentials?

OpenStack clients Exercise 2: Get you OpenStack credentials. Go to Dashboard  Compute  Access & Security  API Access. Download your OpenStack RC file (button top right). You will also need your OpenStack password. This is not the same password you use to log onto the Dashboard! You need to reset your password to activate it. Click next to your user name (your ) on the top right and select Settings. Click “Reset password” and copy&paste the password, save it as text file somewhere safe.

OpenStack clients Windows: Change your OpenStack RC file:$env:OS_AUTH_URL= " $env:OS_TENANT_ID="f12d34....c" $env:OS_TENANT_NAME= " " $env:OS_USERNAME=" " $env:OS_PASSWORD=” "; $env:OS_REGION_NAME=” ” Open PowerShell from Windows Command line: $ powershell.exe Load the credentials: $ C:\Users\ \openrc.ps1 Linux / Mac OSX: Load your credentials: $ source Exercise 3: Load your OpenStack credentials.

OpenStack clients You can now use the openstack command line client. Every time you open a new terminal to use it, you have to load your credentials again (“source” your OpenStack RC script file) The client is structured into several “tools” for various tasks. To get help on the client, type: $ openstack help This will print a list of all the “tools”. To print help on a tool: $ openstack help For example for the server tool: $ openstack help server

Accessing the Object Store The openstack client can be used to access your Object Store. The underlying tool which is used is called Swift. Transferring files to and from the Object Store using Swift is not encrypted! Encrypt sensitive data before transfer. In the next exercise we will create a container and upload/download a file to it. The Object Store can also be accessed from within program code using the APIs! Not part of this tutorial

Accessing the Object Store Exercise 4: List objects and create container Read the help: $ openstack help object $ openstack help container List your containers: $ openstack container list Create a container called MyTestContainer: $ openstack container create MyTestContainer List files in the container (still empty): $ openstack object list MyTestContainer

Accessing the Object Store Exercise 5: Upload / Download files Create a new text file MyTestFile.txt on your computer and upload it: $ cd $ openstack object create MyTestContainer MyNewTextFile.txt List the file in the container: $ openstack object list MyTestContainer Download file again and save as MyDownloadedFile.txt: $ openstack object save --file MyDownloadedFile.txt MyTestContainer MyNewTextFile.txt

Controlling an instance The next exercises will use the openstack client for Launching an instance Taking a snapshot of an instance Launching a new instance from the snapshot For supporting and further documentation, please refer to the On-Line Documentation and the official openstack client documentation on openstack.orgopenstack.org

Controlling an instance Exercise 6: Launching an instance. Read the help: $ openstack help server $ openstack help server create Get the ID of the NeCTAR Ubuntu image you would like to launch: $ openstack image list | grep NeCTAR Launch an instance called ClientLaunchedInstance: $ openstack server create --flavor m1.small --key-name Nectar_Key --security-group icmp --security-group ssh --image ClientLaunchedInstance List your instances: $ openstack server list

Controlling an instance Exercise 7: Create a snapshot of the instance. Create a snapshot called ClientLaunchedSnapshot: $ openstack server image create --name ClientLaunchedSnapshot ClientLaunchedInstance Show details of the snapshot: $ openstack image show ClientLaunchedSnapshot

Controlling an instance Exercise 8: Launch a new instance from the snapshot. List your private images (incl. snapshots): $ openstack image list --private Launch a new instance: $ openstack server create --flavor m1.small --key-name Nectar_Key --security-group icmp --security-group ssh --image ClientLaunchedSnapshot CopyOfClientLaunchedInstance Show details of the new instance: $ openstack server show CopyOfClientLaunchedInstance

Managing Volumes The last part of this tutorial will deal with managing volumes. Creating and deleting volumes Attaching / detaching volumes to an instance. Make a “backup” of a volume Backup vs. Snapshot was discussed in Module 9. Restore a volume from a backup. Create a snapshot of a volume Create a new volume of a snapshot If you are still using the NeCTAR Trial Account, you won’t have access to volume storage and cannot do the exercises. Watch the demonstration of the exercises instead.

Managing volumes Exercise 9: Create a new volume (only users with allocation) Read the help: $ openstack help volume $ openstack help volume create List availability zones: $ openstack availability zone list Create a new volume called MyNewStorage: $ openstack volume create --description "Description of the volume" --availability-zone --size 1 MyNewStorage List all volumes: $ openstack volume list

Managing volumes Exercise 10: Attach a volume (only users with allocation) Read the help: $ openstack server help | grep volume Attach to your instance ClientLaunchedInstance: $ openstack server add volume ClientLaunchedInstance MyNewStorage List the volumes: $ openstack volume list Detach the volume: $ openstack server remove volume ClientLaunchedInstance MyNewStorage

Managing Volumes Exercise 11: Backup a volume Read the help: $ openstack help backup $ openstack help backup create Create a backup of your volume MyNewStorage: $ openstack backup create --container Backups --name Backup1 --description "Backup MyNewStorage" MyNewStorage List your backup files: $ openstack backup list Display your backup file in the object store: $ openstack container list $ openstack object list Backups

Managing Volumes Exercise 12: Restore from a backup and delete the backup. Read the help: $ openstack help backup restore Get the ID of your backup: $ openstack backup list Restore the backup onto your volume MyNewStorage: $ openstack backup restore MyNewStorage Delete the backup file from the Object Store: $ openstack backup delete

Managing Volumes Exercise 13: Create a snapshot of a volume. Make sure the volume is detached (status “available”): $ openstack volume list Create a snapshot of the new Volume MyNewStorage: $ openstack snapshot create --name MyNewStorageSnapshot1 --description "First snapshot" MyNewStorage

Managing Volumes Exercise 14: Create a new volume of the snapshot. List the snapshots and copy the snapshot’s ID: $ openstack snapshot list Create a new volume called MyRestoredVolume of the snapshot: $ openstack volume create --snapshot --description "My restored Volume" --size 2 MyRestoredVolume List your volumes to see the new one: $ openstack volume list To delete your snapshot: $ openstack snapshot delete MyNewStorageSnapshot1

Closing note Congratulations!! You have successfully completed the course. Now you are ready to get started with using the NeCTAR Research Cloud for your research! For more information, refer to the On-Line Documentation. Don’t hesitate to contact support if you run into any issues!