Auto Scaling with Spot Instances; Figuring Out the Correct Bid/Spot Price

Posted June 9th @ 7:30 pm by Boyan Tsolov

I’ve been using Amazon Web Services for about 2 years now. I find it extremely easy and user-friendly. I have full control of my VM and Amazon offers so many ancillary features to help with the IaaS. Unfortunately I also find it a little bit expensive as you start ramping up for a production environment. The pricing of their EC2 instances depends on the Operating System mainly. I use Windows which happens to be the most expensive.

<sarcasm> GREAT! </sarcasm>

Their micro instances for Windows can cost $15/month [all prices are for Virginia]. And their micro instances are not very good on performance: < 1 shared ECU, 750MB RAM. Once you get 3 users hitting an IIS website on that EC2 instance the CPU shoots to 100%.

An instance that I found useful for a production environment is the c1.medium. This one has 5 ECU’s and 1.5 GB of RAM. This is instance is great for high volume internet traffic, BUT this EC2 instance costs $160/month.

When you need to use auto scaling and increase your servers automatically according to traffic demand, $160/server/month can get very expensive. And then when you consider that this is just in 1 region and you need to copy the auto scaling set up in other geographical regions, it can get ever more expensive.

This is where SPOT INSTANCES come in. Spot instances are a life saver in terms of money.

Read the rest of this entry »


Advertisement


Guide to AWS Auto Scaling with Command-Line Tools

Posted January 7th @ 11:49 am by Boyan Tsolov

AWS Auto Scaling Guide

AWS Auto Scaling Guide

The previous blog post spoke about a great tool called EZAutoScaling which offers a web-based interface for AWS Auto Scaling. Amazon currently makes AWS Auto Scaling available only as command line tools or APIs and EZAutoScaling offers an online tool to make managing Auto Scaling easier. There are other companies that offer a web-based interface for AWS Auto Scaling, but EZAutoScaling is definitely the cheapest ($1/month).

To follow up on that blog post, EZAutoScaling has put up a great guide for using the command line tools for setting up AWS Auto Scaling. The steps detail the pre-requisites, how to set up the command line tools (with many screenshots), and what commands to use in order to set up your auto scaled environment.

By posting this guide they are showing two things:

  1. That setting up AWS Auto Scaling is not straight-forward - though it is not super hard either.
  2. If you don’t feel like paying for EZAutoScaling then you can use the guide to set up and use the command line tools for free.

Here is an excerpt from the guide from the “Summary” section which summarizes all of the steps and commands:

Read the rest of this entry »


Amazon AWS Auto Scaling done easy

Posted January 5th @ 12:39 pm by Boyan Tsolov

Auto Scaling Online Tool

Auto Scaling Online Tool

This blog started out as a SaaS blog. After a while it moved into Android. I’m going to bring it back to its roots (sort of) with a post on IaaS (infrastructure as a service). I’ve been using Amazon AWS (Amazon Web Services) for about 2 years now. It has been fantastic. I’ve done research on other IaaS and PaaS providers (Microsoft, Rackspace, etc.) and I am extremely happy with the service, usability, and price that I get from Amazon.

One of Amazon’s cool services is called Auto Scaling. It allows you to automatically add/remove servers from an “Auto Scaling Group” as user load increases or decreases. The Auto Scaling group monitors itself (using a service called CloudWatch) and if an alert occurs then a server is automatically added or removed from the group. (Server are added to handle more user load; they are removed to save you money.)

And for the most part, setting this up is a huge pain in the butt… until now.

But before I describe why it’s a pain, here is an example of how Auto Scaling works:

- You have 1 server running in an Auto Scaling Group
- User load suddenly spikes and that server’s CPU usage is at 90%
- You are asleep, so you have no way of knowing this is happening and thus no way of quickly increasing the number of servers to improve performance for the user spike
- Fortunately, CloudWatch is set up to check if CPU usage is over 90% on that server and if it is it sends an alert/trigger…
- A new server is added to the Auto Scaling Group and added to a Load Balancer that is part of that Auto Scaling Group
- Now, automatically, 2 servers exist in your farm, load balanced, and user load can be handled literally without a hitch. CPU usage is down to 40% on each server and CloudWatch ends the alert.

