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 »


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


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.

    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.
    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.
    The best place I have found for guides, best practices, code samples, etc was Channel9. This is the home page.
    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.
    How to handle navigation, going back and forth between pages, the best practices for setting up your pages.
    Very important read on the application life cycle of a WP7 app.
    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.
    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).
    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.
    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 »




  • nba game time android download apk
  • app to download podcasts android
  • 2060236442
  • ski jumping 2012 download android
  • nintendo games download for android
  • download de aplicativos free para android
  • beginning android 2 download
  • download pes 2012 android full version
  • android software download for windows 7
  • google chrome android tablet free download
  • fake gps android apk download
  • android adb shell download apk
  • android theme launcher lw download
  • download android on htc hd2 sd card
  • minecraft pocket edition full version android download
  • android market my tracks download
  • google voice android app download apk
  • download android for samsung s8530
  • android market download geht nicht mehr
  • download akinator for android free
  • top 10 android racing games free download
  • android eclair driver windows xp
  • huawei e173 driver download android
  • android market download pandigital tablet
  • ebooks downloaden android
  • windows 7 for android apk download free
  • m indicator for android pc download
  • android market for nextbook download
  • cara download games gratis android
  • autocad software for android free download
  • 8394965914
  • weather forecast widget android download
  • texas holdem poker android free download
  • 716761707
  • android mobile movies free download
  • app voor gratis muziek downloaden android
  • yahoo messenger for android download link
  • como cancelar um download android
  • modern combat 2 download android
  • android applications download for pc
  • download 2go for samsung android
  • java virtual machine per android download
  • download android live wallpapers aquarium
  • app download free music android market
  • cube player android download
  • download software alkitab untuk android
  • asphalt 4 na android download
  • bluff my call android
  • 91 pc suite for android english
  • asphalt 7 android download center
  • android windows sdk emulator download
  • 5431208955
  • sims android download apk
  • android os virtual appliance download
  • htc hero android apps download
  • adb android windows 7 download
  • cara mempercepat hp android
  • doodle jump download fA?r android
  • aplicativo para download de filmes android
  • android text edit apk download
  • android document reader download
  • melhor app android download musica
  • android sdk adb drivers download
  • fifa 12 mobile download android
  • battleheart apk download android
  • android navigon europe download kostenlos
  • situs download aplikasi android gratis
  • books to download on android
  • android default notification sounds download
  • dragon story hack android free download
  • android port hp touchpad download
  • gta 3 na android download free
  • android asphalt download apk
  • guns pro apk android download
  • android apk download bluetooth keyboard
  • aplicativos android para baixar musicas
  • skater boy android apk download
  • asphalt game download for android
  • free legal music download sites for android
  • download apps htc wildfire android market
  • download files not supported android
  • 5830039915
  • 2253326594
  • where are files downloaded to on android
  • 2024323128
  • android launcher 3d style download
  • 8516594937
  • download game android untuk pc
  • download yoo ninja para android
  • free tagalog movie download for android
  • sky burger download for android
  • goflex media app android download
  • pro evolution soccer 2011 android download
  • mappa italia copilot 8 android download
  • android fm radio app download
  • jogos android gratis download apk
  • redownload amazon mp3 android
  • girls around me android download
  • english korean dictionary download for android
  • mp3 download free music for android
  • download dj software for android
  • download song pop android app
  • android code download windows
  • brain challenge 4 free download for android
  • calibre ebook download for android
  • uno card game download apps android
  • f1 2012 timing app android download
  • android for omnia 2 download
  • ea free download games for android
  • download mozilla firefox browser for android
  • download windows live messenger android vivo
  • download chikka text messenger for android
  • ahome android download apk
  • android comic viewer apk download
  • slide to unlock download for android
  • camera 360 android download apk
  • android market movie download failed
  • photo editor free download for android phone
  • android samsung wave y download
  • ultimate guitar tuner for android free download
  • call of duty elite app download android
  • asphalt 5 android 320x240 download
  • best internet download manager for android
  • android app download mobile9
  • alarm clock by doubletwist android download
  • google talk android download apk ics
  • best movie downloader app for android
  • bbm bisa di download di android
  • applicazione android download video
  • download swype for htc desire android
  • android app download album artwork
  • 4110270774
  • download samsung new pc studio android
  • android x download unsuccessful
  • download avatar hd game for android free
  • max payne mobile android download free
  • tudo para android download
  • android games 320x480 download
  • aplikacje na androida download peb
  • 2874220098
  • pro android 2 apress download
  • download aplikasi ghost camera android
  • fl studio android beta download
  • acrobat reader android free download
  • android google maps 5 download apk
  • good mp3 downloader for android
  • free download quran digital for android
  • download amazon mp3 android apk
  • sonic 4 episode 2 android download failed
  • ringtones for android phone free download
  • bloon tower defense 4 android download
  • 8565651229
  • download aplikasi android apk free
  • real football android game free download
  • where can i download music for android
  • android 4 x86 virtualbox download
  • video editor download for android
  • best download music app for android
  • how to download arabic keyboard for android
  • download talking tom cat 2 para android
  • dungeon hunter 2 android download full
  • aplikasi download video youtube di android market
  • apps will not download from android market
  • big time gangsta android hack download
  • download font for android galaxy
  • resident evil games for android phones
  • fifa 12 android free download
  • download old sdk android
  • vuze free download for android tablet
  • youtube video download manager for android
  • gameloft gt racing android download
  • android update stuck starting download
  • download igo para android 800x480
  • download all my apps android
  • android jelly bean download for galaxy s2
  • rf 2012 android download apk
  • download arabic language for android tablet
  • motocross games free download for android
  • kindle android app download for playbook
  • death rally download para android
  • download manager cho android
  • ebuddy messenger android download free
  • download apk files for android mobile
  • qr scanner android apk download
  • odin android download galaxy y
  • android speed booster apk free download
  • download game devil ninja android
  • agent mail ru download android
  • 4789825383
  • king pirate android full version free download
  • android download omnia 2
  • flash 10 download for android
  • gta 5 android game free download
  • copilot android apk free download
  • download candy crush saga para android
  • skype with video android download
  • bejeweled 2 free download full version android
  • download melhores jogos para android gratis
  • capture it download for android
  • android apps talking tom download
  • download ubersocial for android via pc
  • cut the rope app download android
  • aplicativo para baixar videos do youtube android
  • download ea fifa 2010 for android
  • android jelly bean samsung galaxy nexus download
  • android adobe chiltons apk download
  • 7059423436
  • phonegap android file transfer download
  • download afinador de violao android
  • download android pc suite latest version
  • samsung firmware update android
  • longman dictionary android download
  • photo studio download for android
  • app android musik download gratis
  • download sygic gps navigation for android free
  • nintendo 64 emulator fA?r android download
  • earn to die free download for android
  • xbmc android download apk
  • download kik for android emulator
  • real player android download pc
  • download giochi gratis per ipad android
  • movie download android app
  • 146245370
  • skype na android download chomikuj
  • rom buddy android download
  • htc wildfire app download android market
  • flv player android mobile free download
  • download dari youtube android
  • android wont download files
  • google earth download latest version for android
  • places app for android download
  • cut rope game android download free
  • eclipse android download site
  • android application for download video
  • how to download android software in pc
  • dailymotion video downloader app for android
  • download words with friends for my android
  • garmin navigator android download apk
  • game hunter android download gratis
  • rockplayer divx android media player free download
  • android screen capture app download
  • sonic the hedgehog 4 free download android
  • 4653463857
  • flash player 8 for android free download
  • go launcher android download free
  • android market wifi download paused
  • call of duty android app download
  • battery widget android apk download
  • android open source game download
  • android multimedia message downloading
  • android market starting download hang
  • textfree with voice android free download
  • music video downloader for android
  • adb driver for android
  • android sdk tools revision 7 download
  • 5957144755
  • 5119039212
  • nintendo ds emulator download for android phone
  • order e chaos android download gratis
  • how to download 2go on android
  • darmowe gry do pobrania na tablet android
  • movies for download on android
  • android games free download center
  • n64 roms deutsch download android
  • style me girl download android
  • 2136645012
  • mobile defense android download
  • android gmail download zip files
  • infinity blade android free download apk
  • google video talk download android
  • android evo 4g driver download
  • android gps status & toolbox download
  • total overdose game free download for android
  • music downloader for android phones
  • tap tap revenge 3 android download free
  • android applications free download websites
  • android google download sdk
  • android download file size limit
  • black market alpha download free for android
  • android market download unsuccessful htc desire hd
  • programmi android download gratis
  • google chat android app download
  • 8719788649
  • must have android apps 2012 free
  • modern combat black pegasus download android
  • android git repo download
  • galaxy fit android games download
  • android app download album art
  • tubemate youtube downloader free for android
  • al quran android indonesia download
  • labyrinth game android free download
  • camara de papel descargar android
  • best free music downloads on android
  • free download badoo app for android
  • download apk installer for android tablet
  • download android apps onto kindle fire
  • iphone status bar for android download
  • android video downloader youtube
  • angry birds friends download for android
  • archos 70 android market download
  • stupid zombies 2 android download
  • android apps apk download pc
  • free download app 2 sd pro android
  • android no lock download
  • download bluetooth file transfer android apk
  • android usb tether download
  • android download gta 3
  • qr code app android download
  • gba emulator for android phone free download
  • application android download youtube
  • shooting games android free download
  • best downloads on android
  • nes emulator download android
  • free download hindi font for android phone
  • cara download foto dari android
  • missing sync android download free
  • advanced task killer download free android
  • gratis download aplikasi android froyo
  • android tablet wont download apps
  • free full movies download for android
  • android free apps download to pc
  • download android market no kyros coby mid7024
  • android youtube videos download software
  • android games download for htc hd2
  • file manager fA?r android download
  • download aplikasi sms untuk android gratis
  • scan barcode app download android
  • download blood and glory for android apk
  • mms stuck downloading android
  • 1 vpn android download
  • android rom omnia i900 download
  • android sdk free download windows xp
  • shopping cart hero android app
  • music videos download for android phones
  • odin download android galaxy ace
  • kindle books not downloading android
  • 5251036839
  • latest android apps 2011 free download
  • download de videos do youtube no android
  • download snes emulator for android
  • emulador de gba para android download
  • google navigation android download apk
  • android play downloaded mp3
  • android can't download not enough space
  • android update os updater download
  • advanced task killer pro download android
  • xperia mini pro android 4 update download
  • android gingerbread download galaxy tab
  • pes 2012 download full android
  • fly like a bird 3 android download
  • firefox 9 download for android
  • google plus download for android
  • real soccer 2008 android download
  • m indicator 2011 free download for android
  • smart voip download for android mobile
  • 9794986019
  • free pokemon game download for android
  • clear downloads android market
  • download fifa 12 untuk android
  • free movie downloads for android phones
  • sites to download android games for free
  • android 3d ui tsf shell pro download
  • better terminal emulator android download
  • odin download android galaxy ace
  • download escape games for android
  • nike plus running android download
  • nvidia tegra 2 android download
  • cara download pes 2012 di android
  • miniclip games free download for android
  • android download multiple images at once
  • bAblia android download tablet
  • spy mouse android apk download
  • app market for android free download
  • download android sync manager wifi
  • 7848019772
  • android text message says downloading
  • free arabic music download for android
  • flash apk download android
  • download android software nokia n97
  • blow up download android
  • iphone text tones download for android
  • bluestack android windows download
  • alcatel android games free download
  • gta 3 android apk free
  • easy tube downloader for android
  • talking news full android download
  • download cho den android
  • app installer download android market
  • vlc player for android tablet free download
  • 9675256902
  • download aplikasi body symbol for android
  • android runic download free
  • logmein android app download
  • uc browser android free download
  • abduction full version android download
  • games for android phones download free
  • age of empires 3 para android download
  • 7263142795
  • cara download lagu di android
  • dungeon hunter android game free download
  • download movie for android tablet free
  • android update download stuck
  • free ringtone downloads for android
  • download pulse app android
  • verizon backup assistant android apk
  • livro de android download
  • htc android pc suite free download
  • my verizon android app download
  • life board game android download
  • download gamecih 3 for android
  • 91 pc suite android english version download
  • app store for android download free
  • street fighter games download for android
  • zedge android application download free
  • aladdin game download android
  • android camera 360 free download
  • real soccer 2012 free download for android
  • android market download over 3g
  • android email will not download attachments
  • flash player plugin free download for android
  • download apps games android free
  • android app games download free
  • best youtube downloader application for android
  • angry birds rio full version android download
  • wpa tester apk android download gratis
  • hindi mp3 songs downloader for android
  • pokemon gba roms android download
  • download albums android phone
  • bmx games android download
  • aplicativos apk android download gratis
  • gry na telefon download android
  • mp4 converter download for android
  • which is best youtube downloader for android
  • world war android download
  • download video youtube dr android
  • sites to download android games
  • wechat free download for android mobile
  • bloons tower defense download android
  • snes emulator download android
  • sega genesis emulator android free download
  • google talk software free download for android
  • websites to download free movies for android
  • download alchemy for android on pc
  • youtube downloader on android market
  • gps ndrive android download portugal
  • android adb software download
  • top 5 youtube downloader for android
  • datpiff mobile download for android
  • free movies to download for android
  • avg pro android download free
  • film downloads for android
  • full screen caller android download
  • cricket game download for android tablet
  • free download ebook reader for android tablet
  • android os download for htc desire
  • download google android market app tablet
  • android applications source code download
  • 1204863389
  • download paper mario for android free
  • android memory optimizer adv apk download
  • download android launcher app for playbook
  • android full download free
  • gta 3 android download free full version
  • android app won't stop downloading
  • can't find download folder on android
  • download k 9 mail client android
  • download software bbm untuk android
  • 893612245
  • android adb interface driver download
  • android market download paused over wifi
  • android eclipse sample project download
  • a online radio app android download
  • wondershare android data recovery download
  • android market download na pc
  • download grand theft auto free for android
  • android download is unsuccessful
  • download appbrain android apk
  • 9293416714
  • android software laptop download
  • android contact manager pc download
  • android market nexus one download
  • adobe reader free download for android mobile
  • google apps for android download
  • can't download from android market htc wildfire
  • csr racing android download gratis
  • my bmw remote android release date
  • nokia 5800 android theme download
  • download language for android keyboard
  • archos 28 android market download
  • cracked android apps download free
  • youtube downloader hd para android
  • maplestory mobile android download
  • 564101563
  • skype fA?r android tablet pc download
  • app fA?r android zum musik downloaden
  • download android apps direct to sd card
  • 642318234
  • best android app download youtube video
  • android sync download for mac
  • android emulator for pc windows xp
  • app android per download youtube
  • android app download A?berwachung
  • download file data pes 2012 android
  • copilot live android keygen
  • download de musicas mp3 android
  • n64 emulator download fA?r android
  • where do downloads go on android phone
  • android business apps download