ç°¡åï¼ãããã®VPSã«coreOSãã¤ã³ã¹ãã¼ã«ããæ¹æ³
ãããã®VPSãå¥ç´ç´å¾ã®ç¶æ ãã10ã15åç¨åº¦ã§ã¤ã³ã¹ãã¼ã«ãå®äºãã¾ãã
SSHã§æºåãã
SSHã§ãã°ã¤ã³ãã¦ã¤ã³ã¹ãã¼ã«ã«å¿
è¦ãªãã¡ã¤ã«ãåéãã¾ãã
sshãªãã³ãã¼ï¼ãã¼ã¹ãã§ããã®ã§ããã®å¾ã®ã³ã³ã½ã¼ã«æä½ã§æãæããããã«ãã®æ®µéã§åºæ¥ãã ãçºãã¦ããã¾ãã
cloud-init
ã¾ã åå¼·ä¸ãªã®ã§æä½éã®è¨å®ã ããã¦ãã¾ãã
static.networkã®[Match]ã§æ©ãã§ãæ¹ãå¤ãã§ããeth*ã¯éæ¨å¥¨ã¿ãããªã®ã§MACAddressã§è¯ãã®ã§ã¯ã¨æã£ã¦ã¾ããæ©ç¨®ã«ä¾åããè¨å®ã¯çããããé£ããã§ããâã¢ããã¤ã¹ãå¾ ã¡ãã¦ããã¾ã
mkdir -p /tmp/work export VPS_IP=160.16.83.xx # VPSã®IPã¢ãã¬ã¹ export VPS_GATEWAY=160.16.82.1 # VPSã®GATEWAYã¢ãã¬ã¹ export VPS_DNS1=210.188.224.10 # ãã©ã¤ããªDNS export VPS_DNS2=210.188.224.11 # ã»ã«ã³ããªDNS export VPS_MAC=9C:A3:BA:01:CD:F1 # MACã¢ãã¬ã¹ export NTP_SERVER=ntp1.sakura.ad.jp # sakura以å¤ãªãntp.nict.jpãä¾¿å© export ETCD_HOST=`curl -s https://discovery.etcd.io/new` # ãã£ã¹ã«ããªã¼ç¨ã¢ãã¬ã¹ãçºè¡ãã cat > /tmp/work/cloud-config << EOT #cloud-config hostname: $HOSTNAME coreos: # etcd: # discovery: $ETCD_HOST # peer-addr: $VPS_IP:7001 units: # - name: etcd.service # command: start # - name: fleet.service # command: start - name: docker.service command: start - name: timezone.service command: start content: | [Unit] Description=set the timezone [Service] Type=oneshot ExecStart=/usr/bin/timedatectl set-timezone Asia/Tokyo RemainAfterExit=yes - name: swap.service command: start content: | [Unit] Description=Turn on swap [Service] Type=oneshot Environment="SWAPFILE=/swapfile" Environment="SWAPSIZE=1GiB" RemainAfterExit=true ExecStartPre=/usr/bin/sh -c '/usr/bin/fallocate -l \${SWAPSIZE} \${SWAPFILE} && chmod 0600 \${SWAPFILE} && /usr/sbin/mkswap \${SWAPFILE}' ExecStartPre=/usr/sbin/losetup -f \${SWAPFILE} ExecStart=/usr/bin/sh -c "/sbin/swapon \$(/usr/sbin/losetup -j \${SWAPFILE} | /usr/bin/cut -d : -f 1)" ExecStop=/usr/bin/sh -c "/sbin/swapoff \$(/usr/sbin/losetup -j \${SWAPFILE} | /usr/bin/cut -d : -f 1)" ExecStopPost=/usr/bin/sh -c "/usr/sbin/losetup -d \$(/usr/sbin/losetup -j \${SWAPFILE} | /usr/bin/cut -d : -f 1)" [Install] WantedBy=multi-user.target - name: static.network content: | [Match] MACAddress=$VPS_MAC [Network] Address=$VPS_IP/23 Gateway=$VPS_GATEWAY DNS=$VPS_DNS1 DNS=$VPS_DNS2 write_files: - path: /etc/ntp.conf content: | server $NTP_SERVER restrict $NTP_SERVER kod nomodify notrap nopeer noquery restrict default ignore restrict 127.0.0.1 ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEA5BqkP+ToroYtzOhnZ2aOJj8WqUpRcQRy/D2ojlPsQutM9Pqfo3qI+75iLpTAAkt+X0RlSBNFLfLsDgfV45IWS/5jv7CKLF/AAIU8Ke5wKVXZrC1LkZ7HfnluALhepUkeB3ilrhFQS+qeS8LHw2s2C2Ig/bGj8lXuEyt93aSREIU= [email protected] EOT
â»å ¬ééµã¯èªåã®ã«æ¸ãå¤ãã¦ãã ããã
ãã¡ã¤ã«ã®åé
installerã®ä¸ã§å¼ã°ããã³ãã³ããè¨å®ãã¡ã¤ã«ãæºåãã¾ãã
(ã³ã³ã½ã¼ã«ã§viã¨ãé¢åèãã®ã§åºæ¥ãã ããã®æ®µéã§ç¨æãã¾ããã)
cp /sbin/{blockdev,wipefs,blkid} /tmp/work/ cp /bin/{mktemp,sed,grep,bash,lsblk,env,mkdir,rm,mount,umount,echo,cp} /tmp/work/ cp /usr/bin/{tee,wget,gpg,bzip2,which} /tmp/work/ (cd /tmp/work && ln -f bzip2 bunzip2) echo 'nameserver 8.8.8.8' > /tmp/work/resolv.conf
coreos-install
coreOSã®ã¤ã³ã¹ãã¼ã©ã¼æ¬ä½ããã¦ã³ãã¼ããã¦ä»ã®ãã¡ã¤ã«ã¨å
±ã«ã¢ã¼ã«ã¤ããã¾ãã
ä¸è¦ãã¡ã¤ã«ã¯åé¤ãã¦ããã¾ãããã
wget -O /tmp/work/coreos-install https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install (cd /tmp/work && tar cf /work.tar ./) rm -rf /tmp/work/ sync
VNCã³ã³ã½ã¼ã«ãç«ã¡ä¸ãã
ã³ã³ããã¼ã«ããã«ããã«ã¹ã¿ã OSã¤ã³ã¹ãã¼ã«ãé¸æãã¦ãCentOS7 x86_64ããã¤ã³ã¹ãã¼ã«ããVNCã³ã³ã½ã¼ã«ãç«ã¡ä¸ãã¾ãã
(/dev/vdaã解æ¾ããç¶æ
ã§ã·ã§ã«ã使ãããã ããªã®ã§äºææ§ã®ããOSãªããªãã§ããã¾ãã¾ãã)
ãRescue a CentOS systemããé¸æ
coreOSãinstallãã
ãã°ããããã¨ã·ã§ã«ãç«ã¡ãããã¾ãã®ã§ã¾ãã¯å ã»ã©ä½æããwork.tarãåãåºãã¾ãã
mkdir -p /mnt/root mount /dev/vda3 /mnt/root tar xf /mnt/root/work.tar -C /tmp umount /mnt/root
coreOSã®installä¸ã«ãããã¯ã¼ã¯ãå¿ è¦ã«ãªãã®ã§ãããã¯ã¼ã¯ãæå¹ã«ãã¾ãã
ifconfig eth0 160.16.83.xx(IPã¢ãã¬ã¹)/23 route add default gw 160.16.xx.1(ã²ã¼ãã¦ã§ã¤) cp /tmp/resolv.conf /etc/
ãcoreos-installããå®è¡ãã¾ãã
export PATH=$PATH:/tmp/ bash /tmp/coreos-install -d /dev/vda -C stable -c /tmp/cloud-config
ãSuccess! CoreOS stable current is installed on /dev/vdaãã¨è¡¨ç¤ºããããã·ã£ãããã¦ã³ããã³ã³ããã¼ã«ããã«ããèµ·åãã¾ãã
(rebootã ã¨ã«ã¹ã¿ã OSã¤ã³ã¹ãã¼ã«ãçµãããªãã®ã§ã·ã£ãããã¦ã³ãå¿
è¦ã§ã)
jQuery.Deferredã使ã£ã¦éåæã«ã¼ããããï¼
çªç¶ã§ãããDeferred使ã£ã¦ã¾ããï¼
jQuery.Deferredã¨ã¯jQueryã®ãã¼ã¸ã§ã³1.5ããå°å
¥ããããéåæå¦çããã¾ãæ±ãããã®æ¨æºã¢ã¸ã¥ã¼ã«ã§ãã
使ãããªããã¨ã§ã以ä¸ã®ãããªå¹æãè¦è¾¼ãã¾ãã
- éåæå¦çãé£çµããéãã³ã¼ã«ããã¯å°çãã解æ¾ãããï¼ç´åå¦çã並åå¦çãå¯è½ï¼
- ã¨ã©ã¼å¦çããã¾ãè¨è¿°ã§ãã
- ä¸é£ã®éåæå¦çãé¢æ°åãã¦åå©ç¨ããããã§ãã
ã£ã¦èª¬æãããäºãå¤ããã¨æãã¾ãã
å©ç¨æ¹æ³ã説æãã¦ããµã¤ãããã£ã±ãããã¾ãã
â¦ãéåæã«æ £ãã¦ãªãæ¹ããã¨ããããjQueryã¯è§¦ãããï¼ãããã®äººã ã¨ããããããã«ããåãã«ãªã£ã¦ãã¾ãã
ããã§jQuery.eachã¨åãããã«ä½¿ããã«ãã©ã°ã¤ã³ãæ¸ãã¦ã¿ã¾ããã
jquery-asyncEach.js
if(jQuery) !function($){ 'use strict'; if( typeof $.asyncEach === 'undefined' ){ // setTimeoutã¨Deferredã使ãéåæã«ããé¢æ° var async = function($callback){ var $dfd = $.Deferred(); setTimeout(function(){ $callback($dfd); },0); return $dfd.promise(); }; // $.asyncEachã¡ã½ããæ¬ä½ $.asyncEach = function($array,$callback,$thisArg){ if( typeof $thisArg === 'undefined' ) $thisArg = $array; //$arrayã大éã ã£ãæã«$whenãä½ãã®ã«æéããããã®ã§ãããªãéåæå return async(function($dfd){ //$arrayã®è¦ç´ ãï¼åã¥ã¤éåæå var $when = $.map($array,function($value,$index){ return async(function($dfd){ return $callback.call($thisArg,$dfd,$value,$index); }); }); //$whenãå ¨ã¦resolveããã¨doneãã²ã¨ã¤ã§ãrejectããã¨failãã return $.when.apply($,$when) .done(function(){ //argumentsãé åã«å¤æãã¦è¿ã var $_ = []; $_.push.apply($_,arguments); return $dfd.resolve($_); }) .fail(function(){ var $_ = []; $_.push.apply($_,arguments); return $dfd.reject($_); }) ; }); }; } }(jQuery);
ãã¹ãã³ã¼ã
jQuery.jsãjquery-asyncEach.jsã®é ã§èªã¿è¾¼ãã§å®è¡ãã¦ãã ããã
!function(){ console.log('æåã«è¡¨ç¤ºããã'); $.asyncEach([1,2,3,4,5,6,7,8,9,10],function($dfd,$value,$index){ //ããã«éãå¦ç(â¦ã®ããããã«ã©ã³ãã ã§å¾ ããã¦ããè¿ã) var $r = Math.floor( Math.random() * 1050 ); setTimeout(function(){ //ã©ã¡ããã使ã£ã¦è¿ãå¤ãè¿ã // $dfd.resolve() = å¦çæå // $dfd.reject() = å¦ç失æ return $r <= 1000 ? $dfd.resolve($value * 2) : $dfd.reject($value + 'ããã¢ã¤'); },$r); }).then(//.done,.failã§ããã function($result){ console.log('éãå¦çãå ¨é¨çµãã£ããå¼ã°ãã'); console.log($result); },function($result){ console.log('éä¸ã§rejectããããå¼ã°ãã'); console.log($result); } ); console.log('asyncEachã¯éåæãªã®ã§2çªç®ã«è¡¨ç¤ºããã'); }()
ãã»ã¼iphoneããããã¡ãªãã§ããããï¼
ä»å¹´ã®å¤ã¢ãã«ããã¯ï¼ã¨æå¾
ãã¦ã¾ããããã£ã±ãåºã¾ããã§ããã
ããããã¦iPod touch + IIJmioé«éã¢ãã¤ã«/Dãµã¼ãã¹ + ã¢ãã¤ã«ã«ã¼ã¿ã¼ã¯ãããã§ããããï¼
iPod touchã§ã¯ç大好ãsiriãåãããã§ãã
æåã«å¿ è¦ãªç©
amazonãªã®ã§æ¥ã«ãã£ã¦å¤æ®µã¯å¤ããã¾ããéæå ¥ãã¦ã7ä¸åã§ãé£ããããç¨åº¦ã§è³¼å ¥ã§ãã¾ãã
ãIIJmioé«éã¢ãã¤ã«/Dãµã¼ãã¹ãã£ã¦ï¼
ãIIJmioé«éã¢ãã¤ã«/Dãµã¼ãã¹ãã¯docomoåç·ã®MVNOã§ãã
é常ã¯200kbpsã«å¶éããã¦ãã¾ããã¯ã¼ãã³ãå©ç¨(ã¢ããªã§on/offã§ãã¾ã)ããã¨LTE/3Gã®æ大å¤ã¾ã§å©ç¨å¯è½ã«ãªãã¾ãã
è³¼å
¥ããSIMããã®ã¾ã¾å©ç¨ããã¨500MBã§ä½¿ããªããªã£ã¦ãã¾ãã®ã§ä»¥ä¸ã®ã©ã¡ããã«ã¢ããã°ã¬ã¼ããã¾ãã
- ãããã ã¹ã¿ã¼ããã©ã³ æé¡945å
- ã©ã¤ãã¹ã¿ã¼ããã©ã³ æé¡1,974å(æ¯æ1GBåã®ã¯ã¼ãã³ãä»ãã¦ãã) âãã使ãã®ã§ããã°ãã£ã¡ããªã¹ã¹ã¡
IIJmioã®FAQãè¦ãã¨ã050 plusãã§å®å®ããé話ãã§ãã¾ãã
ã¢ãããã¼ãã¯èªå®
ã§è¡ãããã«ãã¦å¿
è¦ãªæã ãã¯ã¼ãã³ã使ãçãã¤ããã°ã©ã¤ãã¹ã¿ã¼ããã©ã³ã§ååéç¨ãå¯è½ã§ãã
é³å£°é話ã¯ã§ãã¾ãã
lineã§ããããããªããï¼ã£ã¦æ°ããã¾ãããã©ããã¦ãé»è©±çªå·ãå¿ è¦ãªãã050 plusããå©ç¨ããäºã§æé¡315åã§é»è©±çªå·ãåå¾ã§ãã¾ãã
ããã¡ãã£ã(//â½//
ã¡ããã¨æ¢ãã°ããããã ãã©è¦ã¤ãããªãã®ã§â¦
ããã¡ãã£ã(//â½//
æ°åãKB,MB,GBçã«å¤æããé¢æ°
(function($size,$fixed,$unit){ return function($size,$fixed,$unit){ var $len = ($size.length > $unit.length ? $unit.length : $size.length) - 1; return { size : Number($len > 1 ? $size[$len] + '.' + $size[$len-1] : $size[$len]).toFixed($fixed), unit : $unit[$len], toString: function(){return this.size+this.unit} }; }( ( function($size){ while($size != ($size = $size.replace(/^(-?\d+)(\d{3})/, "$1,$2"))); return $size; }( new String($size) ) ).split(/,/).reverse(), typeof($fixed) === 'undefined' ? 0 : $fixed, typeof($unit ) === 'undefined' ? 'Byte,KB,MB,GB,TB,PB,EB,ZB,YB'.split(/,/) : $unit ); }(Math.pow(10,9),2) ).toString();
æ°åãKB,MB,GBçã«å¤æããé¢æ°(ç°¡æç,2^10ã§è¨ç®)
(function($size){ return function($size,$){ var $unit = $.shift(),$_; while( ( $_ = $size >> 10 ) >= 1 ) $unit = $.shift(),$size = $_; return $size + $unit; }(Number($size),'Byte,KB,MB,GB,TB,PB,EB,ZB,YB'.split(/,/)); })(0.5*Math.pow(2,30));
ç¡åé¢æ°ã®ã¾ã¾ããããããããªã®ã§ååä»ãã¦ããããã£ã¦ããã¦ï¼
GMOã¯ã©ã¦ãPublicã®ç°¡æè¦ç©ãããä½ã£ã¦ã¿ã
GMOã¯ã©ã¦ãPublicã£ã¦ï¼
GMOã°ã«ã¼ãéå¶ãã¦ã(GMOã¯ã©ã¦ãæ ªå¼ä¼ç¤¾)ãéå¶ãã¦ãã¯ã©ã¦ããµã¼ãã¹ã§ãã
å©ç¨ãã¦ããã©ã³å
ã§èªç±ã«ãªã½ã¼ã¹ãå²ãæ¯ããç´ æ´ãããã¯ã©ã¦ããµã¼ãã¹ã§
ãGMOã¯ã©ã¦ãã®VPSãããGMOã¯ã©ã¦ãå°ç¨ãµã¼ãã¼ãã¨ç¸æ§ãè¯ãã®ãç¹å¾´ã§ãã
æéãã©ã³ãåããã«ãã
ããã¯ãã©ã³ï¼è¶ éåã¯å¾é課éã¨ããæéä½ç³»ãªã®ã§ãã©ã®料金プランãé¸ãã ããããåããã«ãããã¨æãã¾ãã
æ§æä¾ããããã
間違った料金ãæ²è¼ããã¦ããã(ããã¯8ã¯29,600å/æ)ã色々計算が間違っていたり(LBã®CPU使ç¨çã¯10%,Web1,2ã®ãã£ã¹ã¯å®¹éã10GBã ã¨æããã)ã¨æ§æä¾ãå ã«æ§æãã¦ãè¨ç®ãåããªãç½ ãä»æãããã¦ãã¾ãã
è¦ç©ããæ©è½ãç¡ã
ãããã®ã¯ã©ã¦ãã¨éã£ã¦ç°¡æè¦ç©ããæ©è½ãããã¾ããã
問い合わせãããã°è¨ç®ãã¦ãããããã§ãâ¦ãããäºãããã¾ãã
ã£ã¦ãã¨ã§
GMOクラウド簡易見積もりãä½æãã¾ããã
ããã ãã§ã¯ã¤ã¾ããªãã®ã§ãã»ã¼åãæ§ãªæ§æã§GMOã¯ã©ã¦ãã®VPSãå©ç¨ããå ´åã®æéãè¨ç®ããããã«ãªã£ã¦ãã¾ãã
æå¾ã«
ä¸å
·åå ±åãåãåããã¯ã³ã¡ã³ãããã¤ãã¿ã¼ã«ãé¡ããã¾ãã
ããã§ã¯GMOクラウドPublic簡易見積もりããããããé¡ããã¾ãã
dreamobjectsãå©ç¨ããç»åã¢ãããã¼ããä½ã£ã¦ã¿ãã
2ちゃんねる画像アップローダã¨ãã画像アップローダãä½æãã¾ããã
é«è² è·ã«ãèãããå®å®ãããµã¼ãã¹ãç®æãã¦é å¼µã£ã¦ãã¾ãã®ã§ãããããé¡ããã¾ãã
â¦ã¨ãããæ²é³´ä¸ããã»ã©ã¢ã¯ã»ã¹å¢ãã¦æ¬²ããã§ãã
åæ©
DreamObjectsã¨ããamazon S3ã¨äºææ§ã®ããã¹ãã¬ã¼ã¸ãµã¼ãã¹ãæè¿ç¥ã£ãã®ã§ãä½æãã¦ã¿ã¾ããã
DreamObjectsãã¹ãã¬ã¼ã¸7¢/GBãTransfer Outã7¢/GBãAPIå¼ã³åºãã¯ç¡æãå
æãã«ããå²å¼ãããã¾ãã
S3ã®ç±³å½ã¹ã¿ã³ãã¼ããªã¼ã¸ã§ã³ã$0.095 /GB,$0.120 /GB,$0.01/1,000ãªã¯ã¨ã¹ããªã®ã§ããã¶ãå®ããã¿ããã§ãã
ãã¦ãããããã¯ãµã¼ãã®æ§æã®ã話ã§ãã
ããã³ãã¨ã³ã
ããããã®VPS 1Gããå©ç¨ãã¦ãã¾ãã
DreamObjectsã転éæ課éãªã®ã§nignxãã¡ã¢ãªã¨HDDã®å¤§åã使ããã£ãã·ã¥ããã¦ãã¾ããã¾ããphpãåããã®ã«apacheãåãã¦ãã¾ãã
è² è·ãå¢ããå ´åãnginxã¨apacheã®ãµã¼ããåé¢å¾ããããã並ååã§ããããã«è¨è¨ãã¦ãã¾ãã
ãã¼ã¿ãã¼ã¹
DBã£ã¦ã¹ã±ã¼ãªã³ã°ãã«ãã(ã¨ããã¤ã¡ã¼ã¸ãª)ã®ã§å©ç¨ãã¦ãã¾ããã
ããã°ã©ã ã§RSSãåºåãã¦DreamObjectsã«ããã¦ãã¾ãã
Google Developersçµç±ã§ä¸è¦§ãä½æãã¦ãã¾ãã
件åçå種æ
å ±ã¯ãã¡ã¤ã«ãæã£ã¦ãã¾ãã
ãµã ãã¤ã«
rethumb - image management serviceã¨ãããµã¼ãã¹ãå©ç¨ãã¦ãã¾ãã
ä¸è¦§è¡¨ç¤ºãç»åãã¼ã¸çå
ç»å以å¤ã¯ãã¡ããçµç±ãã¦ãã¾ãã
ãªã¶ã¤ãºå¾ã®ç»åã¯ãã£ãã·ã¥ãã¦ããã¦ãã®ã§è² è·åæ£ã«ãå½¹ç«ã£ã¦ãã¾ãã
æã
ã¨ã©ã¼ãåºãããæµ·å¤ã®ãµã¼ãã¹ãªã®ã§é
ãçããã£ã¦ãªãªã¸ãã«ãä½ãããæ¤è¨ãã¦ãã¾ãã
ã¹ãã¬ã¼ã¸
DreamObjectsãå©ç¨ãã¦ãã¾ãã
HTMLãCSSçãããã«å
¥ã£ã¦ãã¾ãã(phpã®ã¿ããã³ãã¨ã³ãã«ããã¦ããã¾ã)
ç¾å¨ã¯ä½¿ç¨éãå°ãªãã®ã§å®å
¨å¾éå¶ãå©ç¨ãã¦ãã¾ãã
å°æ¥çã«ã¯1TB PAN($54.95/mon)ããããå¿
è¦ã«ãªãã¨æãã¾ãã
80å/$ã ã¨4,396åã§ãã¿ã¾ãã120å/$ã ã¨6,594åã¨1,000å以ä¸ã®å·®ãä»ãã¦ãã¾ãã¾ãã
å人ã®ãµã¤ãã§æµ·å¤ã®ãµã¼ãã¹å©ç¨ããã¨çºæ¿ãªã¹ã¯ãæãã§ããã
æå¾ã«
使ãåæãæªãããã°ããããä»çµã¿ã«è³ªåãæããªã©ããã¾ãããã³ã¡ã³ãããã¤ãã¿ã¼ã«ãé¡ããã¾ãã
ããã§ã¯2ちゃんねる画像アップローダããããããé¡ããã¾ãã
ãããã®VPSã®è³¢ã使ãæ¹
æã
wordpressçã®CMSã使ã£ã¦ãã¦è² è·å¢ãã¦ããããããããã®VPSãã®4Gã8Gã«ããã£ãã¨ãã話ãè³ã«ãã¾ãã
æ¬å½ã«4GBã8GBã§è¯ãã£ãã®ã§ããããï¼
æ§æ | ãã©ã³ | æé | ã¡ã¢ãª | ã³ã¢ | HDD | ç¨é |
---|---|---|---|---|---|---|
æ§æ1 | ãããã®VPS 4G | 3,980å | 4GB | 4ã³ã¢ | 400GB | ãã¹ã¦ |
æ§æ2 | ãããã®VPS 2G ãããã®VPS 2G åè¨ |
1,480å 1,480å 2,960å |
2GB 2GB 4GB |
3ã³ã¢ 3ã³ã¢ 6ã³ã¢ |
200GB 200GB 400GB |
nginx+apache DB - |
æ§æ3 | ãããã®VPS 1G ãããã®VPS 2G ãããã®VPS 2G åè¨ |
980å 1,480å 1,480å 3,940å |
1GB 2GB 2GB 5GB |
2ã³ã¢ 3ã³ã¢ 3ã³ã¢ 8ã³ã¢ |
100GB 200GB 200GB 500GB |
nginx apache DB - |
æ§æ1
- ãµã¼ã1å°ãªã®ã§è¨å®ã¯æ¥½
- ã³ã¢æ°ä¸çªå°ãªãã®ã«æéã¯ä¸çªé«ã
- éçã³ã³ãã³ãã200GBã§ããã¾ããªãå ´åã¯ãããããªã
- nginx(éçã³ã³ãã³ããè¿ã)+apache(ããã°ã©ã å¦ç)+DBã1å°ã§è¡ãã®ã§ã³ã³ããã¹ãã¹ã¤ãããå¤ãçºçãã
æ§æ2
- WEB(nginx+apache)ã¨DBã«åé¢ããäºã§ããµã¼ãã¯ããããã®ä»äºã«å°å¿µã§ããããã«ã¼ãã«ã®IOãã£ãã·ã¥ãæå¹å©ç¨ã§ããã
- ãããã®VPS 4Gããå®ãã®ã«ã³ã¢æ°ã2å¤ã
- ç»åã¯WEBã«ä¿åãããã®ã§200GBã¾ã§
æ§æ3
- 3å°ãè¨å®ããã®ããï¼
- ãããã®VPS 4Gã¨ã»ã¼åãå¤æ®µã§åè¨ã¡ã¢ãª5GBã8ã³ã¢ãå©ç¨ã§ããã
- proxy(nginx)ã¨WEB(apache)ã¨DBã«åé¢ããproxyã«cacheãæãããäºã§WEBã®è² è·ãæ¸ããã
- ä»åã®æ§æã§ä¸çªã¢ã¯ã»ã¹ãæãã(ããº)
ã¾ã¨ã
ãã®ããã«ç¨éæ¯ã«ãµã¼ããããã¦ããå°ãããã©ã³ãæ°åå¥ç´ããã¨ãå®ããªã£ãããåãä¾¡æ ¼ã§ããé«æ§è½ãªç°å¢ãå¾ãäºãåºæ¥ã¦ããå¾ãªäºãããã¾ãã
åæ§ã«ãããã®VPS 8GBããã以ä¸ã®ãã©ã³ãè¤æ°çµã¿åãããäºã§å®ããªã£ããããã¢ã¯ã»ã¹ãæããç°å¢ãä½ãäºãã§ããå¯è½æ§ãããã¾ãã
â»ç®¡çã³ã¹ãã¯å¢ãã¾ãã®ã§ã注æãã ãã
é¢é£ãªã³ã¯
ã¨ããã§
twitterã«[twitter:@sakuravps]ã¨ããããããã¤ã³ã¿ã¼ãããVPSãµã¼ãã¹ã®å
¬å¼ã¢ã«ã¦ã³ããæãã®ã§ããéã宿ã£ã¦ãã¾ããã
ããããããªã®ã§ãããã®VPSãå©ç¨ãã¦ãæ¹ã¯ãã©ãã¼ãã¦ããã¦ãã ããã
ãã¨ããµã¼ãæ§æã®æ¤è¨ãåæè¨å®ã®ãæä¼ãæ¡ä»¶ãããã¾ãããæ¯éãç¸è«ãã ããã