Hjs#1 mongodb on ec2
Upcoming SlideShare
Loading in...5
×
 

Hjs#1 mongodb on ec2

on

  • 885 views

 

Statistics

Views

Total Views
885
Views on SlideShare
885
Embed Views
0

Actions

Likes
1
Downloads
8
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Hjs#1 mongodb on ec2 Hjs#1 mongodb on ec2 Presentation Transcript

    • mongoDB on EC2 Taizo NAKAMURA @Hi-Cube Mar / 24 / 12
    • About/ Taizo NAKAMURA ( on Facebook etc )/ @jailbreak23 ( on Twitter )/ Armonicos ( on work ) *JAWS-UG 浜松 *Hamamatsu.rb *Hamamatsu.js
    • My JS History JavaScript本格入門 The Good Parts JavaScript Patterns Node Web Development jQuery Cookbook Test-Driven JavaScript Development The Definitive Guide 6th Edition
    • Part 1 JS x mongoDBFact of LifeRef : http://www.mongodb.org/display/DOCS/Overview+-+The+MongoDB+Interactive+Shell
    • Part 2 mongoDB x AWS #1mongoDB is...A kind of NoSQL DatabaseDocument OrientedStored in BSON (JSON Binary) formatEasy to Scale out
    • Part 2 mongoDB x AWS #2AWS is...Amazon Web ServicesCloud Computing PlatformEasy to Scale out
    • Part 2 mongoDB x AWS #3General
    • Part 2 mongoDB x AWS #4Target
    • Part 2 mongoDB x AWS #5RequirementUse for DevelopmentMinimize the CostEasiest Up and RunningMinimize the Cost
    • Part 2 mongoDB x AWS #6Component MongoDB(cold stand- by ) run instance AMI Instances attach volume EBS
    • Part 2 mongoDB x AWS #7 Code on Linuxinstance_id=`ec2-run-instances $ami_id -g database -k spoch-ap -t t1.micro | grep INSTANCE | cut -f 2`while [ "$state" != "running" ]doresult=`ec2-describe-instances $instance_id | grep INSTANCE | head -n 1`state=`echo $result | cut -d -f 6`doneec2-attach-volume $volume_id -i $instance_id -d /dev/sdfecho "attach volume $volume_id"
    • Part 2 mongoDB x AWS #8Demo
    • Part 3 AWS x HamamatsuJAWS-UG 浜松 #2May / 12Coming soonJoin USFacebook / Google Groups
    • Thank you