vd Vitor Domingos http://vitordomingos.com



Similar documents
A Quick Guide to use Cloud Computing through Amazon s Platform

AdWhirl Open Source Server Setup Instructions

Introduction to Cloud computing. Viet Tran

Cloud Computing: Amazon Web Services

Online Backup Guide for the Amazon Cloud: How to Setup your Online Backup Service using Vembu StoreGrid Backup Virtual Appliance on the Amazon Cloud

Amazon Elastic Compute Cloud Getting Started Guide. My experience

THE EUCALYPTUS OPEN-SOURCE PRIVATE CLOUD

<Insert Picture Here> Introduction to Using MySQL in Cloud Computing

Last time. Today. IaaS Providers. Amazon Web Services, overview

Options in Open Source Virtualization and Cloud Computing. Andrew Hadinyoto Republic Polytechnic

Cloud Providers, SciCloudand

Drupal in the Cloud. Scaling with Drupal and Amazon Web Services. Northern Virginia Drupal Meetup

Introduction to Cloud Computing on Amazon Web Services (AWS) with focus on EC2 and S3. Horst Lueck

Cloud Hosting. QCLUG presentation - Aaron Johnson. Amazon AWS Heroku OpenShift

VX 9000E WiNG Express Manager INSTALLATION GUIDE

Eucalyptus User Console Guide

Overview and Tutorial! Virtualization and Cloud!!!!!!

But what is the 'problem'? Solution? Types of cloud computing. Examples. Computing as commodity. Cloud computing characteristics

Moving Drupal to the Cloud: A step-by-step guide and reference document for hosting a Drupal web site on Amazon Web Services

This computer will be on independent from the computer you access it from (and also cost money as long as it s on )

Zend Server Amazon AMI Quick Start Guide

Eucalyptus Tutorial HPC and Cloud Computing Workshop

Cloud Computing an introduction

Amazon Web Services Student Tutorial

HP Operations Orchestration Software

Automated Application Provisioning for Cloud

Backup and Recovery of SAP Systems on Windows / SQL Server

An Introduction to Cloud Computing Concepts

ECE6130 Grid and Cloud Computing

Cloud Computing and Amazon Web Services. CJUG March, 2009 Tom Malaher

Cloud computing - Architecting in the cloud

An Assessment of Eucalyptus Version 1.4

When talking about hosting

How To Image A Single Vm For Forensic Analysis On Vmwarehouse.Com

GeoCloud Project Report GEOSS Clearinghouse

What is Cloud Computing? Why call it Cloud Computing?

ur skills.com

Cloud Computing. Adam Barker

Alfresco Enterprise on AWS: Reference Architecture

Eucalyptus Cloud Computing Platform User s Guide. Enterprise Edition 2.0

Operating Systems Virtualization mechanisms

Cloud Computing. Command Line Tools

Technology and Cost Considerations for Cloud Deployment: Amazon Elastic Compute Cloud (EC2) Case Study

Cloud Computing and Amazon Web Services

Private Clouds with Open Source

Amazon Web Services. Luca Clementi Sriram Krishnan NBCR Summer Institute, August 2009

SERVER CLOUD DISASTER RECOVERY. User Manual

Amazon Elastic Beanstalk

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON

Comparing Ganeti to other Private Cloud Platforms. Lance Albertson

Cloud Computing an introduction Netzprogrammierung (Algorithmen und Programmierung V)

Using Amazon Web Service

Amazon Web Services Building in the Cloud

Xen Virtualization: Xen (source) and XenServer

Definitions. Hardware Full virtualization Para virtualization Hosted hypervisor Type I hypervisor. Native (bare metal) hypervisor Type II hypervisor

GETTING STARTED WITH PROGRESS AMAZON CLOUD

Comparison of Open Source Cloud System for Small and Medium Sized Enterprises

Data Centers and Cloud Computing

Large-Scale Data Engineering. Cloud Computing - Computing as a Service

Building Clouds with OpenNebula 2.2 and StratusLab

Last time. Today. IaaS Providers. Amazon Web Services, overview

SERVER CLOUD RECOVERY. User Guide

Cloud computing is a marketing term that means different things to different people. In this presentation, we look at the pros and cons of using

Amazon AWS Security Basics

Getting Started with Hadoop with Amazon s Elastic MapReduce

Aneka Dynamic Provisioning

SGE & Amazon EC2. Chris Dagdigian 2008 OSGC Conference

Cloud Models and Platforms

Assembling Cloud Infrastructures with Eucalyptus

Eucalyptus Hybrid Cloud Guide

DISTRIBUTED SYSTEMS [COMP9243] Lecture 9a: Cloud Computing WHAT IS CLOUD COMPUTING? 2

Getting Started with Amazon EC2 Management in Eclipse

How To Build A Cloud Computing System With Nimbus

How To Create A Virtual Private Cloud On Amazon.Com

A Comparative Study Of Cloud Environments and the Development of a Framework for the Automatic Deployment of Scalable Cloud-Based Applications

References. Introduction to Database Systems CSE 444. Motivation. Basic Features. Outline: Database in the Cloud. Outline

Introduction to Database Systems CSE 444

Building Clouds with OpenNebula 3.2

Cloud UT. Pay-as-you-go computing explained

Parallel Data Mining and Assurance Service Model Using Hadoop in Cloud

ArcGIS 10.3 Server on Amazon Web Services

Comparing Open Source Private Cloud (IaaS) Platforms

Using The Hortonworks Virtual Sandbox

OpenTOSCA Release v1.1. Contact: Documentation Version: March 11, 2014 Current version:

A programming model in Cloud: MapReduce

