<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bitlancer LLC</title>
	<atom:link href="http://www.bitlancer.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bitlancer.com/blog</link>
	<description>Blog</description>
	<lastBuildDate>Mon, 12 Mar 2012 00:02:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>The importance of setting MySQL slaves to read-only</title>
		<link>http://www.bitlancer.com/blog/2012/03/the-importance-of-setting-mysql-slaves-to-read-only/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-importance-of-setting-mysql-slaves-to-read-only</link>
		<comments>http://www.bitlancer.com/blog/2012/03/the-importance-of-setting-mysql-slaves-to-read-only/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 07:02:35 +0000</pubDate>
		<dc:creator>Matt Juszczak</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://www.bitlancer.com/blog/?p=136</guid>
		<description><![CDATA[Ask any MySQL Database Administrator or database-savvy Developer how smooth their last MySQL master/slave swap went, and unless they live in a perfect world, they likely encountered a hiccup or two.  The actual reconfiguration of replication probably went well, as &#8220;CHANGE MASTER TO&#8221; is hard to mess up if you&#8217;re being careful.   But controlling application [...]]]></description>
			<content:encoded><![CDATA[<p>Ask any MySQL Database Administrator or database-savvy Developer how smooth their last MySQL master/slave swap went, and unless they live in a perfect world, they likely encountered a hiccup or two.  The actual reconfiguration of replication probably went well, as &#8220;CHANGE MASTER TO&#8221; is hard to mess up if you&#8217;re being careful.   But controlling application behavior isn&#8217;t always easy, and can lead to attempted writes to the now-demoted master, which has likely just become a production slave.  For instance, applications that use DNS for database connectivity can cache the DNS entry that should normally point them to the correct MySQL master.  Sometimes, a configuration file is overlooked and the correct read/write host pairs are not updated correctly.  Often enough, a Database Administrator needs to perform an emergency master/slave swap and doesn&#8217;t have control over the behavior of the application(s) the database serves.  A clean architecture involving automation can help avoid these issues all-together, but in a typical environment, MySQL master/slave swaps are a common and manual process.<span id="more-136"></span></p>
<p>To help Database Administrators feel confident about data integrity through a late-night master/slave swap, regardless of potentially mis-behaving applications and clients, it&#8217;s important to remember the &#8220;read-only&#8221; global variable.  The setting can be toggled on/off at runtime, and except for users who have the SUPER privilege, MySQL will forcefully deny any changes to data unless those changes are requested by a replication thread.</p>
<p>However, keep in mind:</p>
<ul>
<li>Many application users, especially at young start-ups, will have GRANT ALL privileges which include SUPER, thereby rendering the read-only setting useless.</li>
<li>Use of automation (such as with puppet or chef and a template-generated my.cnf file) is critical to avoid human error.  Appropriate monitoring around the read-only setting is a huge plus.</li>
<li>Even when used consistently, the read-only setting must be switched on and off at necessary times.  For example, during a master/slave swap, you&#8217;ll want to set the &#8220;old&#8221; master to read-only=on BEFORE you set the &#8220;new&#8221; master to read-only=off.  Otherwise, there&#8217;s a solid chance cached DNS (or some other unexpected behavior) will cause writes to both servers, even if during a small window of opportunity.</li>
</ul>
<p>No matter what hiccup avoidance technique(s) are used (our favorite is eating granulated sugar), it is very important to maintain data integrity at all costs.  No one wants to replay binary logs and migrate misplaced data.  To optimize your next master/slave swap, utilize the read-only setting of MySQL consistently, and be sure to avoid having application users with the SUPER privilege.</p>
<p><strong>Did you know we have a MySQL-specific tips and tricks guide?  <a title="Database Services" href="http://www.bitlancer.com/request-information/database-services">Download it now</a>.<br />
We offer on-site and remote MySQL replication training.  <a title="Connect with Us" href="http://www.bitlancer.com/connect-with-us">Inquire today</a>.<br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitlancer.com/blog/2012/03/the-importance-of-setting-mysql-slaves-to-read-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s behind the public cloud?</title>
		<link>http://www.bitlancer.com/blog/2012/02/whats-behind-the-public-cloud/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=whats-behind-the-public-cloud</link>
		<comments>http://www.bitlancer.com/blog/2012/02/whats-behind-the-public-cloud/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 07:12:28 +0000</pubDate>
		<dc:creator>Kevin Crowe</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[cloud]]></category>

		<guid isPermaLink="false">http://www.bitlancer.com/blog/?p=76</guid>
		<description><![CDATA[One of the hottest topics in computing today, by way of fast innovation and controversy, is whether or not to rely on the public cloud. Lured by the convenience and cost-effectiveness of these services, some computer users and business owners put their applications and data into the cloud without a moment&#8217;s hesitation.  For the most [...]]]></description>
			<content:encoded><![CDATA[<p>One of the hottest topics in computing today, by way of fast innovation and controversy, is whether or not to rely on the public cloud. Lured by the convenience and cost-effectiveness of these services, some computer users and business owners put their applications and data into the cloud without a moment&#8217;s hesitation.  For the most part, they entrust their data to complete strangers, using hardware they have no access to, from a base of operations they often don&#8217;t even know the location of.  Without an educated understanding of the cloud, they count on it without ever having to see it, just as children believe in Santa Clause. As long as the presents keep coming, who can blame them?<span id="more-76"></span></p>
<p>For many, the cloud is a quick and easy solution to many infrastructure and platform challenges. Engineers can focus entirely on application development without ever having to worry about stability and scalability. The control over their infrastructure is surrendered for freedom from full responsibility. That lack of access to their hardware is not missed until a problem occurs, like an outage.  At that point, they can&#8217;t do anything about it. They have to wait for someone else to.</p>
<p>How are public cloud services provided to end users: by who, from where, and using what equipment? It&#8217;s common to not give these questions any thought.  Before the cloud, everyone always knew where their data and applications were physically located.  They understood the infrastructure behind the platform. They either built their own data center, or rented space from one with trust. Either way, this required an in-house maintenance team providing on-site or remote administration.</p>
<p>In all fairness, this occurs with public cloud computing as well. Your data and applications still sit on a server (or multiple servers) in a data center. They are connected to the Internet by network engineers: people you may never meet but will appreciate nonetheless, being available 24 hours a day to deal with any potential problems. This doesn&#8217;t mean, however, that every system in the cloud will always run without trouble. Outages are not unusual, even with top-tier providers, and when such issues arise, it can be frustrating not knowing what&#8217;s being done to resolve or prevent them.</p>
<p>It&#8217;s important to remember that, while typically more robust than stand-alone servers, public cloud services are still subject to the same frailties as any other network system: human error, crackers, crashes and outages.  It&#8217;s also important to remember that not all applications are fit for the public cloud, and private clouds or hybrid solutions are great alternatives for those on the fence.  While some applications are better hosted internally, others are nicely buoyed and flourish under the multi-faceted support the cloud offers. Its recent popularity, after all, isn&#8217;t due entirely to its catchy name.</p>
<p><strong>Let Bitlancer help you succeed in the public cloud with our <a title="Engineering in the Cloud" href="http://www.bitlancer.com/request-information/engineering-in-the-cloud">Guide to Engineering in the Cloud</a>.</strong></p>
<p style="text-align: center;"><a href="http://www.bitlancer.com/blog/wp-content/uploads/2012/03/final-art-email.jpg"><img class="alignnone size-medium wp-image-164" title="Behind the Public Cloud" src="http://www.bitlancer.com/blog/wp-content/uploads/2012/03/final-art-email-300x234.jpg" alt="" width="300" height="234" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitlancer.com/blog/2012/02/whats-behind-the-public-cloud/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rackspace Cloud &amp; FreeBSD</title>
		<link>http://www.bitlancer.com/blog/2011/08/rackspace-cloud-freebsd/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rackspace-cloud-freebsd</link>
		<comments>http://www.bitlancer.com/blog/2011/08/rackspace-cloud-freebsd/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 21:50:05 +0000</pubDate>
		<dc:creator>Matt Juszczak</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[rackspace cloud]]></category>

		<guid isPermaLink="false">http://www.bitlancer.com/blog/?p=18</guid>
		<description><![CDATA[Over the past two years, I&#8217;ve had the opportunity to work with Rackspace Cloud on multiple levels and from multiple directions.  I&#8217;ve been quite impressed with the technology, the team&#8217;s knowledge and willingness to help customers, the advancement of features, and the growing community. To be frank, some awesome things to mention about Rackspace Cloud: [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past two years, I&#8217;ve had the opportunity to work with Rackspace Cloud on multiple levels and from multiple directions.  I&#8217;ve been quite impressed with the technology, the team&#8217;s knowledge and willingness to help customers, the advancement of features, and the growing community.</p>
<p>To be frank, some awesome things to mention about Rackspace Cloud:<span id="more-18"></span></p>
<ul>
<li>Your CPU and I/O usage is burst-able no matter what instance you have, and under the hood of every instance is RAID 10 disk.  With the cheapest instance at less than 2 cents/hour, you can launch a small or horizontally scaled application with a very small budget while still taking advantage of excellent CPU and I/O performance.  Oh, and yes, you can get started for 1.5 cents/hour.</li>
<li>The instances are persistent, so you can choose to use them however you&#8217;d like: very good for traditional folks used to traditional hosting, who want to name servers, use static public and private IP addressing, update reverse DNS, etc., while also good for those folks looking to spin up and tear down instances dynamically and often.</li>
<li>Free DNS hosting, an excellent DNS api, and the ability to set reverse DNS.</li>
<li>Dynamic resizing of instances on the fly (with API support for this and many other operations).</li>
<li>Console access and system recovery using their simple and steadily advancing control panel.</li>
<li>Great image snapshot capabilities and automated backups (though still slightly limited in the current implementation).</li>
<li>Excellent (Fanatical, actually!) support.</li>
</ul>
<p>Every implementation has its downfalls.  Rackspace Cloud has no EBS solution, so disk space is limited to the amount included with your instance (though it is persistent).  The API is growing, so for now, there are still a few bugs and features missing. They have multiple data centers, but you need two separate accounts to use them.</p>
<p>I could keep going on both positives and negatives.</p>
<p>However, my largest disappointment with Rackspace Cloud is the lack of <a title="FreeBSD" href="http://www.freebsd.org/">FreeBSD</a> support.  As an avid FreeBSD user, I look forward to the day when Rackspace Cloud supports this fantastic Operating System.  My assumption is that the version of Xen Rackspace Cloud is using still does not support FreeBSD, as mentioned in the comments of <a title="Why the Rackspace Cloud control panel is the best" href="http://chadkeck.com/2009/12/why-the-rackspace-cloud-control-panel-is-the-best/">Why the Rackspace Cloud Control Panel is the Best</a>.  One could also argue that FreeBSD does not support the older versions of Xen.  Either way, it&#8217;ll be great to see this released later this year if that&#8217;s true.</p>
<p><strong>Let Bitlancer help you succeed in the public cloud with our <a title="Engineering in the Cloud" href="http://www.bitlancer.com/request-information/engineering-in-the-cloud">Guide to Engineering in the Cloud</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitlancer.com/blog/2011/08/rackspace-cloud-freebsd/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Amazon EC2 vs. Rackspace Cloud</title>
		<link>http://www.bitlancer.com/blog/2011/08/amazon-ec2-vs-rackspace-cloud/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=amazon-ec2-vs-rackspace-cloud</link>
		<comments>http://www.bitlancer.com/blog/2011/08/amazon-ec2-vs-rackspace-cloud/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 21:50:23 +0000</pubDate>
		<dc:creator>Matt Juszczak</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[amazon web services]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[rackspace cloud]]></category>

		<guid isPermaLink="false">http://www.bitlancer.com/blog/?p=20</guid>
		<description><![CDATA[We&#8217;re currently beginning a project that clones an environment currently setup at Amazon EC2 to Rackspace Cloud.  Both environments will operate mostly independently, but still need to be implemented in a similar fashion.  Without getting into too many details, I decided to make a quick blog post to compare the pros/cons of Amazon EC2 vs. [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re currently beginning a project that clones an environment currently setup at Amazon EC2 to Rackspace Cloud.  Both environments will operate mostly independently, but still need to be implemented in a similar fashion.  Without getting into too many details, I decided to make a quick blog post to compare the pros/cons of Amazon EC2 vs. Rackspace Cloud.  Rackspace Cloud has a <a title="great comparison page" href="http://www.rackspacecloud.com/cloud_hosting_products/servers/compare">great comparison page</a> (from their perspective, of course).</p>
<p><a title="Rackspace Cloud" href="http://www.rackspacecloud.com/">Rackspace Cloud</a> is a strong offering, and I can understand why it&#8217;s quickly becoming a market leader.  Their support is top-notch and offer an enterprise-level product.  Like Amazon EC2, they have an intuitive web interface, growing API, and competitive pricing.  Here are some things I&#8217;d like to see improved:<span id="more-20"></span></p>
<ul>
<li><strong>Speed &amp; usability of the web interface</strong>: the web interface is quite slow on my Ubuntu Linux box with Firefox.  It seems to vary in speed based on time of day.  Also, it would be nice to have a few more features in the web interface, such as the ability to launch multiple servers at once.</li>
<li><strong>Multiple data center support within one account: </strong>the ability to choose a specific data center for each instance that is provisioned.</li>
<li><strong>A directly attached storage solution:</strong> although the disk space alloted to each instance is reasonable, non-volatile, and fast, there&#8217;s no ability to expand for increased storage or setup logical RAID volumes for increased throughput.</li>
<li><strong>Custom image support: </strong>it would be nice to run FreeBSD (version 8.x has good support for the Xen hypervisor).</li>
</ul>
<p><a title="Amazon EC2" href="http://aws.amazon.com/">Amazon EC2</a> is the most well-known provider, and for good reason.  They have a strong API, flexible implementation options, &#8220;external&#8221; storage, and a slew of other features.  Here are some things I&#8217;d like to see improved:</p>
<ul>
<li><strong>Static internal IP addressing: </strong>unlike Rackspace Cloud, EC2 doesn&#8217;t guarantee that your internal IP address and/or DNS entry won&#8217;t change.  This can be a hurdle for those that want to implement internal DNS.  However, EC2 is smart enough to re-route traffic to other EC2 instances locally at all times, even if the public IP address is used.</li>
<li><strong>Security groups can&#8217;t change: </strong>once an instance is launched, you can not change its security group configuration.  This hinders flexibility.</li>
<li><strong>Buggy AWS console: </strong>the console that is provided by Amazon is buggy.  One example: sometimes security group rules will disappear if you attempt to access a security group you&#8217;ve modified during the same session.</li>
<li><strong>Lack of clarity on data center/zone locations: </strong>this can hurt standard naming conventions (such as after airport codes) when you don&#8217;t know exactly where your instances are located.</li>
</ul>
<p><strong>Let Bitlancer help you succeed in the public cloud with our <a title="Engineering in the Cloud" href="http://www.bitlancer.com/request-information/engineering-in-the-cloud">Guide to Engineering in the Cloud</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitlancer.com/blog/2011/08/amazon-ec2-vs-rackspace-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EC2 Security Groups</title>
		<link>http://www.bitlancer.com/blog/2011/08/ec2-security-groups/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ec2-security-groups</link>
		<comments>http://www.bitlancer.com/blog/2011/08/ec2-security-groups/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 21:39:44 +0000</pubDate>
		<dc:creator>Matt Juszczak</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[amazon web services]]></category>
		<category><![CDATA[aws]]></category>

		<guid isPermaLink="false">http://www.bitlancer.com/blog/?p=22</guid>
		<description><![CDATA[We&#8217;ve been working on a project using Amazon Web Services for the past few years.  One of the main concerns I have is the inability to change a server from one security group to another once deployed.  I&#8217;m sure there are very good reasons for security groups being designed this way (the setup is most [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been working on a project using Amazon Web Services for the past few years.  One of the main concerns I have is the inability to change a server from one security group to another once deployed.  I&#8217;m sure there are very good reasons for security groups being designed this way (the setup is most likely iptables on the host node behind the scenes), but when trying to long-term EC2 instances, it&#8217;s a System Engineer&#8217;s worst nightmare to not have full control over firewall configuration.  Add in the fact that all general EC2 customers share a single private address space, and the need for flexibility becomes even more important.<span id="more-22"></span></p>
<p>Example:</p>
<blockquote><p>You launch 20 MySQL servers in a single security group called &#8220;MySQL Servers&#8221;.  Somewhere down the line (and this does happen), someone needs port 3306 open on one specific server to a random subnet (let&#8217;s call it 192.168.0.0/16).</p>
<p>You now have three options:</p>
<ul>
<li>Re-launch the one server in its own security group, and grant access.  While launch automation and central management should be one of an EC2 user&#8217;s top priorities, this option may not always be practical.</li>
<li>Open up port 3306 to 192168.0.0/16 inside the &#8220;MySQL Servers&#8221; security group, and then use local iptables on the remaining servers to block off access on port 3306.</li>
<li>Open up port 3306 to 192.168.0.0/16 inside the &#8220;MySQL Servers&#8221; security group, and be okay with the fact that all 20 of your MySQL servers are now open to that subnet (and at that point, put your faith in your MySQL users configuration that access is configured appropriately).</li>
</ul>
</blockquote>
<p>In order to avoid encountering this issue in the future, I&#8217;ve recently been <em>experimenting</em> with putting every EC2 instance in its own security group.  Not only can this be used to easily &#8220;tag&#8221; an instance with a name, but it allows you to individually control security rules for each server independently.  Note that this does increase overhead, and most rules will be repeated for all servers of the same type, so I only recommend this solution if you&#8217;re automatically managing your instances via the EC2 API.</p>
<p><strong>Let Bitlancer help you succeed in the public cloud with our <a title="Engineering in the Cloud" href="http://www.bitlancer.com/request-information/engineering-in-the-cloud">Guide to Engineering in the Cloud</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitlancer.com/blog/2011/08/ec2-security-groups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