I use EC2 servers exclusively for some of my projects and for me Auto Scaling is one of the main reasons for using Infrastructure as a Service with Amazon.

Read the rest of this entry »


Android Samsung Nexus S: Short Review

Posted July 10th @ 11:21 pm by Boyan Tsolov

Android Samsung Nexus S

Android Samsung Nexus S

I’ve been neglecting the blog for a while.. sorry RSS subscribers.

I bought the HTC Magic 2 years ago when it first came out in Canada. That’s why most of my blog posts about Android development are from 2 years ago :).

I decided it was time to get the latest and greatest Android phone in Canada: the NEXUS S. A friend currently working at Google on Android highly recommended the device. And the fact that the phone is unlocked, Rogers will not put its apps on it, and Google will push updates directly to the phone without Rogers mandating when, made it even easier to pay the $300. In Canada the phone currently sells for $99 on a brand new contract, but you know how North America works: if you already have a contract you are not as enticing to the carriers as a brand new client with no contract. So, I had to pay a few fees to get the phone for $300 instead of $100.

I won’t go into a full review of the phone. There are plenty of sites that review the phone and have been doing it since the beginning of the year. I will only review a couple of items that I was worried about and you might be too if you are looking at getting this phone (or just got it).

Read the rest of this entry »


Windows Phone 7: Beginner’s Guide to Developing on Windows Phone 7

Posted September 26th @ 4:05 pm by Boyan Tsolov

IHeartWP7

