<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Aws on Shlomo Swidler</title><link>https://shlomoswidler.com/tags/aws/</link><description>Recent content in Aws on Shlomo Swidler</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 31 Mar 2014 21:27:07 +0000</lastBuildDate><atom:link href="https://shlomoswidler.com/tags/aws/index.xml" rel="self" type="application/rss+xml"/><item><title>Cloud pricing wrinkles and tea in China</title><link>https://shlomoswidler.com/2014/03/cloud-pricing-wrinkles-and-tea-in-china.html</link><pubDate>Mon, 31 Mar 2014 21:27:07 +0000</pubDate><guid>https://shlomoswidler.com/2014/03/cloud-pricing-wrinkles-and-tea-in-china.html</guid><description>&lt;p&gt;&lt;a href="http://aws.typepad.com/aws/2014/03/aws-price-reduction-42-ec2-s3-rds-elasticache-and-elastic-mapreduce.html?utm_source=feedburner&amp;amp;amp;utm_medium=feed&amp;amp;amp;utm_campaign=Feed%3A+AmazonWebServicesBlog+(Amazon+Web+Services+Blog)"&gt;As you&amp;rsquo;ve probably heard&lt;/a&gt;, Amazon Web Services reduced their on-demand cloud prices significantly last week. You&amp;rsquo;d think customers would be happy across the board, but that&amp;rsquo;s not the case. Here&amp;rsquo;s why, and what will happen as a result.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://shlomoswidler.com/2014/03/cloud-price-reductions-and-capacity-planning.html" title="Cloud price reductions and capacity planning"&gt;As discussed previously&lt;/a&gt;, AWS customers translate their capacity planning into Reserved Instance purchases, based on the relative savings these RIs provide over on-demand prices. But, when on-demand prices are reduced without a corresponding reduction in the instance-hour price for RIs - as happened last week - the RI breakeven point shifts and upsets the optimal RI coverage calculus. AWS customers who purchased RIs before the price reduction can find themselves stuck with inventory that now costs more per hour, in amortized terms, than the cost if they had not purchased the RI. I have several clients in this situation, and none are very happy about it.&lt;/p&gt;</description></item><item><title>Cloud price reductions and capacity planning</title><link>https://shlomoswidler.com/2014/03/cloud-price-reductions-and-capacity-planning.html</link><pubDate>Mon, 31 Mar 2014 21:20:38 +0000</pubDate><guid>https://shlomoswidler.com/2014/03/cloud-price-reductions-and-capacity-planning.html</guid><description>&lt;p&gt;Last week both &lt;a href="http://googlecloudplatform.blogspot.com/2014/03/google-cloud-platform-live-blending-iaas-and-paas-moores-law-for-the-cloud.html"&gt;Google Cloud Platform&lt;/a&gt; and &lt;a href="http://aws.typepad.com/aws/2014/03/aws-price-reduction-42-ec2-s3-rds-elasticache-and-elastic-mapreduce.html?utm_source=feedburner&amp;amp;amp;utm_medium=feed&amp;amp;amp;utm_campaign=Feed%3A+AmazonWebServicesBlog+(Amazon+Web+Services+Blog)"&gt;Amazon Web Services&lt;/a&gt; reduced their prices for cloud computing services significantly to comparable levels, and both now offer significant discounts for long-term usage. Yet, though the two cloud services may seem similar, their radically different long-term pricing models reveal just how different these cloud offerings really are.&lt;/p&gt;
&lt;h2 id="whose-responsibility-is-capacity-planning"&gt;Whose responsibility is capacity planning?&lt;/h2&gt;
&lt;p&gt;The core difference between GCP and AWS is in capacity planning: Whose responsibility is it? In AWS, the customer owns their own capacity planning. If the customer can accurately predict their needs for the long term, they can purchase Reserved Instances and save significantly as compared to the on-demand cost. Whereas in GCE, Google owns the capacity planning. GCE customers are granted a Sustained Use discount at the end of the month for resources that were active for a significant portion of the month. The GCE customer might track their expected vs. actual costs and be pleasantly surprised when their bill at the end of the month is lower than expected, but the GCE customer cannot a priori translate their capacity planning prowess into reduced costs.&lt;/p&gt;</description></item><item><title>Using the new awscli with Chef and OpsWorks</title><link>https://shlomoswidler.com/2013/11/using-the-new-awscli-with-chef-and-opsworks.html</link><pubDate>Tue, 05 Nov 2013 15:28:52 +0000</pubDate><guid>https://shlomoswidler.com/2013/11/using-the-new-awscli-with-chef-and-opsworks.html</guid><description>&lt;p&gt;We used to go through so much trouble to manipulate Amazon Web Services resources from the command-line. There were separate AWS command-line tools for each service, and each needed to be downloaded and had unique configuration, and each had its own unique output format. &lt;a href="http://alestic.com/2012/09/aws-command-line-tools"&gt;Eric Hammond wrote in detail&lt;/a&gt; about this. With the new &lt;a href="http://aws.amazon.com/cli/"&gt;awscli tool&lt;/a&gt; by Mitch Garnaat (of python boto fame) and his team at AWS, we have a single tool that does it all, uniformly, and can be simply configured. Thanks, Amazon!&lt;/p&gt;</description></item><item><title>Fragment of heretofore unknown Tractate of Babylonian Talmud discovered</title><link>https://shlomoswidler.com/2013/07/fragment-of-heretofore-unknown-tractate-of-babylonian-talmud-discovered.html</link><pubDate>Wed, 03 Jul 2013 22:06:04 +0000</pubDate><guid>https://shlomoswidler.com/2013/07/fragment-of-heretofore-unknown-tractate-of-babylonian-talmud-discovered.html</guid><description>&lt;p&gt;Ancient wisdom apparently has much to offer modern cloud application architects. This fragment was discovered in a shadowy basement in the Tel Aviv area of Israel.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://shlomoswidler.com/images/uploads/2013/07/MasechetDBKamma.pdf"&gt;&lt;img alt="MasechetDBKamma" loading="lazy" src="https://shlomoswidler.com/images/uploads/2013/07/MasechetDBKamma-791x1024.png"&gt;See a PDF of the fragment&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This finding clearly shows that ancient cloud application architects in the great talmudic academies of Babylon struggled with the transition away from classic databases. At the time, apparently, a widely used solution was known as Urim veTumim (&amp;ldquo;oracle&amp;rdquo;). Yet this database was unsuited for reliable use in cloud applications, and the text explores the reasons behind that unsuitability.&lt;/p&gt;</description></item><item><title>Poking Holes in CloudFront-Based Sites for Dynamic Content</title><link>https://shlomoswidler.com/2012/05/poking-holes-in-cloudfront-based-sites-for-dynamic-content.html</link><pubDate>Mon, 14 May 2012 18:21:57 +0000</pubDate><guid>https://shlomoswidler.com/2012/05/poking-holes-in-cloudfront-based-sites-for-dynamic-content.html</guid><description>&lt;p&gt;As of Februrary 2011 &lt;a href="http://aws.typepad.com/aws/2011/02/host-your-static-website-on-amazon-s3.html"&gt;AWS S3 has been able to serve static websites&lt;/a&gt;, giving you superior availability for unchanging (or seldom-changing) content. But most websites today are not static; dynamic elements drive essential features such as personalized pages, targeted advertisements, and shopping carts. Today&amp;rsquo;s release from &lt;a href="http://aws.typepad.com/aws/2012/05/amazon-cloudfront-support-for-dynamic-content.html"&gt;AWS CloudFront: Support for Dynamic Content&lt;/a&gt; alleviates some of the challenge of running dynamic websites. You can now configure a custom set of URL patterns to always be passed through to the origin server. This allows you to &amp;ldquo;poke holes&amp;rdquo; in the CDN cache for providing dynamic content.&lt;/p&gt;</description></item><item><title>Scalability and HA Limitations of AWS Marketplace AMIs</title><link>https://shlomoswidler.com/2012/04/scalability-and-ha-limitations-of-aws-marketplace-amis.html</link><pubDate>Wed, 25 Apr 2012 14:54:24 +0000</pubDate><guid>https://shlomoswidler.com/2012/04/scalability-and-ha-limitations-of-aws-marketplace-amis.html</guid><description>&lt;p&gt;Reading &lt;a href="http://aws.amazon.com/about-aws/whats-new/2012/04/19/introducing-aws-marketplace/"&gt;AWS&amp;rsquo;s recent announcement&lt;/a&gt; of the &lt;a href="https://aws.amazon.com/marketplace/"&gt;AWS Marketplace&lt;/a&gt; you would think that it provides a catalog of click-to-deploy, highly-available, scalable applications running on EC2. You&amp;rsquo;d be partially right: the applications available in the AWS Marketplace are deployable in only a few clicks. But highly-available and scalable services will be difficult to build using Marketplace images. Here&amp;rsquo;s why.&lt;/p&gt;
&lt;h2 id="essential-ingredients-of-ha-and-scalability-on-aws"&gt;Essential Ingredients of HA and Scalability on AWS&lt;/h2&gt;
&lt;p&gt;AWS makes it easy to run scalable, HA applications via several features. Not all applications use all of these features, but it would be very difficult to provide scalable and highly available service without using at least one of these:&lt;/p&gt;</description></item><item><title>Recapture Unused EC2 Minutes</title><link>https://shlomoswidler.com/2011/02/recapture-unused-ec2-minutes.html</link><pubDate>Mon, 28 Feb 2011 20:43:31 +0000</pubDate><guid>https://shlomoswidler.com/2011/02/recapture-unused-ec2-minutes.html</guid><description>&lt;p&gt;How much time is &amp;ldquo;wasted&amp;rdquo; in the paid-for but unused portion of the hour when you terminate an instance? How can you recapture this time - which represents compute power - and put it to good use? After all, you&amp;rsquo;ve paid for it already. This article presents a technique for repurposing an instance after you&amp;rsquo;re &amp;ldquo;done&amp;rdquo; with it, until the current billing hour is up. It&amp;rsquo;s inspired by a &lt;a href="http://twitter.com/DEVOPS_BORAT/status/41360261902381056"&gt;tweet from DEVOPS_BORAT&lt;/a&gt;:&lt;/p&gt;</description></item><item><title>AWS Auto-Scaling and ELB with Reliable Root Domain Handling</title><link>https://shlomoswidler.com/2011/01/aws-auto-scaling-and-elb-with-reliable-root-domain-handling.html</link><pubDate>Mon, 24 Jan 2011 15:56:42 +0000</pubDate><guid>https://shlomoswidler.com/2011/01/aws-auto-scaling-and-elb-with-reliable-root-domain-handling.html</guid><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;Update May 2011&lt;/strong&gt;&lt;/em&gt;: Now that &lt;a href="http://aws.typepad.com/aws/2011/05/moving-ahead-with-amazon-route-53.html"&gt;AWS Route 53 can be used to allow an ELB to host a domain zone apex&lt;/a&gt;, the technique described here is no longer necessary. Cool, but not necessary.&lt;/p&gt;
&lt;p&gt;Someone really has to implement this. I&amp;rsquo;ve had this draft sitting around ever since AWS announced support for improved CloudWatch alerts and AutoScaling policies (August 2010), but I haven&amp;rsquo;t yet turned it into a clear set of commands to follow. If you do, please comment.&lt;/p&gt;</description></item><item><title>Using Elastic Beanstalk via command-line on a Mac? Keep that OS X Install DVD handy</title><link>https://shlomoswidler.com/2011/01/using-elastic-beanstalk-via-command-line-on-a-mac-keep-that-os-x-install-dvd-handy.html</link><pubDate>Thu, 20 Jan 2011 04:59:06 +0000</pubDate><guid>https://shlomoswidler.com/2011/01/using-elastic-beanstalk-via-command-line-on-a-mac-keep-that-os-x-install-dvd-handy.html</guid><description>&lt;p&gt;The title pretty much says it all.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://aws.amazon.com/elasticbeanstalk/"&gt;Elastic Beanstalk&lt;/a&gt; is the new service from Amazon Web Services offering you easier deployment of Java WAR files. More languages and platforms are expected to be supported in the future.&lt;/p&gt;
&lt;p&gt;Most people will use the service via the convenient &lt;a href="https://console.aws.amazon.com/elasticbeanstalk/home"&gt;web console&lt;/a&gt;, but if you want to automate things you&amp;rsquo;ll either end up using the &lt;a href="http://aws.amazon.com/code/6752709412171743"&gt;command-line tools (CLI tools)&lt;/a&gt; or the API in the &lt;a href="http://aws.amazon.com/sdkforjava/"&gt;Java SDK&lt;/a&gt; (until their other SDKs add Beanstalk support).&lt;/p&gt;</description></item><item><title>Using AWS Route 53 to Keep Track of EC2 Instances</title><link>https://shlomoswidler.com/2010/12/using-aws-route-53-to-keep-track-of-ec2-instances.html</link><pubDate>Wed, 22 Dec 2010 17:37:17 +0000</pubDate><guid>https://shlomoswidler.com/2010/12/using-aws-route-53-to-keep-track-of-ec2-instances.html</guid><description>&lt;p&gt;&lt;em&gt;This article is a guest post by Guy Rosen, CEO of &lt;a href="http://www.onavo.com/"&gt;Onavo&lt;/a&gt; and author of the &lt;a href="http://www.jackofallclouds.com/"&gt;Jack of All Clouds&lt;/a&gt; blog. Guy was one of the first people to produce hard numbers on cloud adoption for site hosting, and he continues to publish regular updates to this research in his &lt;a href="http://www.jackofallclouds.com/category/state-of-the-cloud/"&gt;State of the Cloud&lt;/a&gt; series. These days he runs his startup Onavo which uses the cloud to offer smartphone users a way to slash overpriced data roaming costs.&lt;/em&gt; &lt;em&gt;In this article, Guy provides another technique to &lt;a href="https://shlomoswidler.com/2010/06/track-changes-to-your-dynamic-cloud-services-automatically.html"&gt;track changes to your dynamic cloud services automatically&lt;/a&gt;, possible now that AWS has released &lt;a href="http://aws.amazon.com/route53/"&gt;Route 53&lt;/a&gt;, DNS services. Take it away, Guy.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>S3 Reduced Redundancy Storage with Simple Notification Service: What, Why, and When</title><link>https://shlomoswidler.com/2010/07/s3-reduced-redundancy-storage-with-simple-notification-service-what-why-and-when.html</link><pubDate>Thu, 22 Jul 2010 05:16:24 +0000</pubDate><guid>https://shlomoswidler.com/2010/07/s3-reduced-redundancy-storage-with-simple-notification-service-what-why-and-when.html</guid><description>&lt;p&gt;AWS recently added support for &lt;a href="http://aws.typepad.com/aws/2010/07/amazon-s3-and-amazon-sns-best-friends-forever.html"&gt;receiving Simple Notification Service notifications when S3 loses a Reduced Redundancy Storage S3 object&lt;/a&gt;. This raises a number of questions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What the heck does that even mean?&lt;/li&gt;
&lt;li&gt;Why would I want to do that?&lt;/li&gt;
&lt;li&gt;Under what conditions does it make financial sense to do that?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Let&amp;rsquo;s take a look at these questions, and we&amp;rsquo;ll also do a bit of brainstorming (please participate!) to design a service that puts it all together.&lt;/p&gt;</description></item><item><title>Storing AWS Credentials on an EBS Snapshot Securely</title><link>https://shlomoswidler.com/2010/07/storing-aws-credentials-on-an-ebs-snapshot-securely.html</link><pubDate>Mon, 19 Jul 2010 21:13:07 +0000</pubDate><guid>https://shlomoswidler.com/2010/07/storing-aws-credentials-on-an-ebs-snapshot-securely.html</guid><description>&lt;p&gt;Thanks to reader Ewout and his comment on my article &lt;a href="https://shlomoswidler.com/2009/08/how-to-keep-your-aws-credentials-on-ec2.html"&gt;How to Keep Your AWS Credentials on an EC2 Instance Securely&lt;/a&gt; for suggesting an additional method of transferring credentials: via a snapshot. It&amp;rsquo;s similar to burning credentials into an AMI, but easier to do and less prone to accidental inclusion in the application&amp;rsquo;s AMI.&lt;/p&gt;
&lt;p&gt;Read on for a discussion of how to implement this technique.&lt;/p&gt;
&lt;h2 id="how-to-store-aws-credentials-on-an-ebs-snapshot"&gt;How to Store AWS Credentials on an EBS Snapshot&lt;/h2&gt;
&lt;p&gt;This is how to store a secret on an EBS snapshot. You do this only once, or whenever you need to change the secret.&lt;/p&gt;</description></item><item><title>Track Changes to your Dynamic Cloud Services Automatically</title><link>https://shlomoswidler.com/2010/06/track-changes-to-your-dynamic-cloud-services-automatically.html</link><pubDate>Sun, 20 Jun 2010 05:13:00 +0000</pubDate><guid>https://shlomoswidler.com/2010/06/track-changes-to-your-dynamic-cloud-services-automatically.html</guid><description>&lt;p&gt;Dynamic infrastructure can be a pain to accommodate in applications. How do you keep track of the set of web servers in your dynamically scaling web farm? How do your apps keep up with which server is currently running what service? How can applications be written so they don&amp;rsquo;t need to care if a service gets moved to a different machine? There are a number of techniques available, and I&amp;rsquo;m happy to share implementation code for one that I&amp;rsquo;ve found useful.&lt;/p&gt;</description></item><item><title>How I Moved 5% of All Objects in S3 with Jets3t</title><link>https://shlomoswidler.com/2010/05/how-i-moved-5-of-all-objects-in-s3-with-jets3t.html</link><pubDate>Mon, 10 May 2010 07:26:44 +0000</pubDate><guid>https://shlomoswidler.com/2010/05/how-i-moved-5-of-all-objects-in-s3-with-jets3t.html</guid><description>&lt;p&gt;This is a true story about a lot of data. The cast of characters is as follows:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Protagonist&lt;/em&gt;&lt;/strong&gt;: Me.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Hero&lt;/em&gt;&lt;/strong&gt;: &lt;a href="http://jets3t.s3.amazonaws.com/index.html"&gt;Jets3t&lt;/a&gt;, a Java library for using Amazon S3.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Villain&lt;/em&gt;&lt;/strong&gt;: Decisions made long ago, for forgotten reasons.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Innocent Bystanders&lt;/em&gt;&lt;/strong&gt;: My client.&lt;/p&gt;
&lt;h2 id="once-upon-a-time"&gt;Once Upon a Time&amp;hellip;&lt;/h2&gt;
&lt;p&gt;Amazon S3 is a great place to store media files and allows these files to be served directly from S3, instead of from your web server, thereby saving your server&amp;rsquo;s network and CPU for more important tasks. There are some gotchas with serving files directly from S3, and it is these gotchas that had my client locked in to paying for bandwidth and CPU to serve media files directly from his web server.&lt;/p&gt;</description></item><item><title>Elastic Load Balancing with Sticky Sessions</title><link>https://shlomoswidler.com/2010/04/elastic-load-balancing-with-sticky-sessions.html</link><pubDate>Thu, 08 Apr 2010 07:01:40 +0000</pubDate><guid>https://shlomoswidler.com/2010/04/elastic-load-balancing-with-sticky-sessions.html</guid><description>&lt;p&gt;At long last, the &lt;a href="https://forums.aws.amazon.com/message.jspa?messageID=160008"&gt;most oft-requested feature&lt;/a&gt; for EC2&amp;rsquo;s Elastic Load Balancer is here: session affinity, also known as &amp;ldquo;sticky sessions&amp;rdquo;. What is session affinity? Why is this feature in such high demand? How can it be used with existing applications? Let&amp;rsquo;s take a look at these questions. But first, let&amp;rsquo;s explore what a session is - then we&amp;rsquo;ll cover why we want it to be sticky, and what ELB&amp;rsquo;s sticky session limitations are. [To skip directly to an explanation of how to use ELB sticky sessions, go toward the bottom of the article.]&lt;/p&gt;</description></item><item><title>EC2 Reserved Instance Availability Zone Problem? No Problem.</title><link>https://shlomoswidler.com/2010/03/ec2-reserved-instance-availability-zone-problem-no-problem.html</link><pubDate>Thu, 18 Mar 2010 02:37:11 +0000</pubDate><guid>https://shlomoswidler.com/2010/03/ec2-reserved-instance-availability-zone-problem-no-problem.html</guid><description>&lt;p&gt;You may know that &lt;a href="http://aws.amazon.com/ec2/reserved-instances/"&gt;Amazon Web Services Reserved Instances&lt;/a&gt; have some gotchas. One of these gotchas is that the availability zone in which the reservation is purchased cannot be changed. So if you need to use an instance in a different availability zone (e.g. if you hit InsufficientCapacity errors*) than your reservation, you&amp;rsquo;re out of luck - and you end up paying the on-demand price.&lt;/p&gt;
&lt;p&gt;Today at &lt;a href="http://www.cloudconnectevent.com/"&gt;CloudConnect&lt;/a&gt; I chatted with Jeremy Edberg of &lt;a href="http://www.reddit.com/"&gt;Reddit&lt;/a&gt; and Joe Arnold of &lt;a href="http://www.cloudscaling.com/"&gt;Cloudscaling&lt;/a&gt;, and we had an insight: there&amp;rsquo;s a workaround. Read on for more details.&lt;/p&gt;</description></item><item><title>Use ELB to Serve Multiple SSL Domains on One EC2 Instance</title><link>https://shlomoswidler.com/2009/12/use-elb-to-serve-multiple-ssl-domains.html</link><pubDate>Thu, 24 Dec 2009 07:12:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/12/use-elb-to-serve-multiple-ssl-domains.html</guid><description>&lt;p&gt;This is one of the coolest uses of Amazon&amp;rsquo;s ELB I&amp;rsquo;ve seen yet. Check out &lt;a href="https://web.archive.org/web/20130914191613/http://elwoodicious.com/2009/12/23/using-elb-to-serve-multiple-domains-over-ssl-on-ec2-for-giggles/"&gt;James Elwood&amp;rsquo;s article&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You may know that you can&amp;rsquo;t serve more than one SSL-enabled domain on a single EC2 instance. Okay, you can but only via a wildcard certificate (limited) or a multi-domain certificate (hard to maintain). So you really can&amp;rsquo;t do it properly. Serving multiple SSL domains is one of the main use cases behind the &lt;a href="https://forums.aws.amazon.com/thread.jspa?threadID=27918"&gt;popular&lt;/a&gt; &lt;a href="https://forums.aws.amazon.com/thread.jspa?threadID=28858"&gt;request&lt;/a&gt; to support multiple IP addresses per instance.&lt;/p&gt;</description></item><item><title>Read-After-Write Consistency in Amazon S3</title><link>https://shlomoswidler.com/2009/12/read-after-write-consistency-in-amazon.html</link><pubDate>Thu, 10 Dec 2009 15:54:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/12/read-after-write-consistency-in-amazon.html</guid><description>&lt;p&gt;S3 has an &amp;ldquo;eventual consistency&amp;rdquo; model, which presents certain limitations on how S3 can be used. Today, &lt;a href="http://aws.typepad.com/aws/2009/12/aws-importexport-goes-global.html"&gt;Amazon released an improvement called &amp;ldquo;read-after-write-consistency&amp;rdquo; in the EU and US-west regions&lt;/a&gt; (it&amp;rsquo;s there, hidden at the bottom of the blog post). Here&amp;rsquo;s an explanation of what this is, and why it&amp;rsquo;s cool.&lt;/p&gt;
&lt;h2 id="what-is-eventual-consistency"&gt;What is Eventual Consistency?&lt;/h2&gt;
&lt;p&gt;Consistency is a key concept in data storage: it describes when changes committed to a system are visible to all participants. Classic transactional databases employ various levels of consistency, but the golden standard is that after a transaction commits the changes are guaranteed to be visible to all participants. A change committed at millisecond 1 is guaranteed to be available to all views of the system - all queries - immediately thereafter.&lt;/p&gt;</description></item><item><title>How to Work with Contractors on AWS EC2 Projects</title><link>https://shlomoswidler.com/2009/11/how-to-work-with-contractors-on-aws-ec2.html</link><pubDate>Tue, 17 Nov 2009 20:02:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/11/how-to-work-with-contractors-on-aws-ec2.html</guid><description>&lt;p&gt;Recently I answered &lt;a href="https://forums.aws.amazon.com/thread.jspa?threadID=38666&amp;amp;amp;tstart=0"&gt;a question&lt;/a&gt; on the &lt;a href="https://forums.aws.amazon.com/forum.jspa?forumID=30"&gt;EC2 forums&lt;/a&gt; about how to give third parties access to EC2 instances. I noticed there&amp;rsquo;s not a lot of info out there about how to work with contractors, consultants, or even internal groups to whom you want to grant access to your AWS account. Here&amp;rsquo;s how.&lt;/p&gt;
&lt;h2 id="first-a-caveat"&gt;First, a Caveat&lt;/h2&gt;
&lt;p&gt;Please be very selective when you choose a contractor. You want to make sure you choose a candidate who can actually do the work you need - and unfortunately, not everyone who advertises as such can really deliver the goods. Reuven Cohen&amp;rsquo;s &lt;a href="http://www.elasticvapor.com/2009/10/anatomy-of-cloud-consultant.html"&gt;post about choosing a contractor/consultant for cloud projects&lt;/a&gt; examines six key factors to consider:&lt;/p&gt;</description></item><item><title>Avoiding EC2 InsufficientInstanceCapacity: Insufficient Capacity Errors</title><link>https://shlomoswidler.com/2009/10/avoiding-ec2-insufficientinstancecapaci.html</link><pubDate>Sun, 18 Oct 2009 01:17:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/10/avoiding-ec2-insufficientinstancecapaci.html</guid><description>&lt;p&gt;Here&amp;rsquo;s a quick tip from &lt;a href="https://forums.aws.amazon.com/thread.jspa?threadID=37054&amp;amp;amp;tstart=0"&gt;this thread&lt;/a&gt; on the &lt;a href="https://forums.aws.amazon.com/forum.jspa?forumID=30&amp;amp;amp;start=0"&gt;AWS EC2 Developer Forums&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you experience the &lt;code&gt;InsufficientInstanceCapacity: Insufficient Capacity&lt;/code&gt; error, you&amp;rsquo;ll be glad to know there are some strategies for working around it. Justin@AWS offers this advice:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;There can be short periods of time when we are unable to accommodate instance requests that are targeted to a specific Availability Zone. When a particular instance type experiences unexpected demand in an Availability Zone, our system must react by shifting capacity from one instance type to another. This can result in short periods of insufficient capacity. We incorporate this data into our capacity planning and try to manage all zones to have adequate capacity at all times. The following steps will ensure that you will have the best experience launching Amazon EC2 instances when an initial insufficient capacity message is received:&lt;/p&gt;</description></item><item><title>Amazon S3 Gotcha: Using Virtual Host URLs with HTTPS</title><link>https://shlomoswidler.com/2009/08/amazon-s3-gotcha-using-virtual-host.html</link><pubDate>Tue, 18 Aug 2009 06:45:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/08/amazon-s3-gotcha-using-virtual-host.html</guid><description>&lt;p&gt;Amazon S3 is a great place to store static content for your web site. If the content is sensitive you&amp;rsquo;ll want to prevent the content from being visible while in transit from the S3 servers to the client. The standard way to secure the content during transfer is by https - simply request the content via an https URL. However, this approach has a problem: it does not work for content in S3 buckets that are accessed via a virtual host URL. Here is an examination of the problem and a workaround.&lt;/p&gt;</description></item><item><title>Elastic Load Balancer: An Elasticity Gotcha</title><link>https://shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html</link><pubDate>Fri, 14 Aug 2009 15:07:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html</guid><description>&lt;p&gt;If you use AWS&amp;rsquo;s Elastic Load Balancer to allow your EC2 application to scale, like I do, then you&amp;rsquo;ll want to know about this gotcha recently &lt;a href="https://forums.aws.amazon.com/thread.jspa?threadID=35149&amp;amp;amp;tstart=0"&gt;reported in the AWS forums&lt;/a&gt;. By all appearances, it looks like something that should be fixed by Amazon. Until it is, you can reduce (but not eliminate) your exposure to this problem by keeping a small TTL for your ELB&amp;rsquo;s DNS CNAME entry. Read on for details.&lt;/p&gt;</description></item><item><title>Mount an EBS Volume Created from Snapshot at Startup</title><link>https://shlomoswidler.com/2009/08/mount-ebs-volume-created-from-snapshot.html</link><pubDate>Fri, 07 Aug 2009 13:15:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/08/mount-ebs-volume-created-from-snapshot.html</guid><description>&lt;p&gt;There are &lt;a href="https://forums.aws.amazon.com/thread.jspa?messageID=99100"&gt;many&lt;/a&gt; &lt;a href="https://forums.aws.amazon.com/thread.jspa?threadID=25071&amp;amp;amp;tstart=0"&gt;posts&lt;/a&gt; about how to mount an EBS volume to your EC2 instance during the startup process. But requiring an instance to use a specific EBS volume has limitations that make the technique unsuitable for large-scale use. In this article I present a more flexible technique that uses an EBS snapshot instead.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Update December 2009&lt;/strong&gt;&lt;/em&gt;: Amazon released native support for automatically mounting EBS volumes created from a snapshot, as part of supporting the &lt;a href="http://aws.amazon.com/about-aws/whats-new/2009/12/03/amazon-ec2-instances-now-can-boot-from-amazon-ebs/"&gt;boot-from-EBS feature&lt;/a&gt;. The techniques in this article are no longer necessary. But they&amp;rsquo;re cool anyway.&lt;/p&gt;</description></item><item><title>EC2 Instance Belonging to Multiple ELBs</title><link>https://shlomoswidler.com/2009/07/ec2-instance-belonging-to-multiple-elbs.html</link><pubDate>Thu, 23 Jul 2009 17:51:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/07/ec2-instance-belonging-to-multiple-elbs.html</guid><description>&lt;p&gt;I discovered an interesting feature of Amazon EC2 Elastic Load Balancing today: you can add an EC2 instance to more than one ELB virtual appliance. Below I demonstrate the steps I took to set up two ELBs each containing the same instance, and afterward I explain how this technique can be used to deliver different classes of service.&lt;/p&gt;
&lt;h2 id="how-to-set-up-one-instance-belonging-to-multiple-elbs"&gt;How to Set Up One Instance Belonging to Multiple ELBs&lt;/h2&gt;
&lt;p&gt;I set this up using the standard &lt;a href="http://aws.amazon.com/developertools/351?_encoding=UTF8&amp;amp;amp;jiveRedirect=1"&gt;EC2 API&lt;/a&gt; and &lt;a href="http://aws.amazon.com/developertools/2536?_encoding=UTF8&amp;amp;amp;jiveRedirect=1"&gt;EC2 ELB&lt;/a&gt; command-line tools. First I launched an instance. I used my favorite &lt;a href="http://alestic.com/"&gt;Alestic&lt;/a&gt; image, the Ubuntu 8.04 Hardy Server AMI:&lt;/p&gt;</description></item><item><title>Copying ElasticFox Tags from One Browser to Another</title><link>https://shlomoswidler.com/2009/07/copying-elasticfox-tags-from-one.html</link><pubDate>Wed, 15 Jul 2009 18:41:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/07/copying-elasticfox-tags-from-one.html</guid><description>&lt;p&gt;The &lt;a href="http://aws.amazon.com/developertools/609?_encoding=UTF8&amp;amp;amp;jiveRedirect=1"&gt;ElasticFox Firefox extension&lt;/a&gt; allows you to tag EC2 instances, EBS volumes, EBS snapshots, Elastic IPs, and AMIs. ElasticFox&amp;rsquo;s tags are stored locally within Firefox, so if you use ElasticFox from more than one browser your tags from one browser are not visible in any other browser. In this article I demonstrate how to copy tags from one ElasticFox installation to another.&lt;/p&gt;
&lt;h2 id="where-are-elasticfox-tags-stored"&gt;Where Are ElasticFox Tags Stored?&lt;/h2&gt;
&lt;p&gt;My article about &lt;a href="https://shlomoswidler.com/2009/06/tagging-ec2-instances-using-security_30.html"&gt;Tagging EC2 Instances Using Security Groups&lt;/a&gt; shows a brief walkthrough of using ElasticFox to tag instances. Under the hood, ElasticFox stores tags in the prefs.js file within your Firefox Profile directory. But instead of poking around in there directly, take a look at Firefox&amp;rsquo;s built-in interface to these preferences. It&amp;rsquo;s the about:config screen, and you get there by typing &lt;code&gt;about:config&lt;/code&gt; into the address bar:&lt;/p&gt;</description></item><item><title>Boot EC2 Instances from EBS</title><link>https://shlomoswidler.com/2009/07/boot-ec2-instances-from-ebs.html</link><pubDate>Tue, 14 Jul 2009 21:09:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/07/boot-ec2-instances-from-ebs.html</guid><description>&lt;p&gt;EBS offers the ability to have a &amp;ldquo;virtual disk drive&amp;rdquo; whose lifetime is independent of any EC2 instance. You can attach EBS drives to any running instance, and any changes made to the drive will persist even after the instance is terminated. You can also set up an EBS drive to be the root filesystem for an instance - giving you the benefits of an always-on instance but without paying for it when it&amp;rsquo;s not in use - and this article shows you how to do that. I also explore how to estimate the cost savings you can achieve using this solution.&lt;/p&gt;</description></item><item><title>The "Elastic" in "Elastic Load Balancing": ELB Elasticity and How to Test it</title><link>https://shlomoswidler.com/2009/07/elastic-in-elastic-load-balancing-elb.html</link><pubDate>Sun, 12 Jul 2009 06:00:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/07/elastic-in-elastic-load-balancing-elb.html</guid><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Update March 2012:&lt;/em&gt;&lt;/strong&gt; Amazon published their own &lt;a href="http://aws.amazon.com/articles/1636185810492479"&gt;official guide to ELB&amp;rsquo;s architecture and building and testing applications that use it&lt;/a&gt;. The official material is very consistent with the presentation offered here, more than two and a half years prior.&lt;/p&gt;
&lt;p&gt;Elastic Load Balancing is a long-anticipated AWS feature that aims to ease the deployment of highly-scalable web applications. Let&amp;rsquo;s take a look at how it achieves elasticity, based on experience and based on the information available in the AWS forums (mainly &lt;a href="https://forums.aws.amazon.com/thread.jspa?threadID=32280"&gt;this thread&lt;/a&gt;). The goal is to understand how to design and test ELB deployments properly.&lt;/p&gt;</description></item><item><title>Tagging EC2 Instances Using Security Groups</title><link>https://shlomoswidler.com/2009/06/tagging-ec2-instances-using-security_30.html</link><pubDate>Tue, 30 Jun 2009 20:55:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/06/tagging-ec2-instances-using-security_30.html</guid><description>&lt;p&gt;&lt;strong&gt;Update September 2010&lt;/strong&gt;: AWS has added &lt;a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?Using_Tags.html"&gt;support for tagging&lt;/a&gt; instances, volumes, snapshots, and many other EC2 resource types via the API and the AWS Management Console. The techniques described here are no longer necessary.&lt;/p&gt;
&lt;p&gt;So you have a bunch of instances running in Amazon EC2 and you want to be able to tell them apart easily. The way to do this is to &amp;ldquo;tag&amp;rdquo; each instance with a descriptive tag, such as &amp;ldquo;database&amp;rdquo;, &amp;ldquo;web server&amp;rdquo;, &amp;ldquo;memcached&amp;rdquo;, etc. The easy, human-friendly way to tag your instances is to use ElasticFox, and the robust, programming-friendly way is to use Security Groups.&lt;/p&gt;</description></item><item><title>Welcome to Cloud Developer Tips</title><link>https://shlomoswidler.com/2009/06/welcome-to-another-cloud-blog.html</link><pubDate>Tue, 30 Jun 2009 01:56:00 +0000</pubDate><guid>https://shlomoswidler.com/2009/06/welcome-to-another-cloud-blog.html</guid><description>&lt;p&gt;Here you will find practical tips for developers who are using cloud computing.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forums.aws.amazon.com/profile.jspa?userID=62754"&gt;This is me&lt;/a&gt; on the &lt;a href="https://forums.aws.amazon.com/forum.jspa?forumID=30&amp;amp;amp;start=0"&gt;Amazon Web Services EC2 support forum&lt;/a&gt;, where I&amp;rsquo;m a frequent poster answering questions and sharing practical advice based on my experience. My nickname there used to be &amp;ldquo;shl0m0&amp;rdquo;; you might see that reference in older posts.&lt;/p&gt;
&lt;p&gt;My experience includes more than 15 years of software development and software architecture. I&amp;rsquo;ve been building cloud-computing-based applications for clients (including my own company &lt;a href="http://www.mydrifts.com/"&gt;MyDrifts&lt;/a&gt;, where I am CTO and co-founder) since 2007.&lt;/p&gt;</description></item></channel></rss>