Use of Cloud Computing for scalable geospatial data processing and access

The KOALA Cloud Management Service

Survey of the Operating Landscape Investigating Incidents in the Cloud

Using Amazon EMR and Hunk to explore, analyze and visualize machine data

SURFsara HPC Cloud Workshop

SURFsara HPC Cloud Workshop

Eucalyptus: An Open-source Infrastructure for Cloud Computing. Rich Wolski Eucalyptus Systems Inc.

MySQL and Virtualization Guide

Deployment - post Xserve

ArcGIS for Server in the Amazon Cloud. Michele Lundeen Esri

Project Documentation

AWS Account Setup and Services Overview

Steve Riley Sr. Technical Program Manager How to Think Cloud. Architectural Design Patterns for Cloud Computing

E-BUSINESS SUITE IN THE AMAZON CLOUD

Chapter 9 PUBLIC CLOUD LABORATORY. Sucha Smanchat, PhD. Faculty of Information Technology. King Mongkut s University of Technology North Bangkok

Transcription:

Vitor Domingos BOFH

vd Vitor Domingos http://vitordomingos.com

vd Vitor Domingos http://vitordomingos.com BOFH for 10 years with telecom, bank & public administration background

Codebits AWS ground zero: EC2 & S3 hands-on

39º

What I'm not going to talk > AWS account > Install linux, xen or any other tool mentioned > Generate ssh key pairs or manage ssh keys > EC2 for torrents or pr0n > S3 for infinite backups > AWS Security *

What I'm going to talk > Cloud Computing > AWS advantages > EC2; create, upload, manage, backup, assign ip address, available tools > S3; create, manage, put/get, sync, available tools > Bonus

Cloud Computing > grid-utility 2.0 > software as a service 2.0 > clients (firefox) > application (google apps) > platform (google app engine, heroku) > service (openid, mechanical turk, gmaps) > infrastructure > storage

from wikipedia

AWS advantages > Full cloud stack > Cost effective, pay for what you use > Dependable, use it as your work horse > Flexible, scale up or down, on demand > Use the services Luke > Perfect for your codebits projects

Why do you buy and manage hardware? Why are spending your investor money? Werner Vogels, Amazon CTO http://www.allthingsdistributed.com/

Lease, don't buy

SLA?

Yes! But things can fail...

from 9to5

EC2 > hardware on demand > small, large, extra large, high-cpu medium or large > billed by core hour use and bandwidth > fixed ip address > xen based system > runs almost everything (linux, solaris, win)

from amazon docs

EC2 > http://aws.amazon.com > http://sourceforge.net/projects/elasticfox/

EC2 Lingo > AMI; Amazon Machine Image (stored on S3) > Instance; your machine running > Instance Store; limbo > Elastic IP: fixed ip address > SWBF; shutdown without backup and you're fucked > MuKnO; mess up keys and you're out

EC2 command line > ec2-add-keypair ec2-keypair > ec2-describe-images -o self -o amazon > ec2-run-instances <ami_id> -k <keypair-name> > ec2-describe-instances <instance_id> > ec2-authorize default -p {80,22} > ssh -i <private-keyfile> root@<dns_location>

EC2 bundling > install ruby & ami-tools https://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm > image ec2-bundle-image -i <image_name>.img -k <private_keyfile> \ -c <certificate_file> -u <user_id> > snapshot ec2-bundle-vol -k <private_keyfile> -c <certificate_file> -u <user_id> > upload ec2-upload-bundle -b <bucket> -m image.manifest.xml \ -a <access_key> -s <secret_key> > register ec2-register mybucket/image.manifest.xml

EC2 extra stuff > backup running instance bundle-vol; upload-bundle > assign ip address ec2-associate-address -i <instance_id> > reboot ec2-reboot-instances <instance_id> > terminate (remember SWBF) ec2-terminate-instances <instance_id> > register ec2-register mybucket/image.manifest.xml

EC2 Tools > Amazon AMI Tools > Enomalism > RightScale > ElasticFox > Your own?

S3 > infinite storage > free between EC2 instances > billed by storage, data transfer & requests > unique buckets > up to 5GB per file > metadata and serves itself

S3 lingo > bucket; file containers prtsc/photo.png -> http://prtsc.s3.aws.com/photo.png > objects; fundamental entity, consists of data and metadata > keys; unique identifier for the object > service endpoint; service host and port

S3 do & don'ts > respect restrictions and limitations!!! > don't fuckup access control list for the bucket neither for the object > don't delete unless you're sure > sync; sync; sync > export now & then

S3 > s3sync.net (ruby) > S3 Firefox Organizer > AWS S3 Key + ID

ruby used as curl interface????

S3 command line > s3cmd.rb listbuckets > s3cmd.rb createbucket <name> > s3cmd.rb list <bucket_name> > s3cmd.rb delete <bucket_name> > s3cmd.rb get put <bucket:key> <file> > s3sync.rb -r progress <source> <destination>

S3 tools > thousands, just google it > s3bash FTW > curl > create your own?

AWS is the starbucks of hardware

Bonus!!!! > Xen how-to for freetards saying that AWS is not opensource (PT RMS) > EC2 sandbox > AWS UG

Xen > CentOS (5.2) + xen 3.0.3 > libvirt, lvm, virt-manager > AWS xen kernel xvda vs sda > persistence & time

EC2 sandbox > OpenNebula http://www.opennebula.org > Nimbus http://workspace.globus.org > Haizea http://haizea.cs.uchicago.edu > DTC-Xen http://www.gplhost.com

AWS Portuguese User Group > Why not > Share experiences > Gather up > Workshops > Contact me: vd@7syntax.com > I'll be around