The official release date for Windows Phone 7 is October 11th (in the US). Word around the internet is that it will be released in Canada around the end of October / beginning of November. LG, Samsung, HTC, and Dell have all developed handsets that will be available in Canada. One of the services we offer at my place of employment is mobile development and since we are a Microsoft Gold Partner, developing on Windows Phone 7 is our forte (actually it’s the only mobile development we do). I assume as this platform gets bigger more people will jump to learn how to program on it, so this is a quick-and-dirty list of resources that will help you to learn about programming on Windows Phone 7.

  1. http://developer.windowsphone.com/
    If you are a developer, the first thing you need to do is visit the developer’s home page. You can download tools from here, read about the SDK, look at sample code, and get questions answered in the forums.
  2. http://silverlight.codeplex.com/releases
    You must download the Silverlight Toolkit for Windows Phone 7. It has alot of great Silverlight controls that will make your app much cooler. For example, the version of the SDK and Silverlight that you get from the first link does not have a calendar control. The Toolkit from this link has a DatePicker and a TimePicker control that you can just plop on your page and use.
  3. http://channel9.msdn.com/Learn/Courses/WP7TrainingKit
    The best place I have found for guides, best practices, code samples, etc was Channel9. This is the home page.
  4. http://channel9.msdn.com/Learn/Courses/WP7TrainingKit/WP7Silverlight
    I particularly like the home page for Silverlight on WP7. There are a ton of tutorials here, the ones I found most useful are listed below.
  5. http://channel9.msdn.com/Learn/Courses/WP7TrainingKit/WP7Silverlight/WindowsPhoneNavigationAndControlsLab
    How to handle navigation, going back and forth between pages, the best practices for setting up your pages.
  6. http://channel9.msdn.com/Learn/Courses/WP7TrainingKit/WP7Silverlight/ApplicationLifetimeWP7Lab
    Very important read on the application life cycle of a WP7 app.
  7. http://channel9.msdn.com/Learn/Courses/WP7TrainingKit/WP7Silverlight/LaunchersAndChoosersWP7Lab
    Working with launchers and choosers. Launchers and choosers are parts ofthe API that allow you interact with the Windows Phone 7 first-partyapps, such as the email client, calendar/agenda, contact list, messaging app, etc.
  8. http://channel9.msdn.com/Learn/Courses/WP7TrainingKit/WP7Silverlight/UsingPivotAndPanoramaControls
    This tutorial shows you how to make your apps have the cool Windows Phone 7 feel with the sliding between screens (called pivot and panorama controls).
  9. http://www.silverlight.net/learn/videos/all/windows-phone-application-bar/
    Great tutorial video on how to set up the application bar at the bottom of your app. The video also shows the different customizations that you can do to the application bar.
  10. http://channel9.msdn.com/Blogs/SlickThought/Simplify-Page-Transitions-in-Windows-Phone-7-Silverlight-Applications
    Getting the cool fade-in, fade-out page transitions to work. This effect is done by using the TransitioningContentControl that comes with the Silverlight toolkit (an extra install from link #2). Note: this tutorial was done on the April release of the Windows Phone 7 SDK, the latest SDK is slightly different.
  11. Read the rest of this entry »


Samsung may drop Windows Mobile and switch to Android

Posted November 10th @ 11:36 pm by Boyan Tsolov

I just found this article from reddit…
Samsung may drop Windows Mobile for Android

Apparently Samsung is going to stop using Windows Mobile on its cellphones and will concentrate on Android!! I have been a supporter of Android since its inception and stories like these bring tears of joy to my eyes.

Oh, and there’s something about Samsung rolling out their own open source OS called “Bada”. Good for them.


Android: Simplified source code for parsing and working with XML data and web services in Android

Posted July 19th @ 10:05 pm by Boyan Tsolov

In my previous post I linked to a terrific website (Working with XML on Android) which describes how you can read and parse XML documents in Android. The code supplied by that website used polymorphism to show 4 different methods for parsing the XML data. I vowed to simplify that and share the new source code.

To download the AndroidXmlSimple project click here. You will be taken to another page where you can click to download to the ZIP file.

Below are some instructions on setting yourself up with this source code and customizing it for your own XML data.

Read the rest of this entry »



Advertisement

Options:

Colors

  • download centopeia humana legendado rmvb
  • each time mp3 download
  • download project eden game
  • download telephone ring sound wav
  • download latest counter strike 1.6
  • download tubidy app for blackberry
  • download mp3 peri cinta
  • filemaker pro 6 download mac
  • download map navitel terbaru
  • uffie make it hot download
  • iphone 4 vlog download
  • download my happiness powderfinger mp3
  • download tron bo hoai linh
  • download bot tibia 9.53
  • criadas y seAoras download duane
  • f a 18 super hornet demo download
  • hity 2011 download peb
  • download pokemon lavender town music
  • free download eddy wata i like the way mp3
  • download ios 6 to mac
  • sql developer modeler download
  • download dance dance dance boyfriend mp3
  • canon 20d zoombrowser download
  • download lagu jiraiya versi indonesia
  • download materi kelas 8
  • download wonder girls so hot
  • sholay mouth organ ringtone download
  • download tumhi ho bandhu sakha tumhi ho
  • download wale hate is the new love
  • free download dekh tamasha lakdi ka
  • download obra de mozart
  • download greta knights new world order
  • download a longa viagem de volta
  • download cfw 3.55 da sony
  • download 7 icons playboy video
  • download avaya java device manager
  • susan boyle download mp3 free
  • prince of persia 2 download free
  • download together as one lucky dube
  • wpe download without virus
  • download ebook mencari tuhan yang hilang
  • download pokemon games vnsharing
  • exceed download windows xp
  • a fera vanessa hudgens download dublado
  • avery 64 bit download
  • ethernet controller windows 7 download free
  • download linksys wrt320n software
  • sacred peAna wersja download chomikuj
  • download lagu solat lima waktu
  • iti admit card download up
  • kokoro connect volume 5 download
  • download mankatha theme music free
  • download bahan ajar pkn smp
  • download maquina del tiempo wisin y yandel
  • kalafina live concert download
  • download template 2 kolom blog
  • 8 abs module level 2 download
  • download leftovers by prima j
  • der pate buch download
  • download nhl 09 addony
  • download london paris newyork songs for free
  • eastbound and down theme download
  • download about you now miranda cosgrove mp3
  • unable to download or save files
  • download 50 tons mais escuros livro
  • romanzo criminale download puntate
  • bt broadband help download mac
  • download dub be good to me
  • download iwifihack on ipod touch
  • download um quadro de nA?s dois
  • ddd pool game download free
  • download tears for fears mad world mp3
  • download jogo gtr 2
  • wicked way with you download
  • download pha?n ma?m ha tra? kA? khai 3.0
  • download bb5 easy service tool
  • download lagu remuk jantungku
  • download ot yurots 8.60
  • domace serije download besplatno
  • download donna summer on the radio mp3
  • naruto shippuden episode 215 download free
  • download driver sony vaio vgn p13gh
  • asus m2n68 se2 driver download
  • download edinburgh glasgow expansion pack
  • piratatuga download fm 2011
  • download private emotions mp3
  • game shark 5.0 download
  • matsushita yuya album 2u download
  • download youtube downloader 6.5
  • download r.p.g. maker vx
  • jace everett bad things download free mp3
  • download he has nothing but kungfu
  • download hitman contracts trainer
  • download lagu yang terlupakan aries
  • biostar p4m89 m7b driver download
  • download gmaps for nokia n8
  • download foodcourt waktuku belum terlambat
  • download mse for whs
  • download dragon ball z budokai hr free
  • download zedge ringtones your phone
  • download planeta terror rmvb dublado
  • ubuntu 11.04 os download
  • licence for download manager
  • download future juicy j i'm trippin
  • download physxextensions.dll for batman arkham city
  • whatcha say dubstep download quantum
  • download leitor de cartA?o banrisul
  • ms 6577 video driver download
  • mp3 download va va voom
  • rowdy rathore download songs
  • download aldous huxley heaven and hell
  • download renegado do oiapoque a nova york
  • download ebook revolution 2020 chetan bhagat
  • download cnet internet explorer
  • download how i met 7x13
  • matrix y2k download windows 7
  • download game shopping dress up
  • p 970 driver download
  • download lagu blast band
  • samsung gt b7722 manual download
  • free download to make your computer faster
  • maldita porque download mp3
  • download ile ijo by may d mp3
  • download james arthur lets get it on
  • download esto es calle lapiz conciente
  • download palavras repetidas gabriel o pensador
  • gnomon introduction to maya download
  • arno pro font free download windows
  • download visualization for media player
  • nokia e50 skype download
  • fs design studio 3 download
  • songs.pk download vicky donor
  • james blunt goodbye download
  • minecraft singleplayer download kostenlos deutsch
  • download empire earth units
  • clear download from itunes
  • britney spears criminal download for free
  • download m indicator nokia
  • download free sadda haq rockstar
  • xbox live can't download update
  • download umd movies for psp for free
  • download west coast hustle
  • download zippy susanu numele tau
  • download temi per ubuntu
  • mundo estranho mortes misteriosas download
  • download dreamy baby collection for raw
  • download rapi.dll for windows 7
  • megaman zx download for pc
  • download yahoo fantasy football mobile
  • download world of tanks 0.7.0
  • download hit bollywood songs
  • error sending ram download for bootloader droid 2
  • v per vendetta download ita gratis
  • download lightning for thunderbird 12
  • veoh download how to
  • download tema tribal emerald windows 7
  • u and i hum tum download
  • download f1 racing game free
  • download gun bros for pc
  • counter strike 1.6 download jeje ge
  • mixcraft 5 download keygen
  • adriano sunet & viteza download
  • download sorry t.o. mp3
  • suikoden 5 download iso
  • anjo caido minecraft download gratis
  • download virtual villager 1 full
  • download jay chou hua hai
  • download assault rock mp3
  • garmin 760 manual download
  • download fonte word diva regular
  • bossa nova instrumental download free
  • download gangstar 2 galaxy y
  • download visual foxpro untuk windows 7
  • download sh' boom 5
  • b.a.p second album download
  • the teeth beneath download
  • download starcraft 2 launcher
  • download cartoon wars 2 heroes ipa
  • download voice to text converter software
  • download soundtrack la naranja mecanica
  • fratii reut album 2010 download
  • download the grapes of wrath epub
  • download hitam putih ada band
  • client tibia 8.54 download
  • download my cactus heart
  • summertime mos def download
  • download singularity full rip
  • can't stop maroon 5 download
  • download armv6 android games
  • download flood they might be giants
  • download 1080p bollywood video songs
  • free download maa non stop garba
  • badan pe sitare karaoke download
  • dearly beloved full download
  • mockingbirdill mockingbird editor 9 download
  • download amar swapna tumi
  • microsoft jscript editor download
  • ios 5 download no itunes
  • download home 3d design free
  • sA? para loucos cd download
  • download garmin 2010 maps
  • intel 2200bg driver download for windows 7
  • photofunia new version download
  • micky maus video download
  • download tablet windows 7
  • download mat danh iris thuyet minh
  • download blame it on ya x bandit gang
  • download windows 2003 vm
  • huong dan download heroes 3
  • wsc snooker game download
  • download love rain episode 8 eng sub
  • diarios de vampiro download 2 temporada
  • download up bihar lootne songs.pk
  • download action replay update
  • download domino access for microsoft outlook
  • rumor has it download free mp3
  • download the duff ebook
  • download de thi hsg toan 8
  • download i love you quotes
  • download lagu hidupku bukannya aku lagi
  • mar jayian download song
  • subah subah ringtone download
  • der kleine lord download uploaded
  • negima nintendo ds download
  • download silkroad online game
  • justin timberlake discography download free
  • sunrise avenue download kostenlos
  • download driver for transcend pen drive
  • download photoshop cs5 partes
  • download twitterrific for desktop
  • download minecraft comes alive 1.2.5 installer
  • download airport madness 2 free
  • filip kirkorov disko partizani download
  • download sinners in the hands of an angry god audio
  • 13 assassins download hd
  • ethical questions in dentistry download
  • set theory book download
  • bat download file url
  • free download madura dictionary for windows 7
  • needless opening 1 full download
  • download first take theme song
  • download radar britney spears mp3
  • download musiq soulchild don't change instrumental
  • program za remix download
  • ubuntu download step by step
  • sketches of spain download
  • download cavalo de guerra hd
  • download lagu tangga kesempatan kedua free
  • download sisu bagabonti in tara minunilor zippy
  • download free alvin and the chipmunks movie
  • nvidia 8600gt download driver
  • download saves need for speed undercover
  • dragnet tv show download
  • download pokemon emerald on your computer
  • download donkey kong country 2 snes rom
  • download financial modeling with crystal ball and excel
  • yu gi oh download card
  • gak kayak mantanmu free download mp3
  • presario cq60 software download
  • love comes rising download
  • download gundam ms igloo 2
  • download hp d1360 printer driver free
  • download qt 3.3 for windows
  • overexposed download maroon 5
  • download school days episode 1
  • robert duncan fired up download
  • download the reign ja roule
  • f1 09 game free download
  • download roller coaster 3d rush
  • download black berry messenger 7
  • download mein shayar to nahin
  • download iisadmin.mfl for windows 2003
  • zug simulator free download vollversion kostenlos
  • hyde faith live dvd download
  • download phim nha?t thac hd
  • silly boy download rihanna
  • download the mastery of love free
  • sims 2 exe crack download
  • opera mini download pc free
  • mahadev ki baraat download
  • scx 4623f driver download mac
  • oracle gateways 11g download
  • dias de truta download
  • download thomson tg585 v7 software
  • download castelo animado dublado
  • download balao magico super fantastico
  • amigo da onAa download dublado
  • download vodafone mobile connect 10.2
  • two towers download movie
  • php oop ebook download
  • download song juttni punjabi
  • download phim meo oggy
  • download zhu zhu pets game
  • download bobcat gta sa
  • free download apsara aali video song
  • sabita vabi limbs download
  • india martinez 2012 download
  • download ceca 2011 album
  • download geisha cukup tak lagi gudang lagu
  • download anita blake comics free
  • download oracle 10g standard edition
  • ballad of goddess download
  • download hellsing dublado 3gp
  • download free nokia 7610 pc suite
  • download alkitab windows mobile 6.1
  • glee only exception download free
  • download 2 brooke shields season 1 free
  • download din shagna da
  • primerica financial needs analysis download
  • download kat graham against the wall
  • hit em up download free
  • download bakugan in gba
  • download mp3 cinta memilihmu
  • 4 2 0 kottonmouth kings free download
  • download swing jazz songs
  • download oppa oppa super junior
  • download life frame windows 7 free
  • the sims 3 download e installazione
  • download lagu galau indonesia terbaru
  • download zynga texas holdem for iphone
  • download il cavaliere oscuro il ritorno ita
  • hp pavillion dv1000 drivers download
  • download samurai deeper kyo op
  • stronghold 3 download free full game
  • blood c the last dark ost download
  • download irctc application on mobile
  • download future aint no way around it instrumental
  • mozilla firefox 1.0 7 download
  • download drive de rede
  • download swap magic 3.8 iso
  • microsoft forefront uag download
  • download rtet admit card
  • download mojo gba emulator 1.2
  • chase online banking download
  • download borderlands on pc free
  • brute force attack ubuntu download
  • ibrahim tatlAses vur gitsin download
  • battlefield 3 close quarters download time
  • lady gaga alejandro download kostenlos
  • download the gambler fun
  • download top 10 shooting games
  • free download lagu kahwin mp3
  • nokia n8 user manual announces download
  • download free mahadewi mengapa oh mengapa
  • crysis 2 gcf download
  • czas honoru 1 download
  • download po tej stronie raju
  • tanu weds manu movie download kickass
  • download voice of koyal
  • download kunci gitar wali nenekku pahlawanku
  • download lagu eun bi sarange dachyeoseo
  • download jasiek mbh nazwij to jak chcesz
  • battlefield 2 patch 1.41 download kostenlos
  • download lagu on the floo
  • incredimail xe download windows
  • are you in download
  • dire straits songs download free
  • 64 bit kmplayer download
  • skyrim pirata download pc
  • download fire emblem 7 rom 1235
  • download song dulhe ka sehra suhana
  • download asu din corason
  • download j# second edition
  • download rehab amy winehouse mp3 skull
  • download dragon ball vs street fighter free
  • download jota quest festival de verA?o 2011
  • fallout 3 keygen download
  • download project 64 the emulator zone
  • download dubba jonny vip tutorial
  • akon songs download 2011
  • download deva gana album
  • kruti dev 011 download font
  • antiwpa download windows xp
  • download gammu versi terbaru
  • x ray scanner free download htc
  • lg ks365 free download games
  • download arjunanya buaya mp3
  • quintal de monstros download
  • download hack metin 2fun
  • laos font download windows
  • lumidee could be anything download
  • download windows xp validation tool
  • esmee denters victim free download
  • lagu romantis barat download
  • download winzip 30 day trial
  • download mp3 berharap kau kembali
  • download internet explorer 13 vista
  • download chessmaster xi grandmaster edition
  • download song roya re shiraz uppal
  • download deliric inspectia tehnica de calitate
  • download livro eletronica digital editora erica
  • download leo the late bloomer
  • download lola monroe songs
  • reginaldo rossi download blogspot
  • download soundtrack iklan windows 8 versi india
  • smallville download todas as temporadas dublado
  • abrar ul haq download mp3
  • video games download online
  • 5230 themes free download nokia
  • idolm ster sp download plus