Posts Tagged ‘aws’

Pay by the hour or bring your own? - May 24, 2011 at 12:45 pm


 
 
 
Today Amazon made a big announcement, the availability of Oracle as an option for their Relational Database Service (RDS). For those who are unfamiliar with RDS, it is a balance between a pure play multi-tenant Cloud database (think SimpleDB, Database.com) and running your own RDMS (MySQL, Oracle) on a virtual server in a cloud. RDS launched as a managed MySQL offering and AWS takes care of all the heavy lifting (patches, backups, etc) and makes it very easy to switch sizes and increase the horsepower if need be.
 
However many Enterprises still like the reliability and stability of an Oracle database, and now AWS is offering an Oracle option for their wildly popular RDS service. This will immediately open up doors to make AWS an easy option for Enterprise dev and test environments and make it easier to do production applications in AWS that are backed by Oracle.
 
The offering comes in two versions:
 
·      License Included - This version includes a license for an Oracle Database Standard Edition One database included and starts at $0.16/hr. The hourly charge is for the Oracle license and all hardware and virtual server costs.
·      BYOL – Bring Your Own License – This allows customers to bring their own Oracle licenses to AWS and run Standard or Enterprise Edition databases starting at $0.11/hr.
 
I predict this will be very popular and will give companies another reason to move systems to the cloud, or do dev/test or quick projects on Oracle instead of an open source database.

Website on S3 - February 18, 2011 at 12:15 pm

S3 Lab-

 

For this lab we will demonstrate the ease of hosting static content in S3.

This should not take very long and is very easy, just follow the steps below or watch the video located here http://www.modelmetrics.com/wp-content/uploads/2011/02/DePaul-S3-Lab.swf

1.     Open a web browser and go to http://www.freewebsitetemplates.com/ here we will select a free website to get started with, for this demo I will choose the travel template. Select the template site you want to use and download it to you computer.

2.     Unzip the download.

3.     Log into aws.amazon.com and navigate to the S3 page.

4.     In the S3 tab create a bucket. I will use demos3 as the bucket name.

5.     Select the bucket you just created

6.     Now right click in the Objects and Folders section and choose upload, in the upload manager window highlight the 3 files index.html, style.css and travel.psd then hit open.

7.     Now in the Upload Files window at the bottom right click start upload. You should see a progress bar in the transfer’s section and the files should show up in the Objects and Folders screen.

8.     Now click the create a folder button, when the new folder pops up name it exactly as the name of the folder that was in the zip file you downloaded, I will use images.

9.     Now double click on the images folder to open it.

10.   In the images folder click the Upload button.

11.   In the upload window click inside the images folder and select all the files in it, then hit the start upload button.

12.   You should see files appear in the images bucket.

13.   Now navigate back to the bucket you created, mine was demos3

14.   Now hight light the index.html object and right click to get to the properties.

15.   In the properties you should see 3 tabs- Details, Permissions and Metadata. Lets look at Metadata for the index.html file.

16.   The S3 console is pretty good at recognizing the files and we want to make sure it is Key: Content-Type Value:text/html

17.   Now click back on details and copy the link and paste it into a web browser, what do you see? It should look like this AccessDeniedAccess Denied80EDC005228C118A4ptOunASFW/ER0Q6QxM52ohdqdmtHuLFrbMlX+skwNS8IcEvGl+BcLxHjdPkdUN6

18.   Now lets select all four objects in the bucket and right click and select make public.

19.   Now try the link again, what do you see? A website with images? If no, we need to go into the images folder and make all images public.

20.    Now remember to delete all the stuff you added or you will be charged.

John and the Beanstalk - January 20, 2011 at 1:35 pm

 
It is a good time to be a developer. The PaaS space is heating up and now developers have a great new option to use to deploy, run and manage their applications, Beanstalk. The name is a departure from the normal Amazon alphabet soup, and is certainly unique and memorable.
 
I’m especially excited about this service because Model Metrics had early access to this and built the Travel Log sample application for AWS that shows off Best Practices around how to do Java development on AWS and is essentially the “Hello World” application for Beanstalk.
 
Name aside I like that AWS took a slightly different approach than what other PaaS providers have done.   With VMForce or Google App Engine a developer essentially deploys their application into a massive cloud and providing it meets the governor guidelines and limits imposed by that cloud, it just runs. This approach is great for some developers, the tradeoff of some functionality for the pure abstraction of allowing code to run with no knowledge or access to the underlying infrastructure. However if you want to have the same ease of deployment, but with more access to what is under the covers, then Beanstalk is a great option.
 
Beanstalk essentially does the same thing as GAE or VMForce, upload a Java application and choose a few options and it just works. You no longer have to worry about provisioning an EC2 server, installing Tomcat, etc… However you do still have control over what size/type of instance your app will run on, and how many instances it can scale up to. The fact that you are running on your “own” stack means you don’t have to worry about governor limits or limitations imposed by other PaaS providers, but it also means you are running closer to the actual server level which can be a pro or a con depending on your mindset.
 
Time will tell which approach people will prefer, but I predict that this will be a successful service for AWS and really makes it much easier for a new developer to navigate the AWS waters and get their application up and running quickly.

Goats, Lawnmowers and the Private Cloud - October 26, 2010 at 4:39 pm

 

“If you are paying for it when it is turned off, it isn’t a cloud. I can put a goat in my front lawn and it can eat the grass, but I can’t call it a lawnmower” - A public cloud evangelist reflecting on the private cloud.
 
The Private Cloud seems to be gaining traction within the halls of Enterprise IT and was a hot topic at Interop NYC 2010. But do Private Clouds exist? What are their shortcomings, and what does this mean for the Public Cloud?
 
I live in the Public Cloud world and spend my days with Force.com/Salesforce, Amazon Web Services and Google. I tend to agree with the their viewpoint that private clouds are not really clouds at all. However I was struck with how popular the idea of private clouds were to those at the Interop NYC 2010 conference. This seems to validate the opinion that companies are asking IT “What is our cloud strategy?” and they are flocking to the private cloud as it seems like a safer and more importantly “comfortable” option for IT to pursue. This demand is also driven by vendors who see this as a good opportunity to sell more hardware and management software to IT.   This trend seems to ring true with the global SI’s as Dan Elron from Accenture stated that the private cloud makes up around 80% of Accenture’s cloud revenue and is “growing like gangbusters”.
 
We all know that IT budgets are tight and are asked to do more with less and generally have a large backlog (usually years) of projects that are waiting in the wings. I can’t imagine that many IT departments are going to have the budget or time to fully embrace a private cloud initiative. If only 20-30% of IT has embraced virtualization (which has been around for ~10 years), how will they be able to turn that into a private cloud? I’m sure a few are diving in head first, but many more are probably trying private clouds in small ways or adding a level of self service over any virtualization they may have.
 
I heard a statistic during one session where the speaker shared that without virtualization you achieve about 10% utilization on your hardware. If you add virtualization it goes up to around 30-35%, and if you add a private cloud on top of that it goes to ~38% utilization. Why so low? The real issue behind these numbers is that almost all companies have some degree of spiky demand. Either there is more demand during working hours to handle the 9-5 end users, or more demand overnight for batch processing. Either way, virtualized, private cloud or bare metal, the hardware needs to be sized for that demand plus a certain amount of overage. That leaves troughs. Times where that capacity is not used or needed no matter how virtualized that hardware is configured.
 
The challenge with virtualization and private cloud isn’t just the technical aspects, it really centers around process and change management. Many companies use slow hardware provisioning and IT backlog as a mechanism to kill projects or ideas that should never see the light of day. Most IT departments are built around these delays and moving server provisioning to minutes from months can have unintended consequences. Sys Admin’s suddenly are trying to manage 5 to 10x the number of virtual servers if developers have easy access to provisioning their own servers. I’ve seen companies put processes and artificial delays in place to handle these types of issues and it lessens the advantages that can be achieved.
 
I’ve lived in the public cloud world for the last six years and certainly understand the benefits and shortcomings of the various leaders in this space. However I recently had an opportunity to speak on a panel at a Datacenter Dynamics conference around the topic of “The future of the data center” to provide a “cloud viewpoint”. I’ve been away from that world for awhile and I was struck how hard it really is to create and run a data center. You need to be an architectural expert (where to put cooling, raised floor, pillars, generators) and electrical engineer (how to power it, add redundancy, cooling, cabling) and a system administrator (server setup, configuration, management, backup). While my fellow panelists debated whether or not the mechanicals (fans, cooling, etc) needed to be on a UPS or not before temps hit critical mass during a power failure, I just thought about how much I love not having to worry about any of that with the cloud. At the end of the day, why do you want to have your own data center and worry about all of those types of details?
 
While talking to some of the Interop panelists who spoke during the private cloud summit  another trend emerged. It turns our that several of them don’t actually have a private cloud, but “they are working on it”. No one was able to articulate what it really takes to build one beyond using some of the newer offerings from VMWare or other vendors plus a lot of custom development. There is no clear answer today and it is made worse by the “Cloudwashing” going on by all vendors who are quick to state the cloud benefits of their particular solution.
 
So what does all this mean for the future of the private cloud? My prediction is that it’s future is bright for the short term. It “feels safe” for IT, is being pushed by vendors such as VMWare and IBM and is validated by global SI’s who see it as a great vehicle for long term consulting contracts. Longer term I think everyone will realize that it has limited benefits and but it will be a stepping stone toward the public cloud. As Allistair Croll put it during his closing remarks, the future is the Hybrid Cloud.
 

Top 9 Cloud Computing Stories of 2009 – (#5) Amazon Virtual Private Cloud - December 22, 2009 at 10:09 am

Amazon’s Web Services have been getting better and better, but typically by incremental amounts. Up until now, it’s been a slow trickle of improvements to a solid suite of offerings. Cheap storage, cheap computing power, cheap access to PCI compliance, etc.

This new offering however, may truly be a game-changer for their web services division. Amazon’s Virtual Private Cloud lets companies create their own isolated set of EC2 instances and connect them to their own existing IT infrastructure through a VPN connection.

What does all that mumbo-jumbo mean to the business management people? Simple. Now you can augment your IT’s infrastructure without huge capital expenditures. EC2 already runs Windows Server 2008, SQL Server, Oracle Database 11g, IBM DB2, IBM Websphere and many more.

Amazon’s immensely powerful infrastructure is available as a service at prices that will make you wonder if you should bother with your own hardware anymore.

EC2 – Easier and Faster - December 4, 2009 at 10:43 am

 

Today Amazon made a couple of interesting announcements.  First off they have opened a new region (Northern California) with multiple availability zones (analogous to data centers, but each on separate flood plains and electrical grids).  This further increases their computing capacity and also puts data closer to all of the start-up’s in the Bay area that rely on Amazon.  The also have a US-East region, EU region and will have regions in Asia in 2010.

The key announcement however centers around some changes and enhancements to EC2 (their virtualized computing layer).  One of the main criticisms and design challenges with EC2 has been around the fact that when you shut down a server, the state of that server is lost (unlike VMWare).  There were ways around it (such as storing all data on EBS (analogous to a mounted drive on your virtual instance), but it did present some challenges.  Today they announced the availability to save server state with a new Stop command, which unlike Terminate, saves the state of that running server.

This feature is enabled because you can also now boot from EBS, instead of S3.  This leads to a faster boot time, and also makes it easier to tune your kernel or make other changes to an image.  Upon boot you can also mount multiple EBS volumes which can lead to some very robust configurations.

Another challenge of EC2 was creating an image (AMI) of a server once you had it set up.  This was fairly easy for a windows instance (using the Bundle process) but was more difficult for a Linux instance.  Now you can use the CreateImage command to create a new AMI and register it in one easy step.  See all the details here.

These are great enhancements to EC2 and are a welcome addition to the AWS offering.

 

Cloud Loader – “How To” - April 8, 2009 at 5:39 pm

We have had a lot of great interest in Cloud Loader, so the next question is "How do I start using it?"  Well, here is a simple 5 Step guide to get going with Cloud Loader to start doing integration for $0.10 an hour (or less with a reserved instance).

 

Step 1 – Sign Up for EC2
 aws-step1image

Step 2 – Sign into the EC2 Management Console

The Console is where you can go to create and manage your EC2 Instances.  Remember these are virtual servers and the console allows you to give them a static IP (Elastic IP), control the Security Group and stop and start your instances.  First off you need to create a new instance of the Cloud Loader AMI. 


Step 3 – Create a Cloud Loader Instance

Click on Instances→ Launch Instance→ Community AMIs and search on “Cloud_Loader” to find the Cloud Loader AMI.  Click the Select button.

 aws-step3image

After clicking Select you need to specify some specifics about your instance.  You will only need one instance and it can be a “Small” instance which will be fine to run the Cloud Loader.
 

aws_step3bimage
Next click on “Create” next to the Key Pair Name option, enter a name for your key pair and download the key pair.  This will be required to SSH into your Cloud Loader instance.

 aws_step3cimage
Next you need to pick a Security Group for the instance.  You can use the default one or optionally specify other settings (which ports will be open).  EC2 by default has all ports closed except 22 for SSH.

Last Click “Launch” to launch your instance.  This will take 3-4 minutes to boot and fully launch.

Step 4 – Connect to your Instance

If you are using a PC you will need to use an SSH client such as PUTTy to log into your instance.  Click here for Windows instructions.

If you are using a Mac you can use the native terminal to connect.  Click here for detailed instructions on how to set up your certs and bash profile.

Step 5 – Configure your Instance

(Remember this is built on Apex Data Loader, so look here to learn more about it)

•    After logging in go to the /usr/local/dataloader directory
•    Create an FTP user on the Cloud Loader instance to use for the inbound FTP of data (the .csv file you want to load into Salesforce).
•    Edit the config.properties file with your username and password for SFDC
      Note: You will need to include your security token at the end of your password if you don’t whitelist the Amazon Elastic IP within Salesforce
•    Edit the process-conf.xml file with the data loader processes you want to run
•    Edit the automate-dl script to configure the email address you would like to use to send reports to.
•    Setup a cron to run the automate-dl script (the way you schedule automated processes in UNIX)

Final Notes

Once you have tested this approach it is likely you will want to modify the script or approach to suit your own business need.  With EC2 you can use Cloud Loader as a base AMI and then configure your own AMI based upon it with your own unique additions. 

You may also like to utilize EBS (Elastic Block Storage) with Cloud Loader to have persistent storage of your configuration files, incoming integration files or log files.  We plan to add this functionality in an upcoming release.  If you have any further suggestions for Cloud Loader, please email us at:  support@modelmetrics.com

 

Introducing Cloud Loader - March 30, 2009 at 5:02 pm

So why do I need a server again to integrate with the cloud?

Historically one of the arguments against SaaS, or now “The Cloud” was that integration is difficult or expensive.  Several great providers have emerged in this space to make integration with cloud platforms inexpensive and more recently, even cloud based.  These approaches are great for many companies, but as you know one size doesn’t fit everyone and many companies don’t want to bring in another vendor.

Salesforce has made integration somewhat of a commodity with it’s constant improvements to the DataLoader application.  Most of you are probably familiar with it, but if not, it is a Java based client side tool that allows you to load data into Salesforce.  It can handle all of the basic CRUD operations you might expect.  It now supports direct database access as well so you don’t have to rely on .csv flat files as you did previously.

The other great thing about DataLoader is that you can take the JAR file and run it in a scripted and automated fashion to get integration on the cheap.  This approach works well to master customer data from an ERP system, or update nightly financials or orders.  It can also pull data out of Salesforce to feed a Data Warehouse for example.

The only issue, you need a server to host this puppy on.

As you know the “clouds” are converging and Salesforce, Google and Amazon all play well together.  So why not leverage the Amazon cloud to handle this type of integration?  Good news, it works great on Amazon, and is freely available for you to use.

Cloud Loader is a free pre-packaged AMI (Amazon Machine Instance) that you can literally have up and running in a few minutes and have data flowing into or out of Salesforce in the cloud.  It is based on Data Loader, but is fully automated and even has email notifications buit-in.

Cloud Loader does require that the data coming into Salesforce be available on a FTP server that is accessible from an Amazon EC2 Instance.  All you need to do within  Cloud Loader is add your mapping file as well as your Salesforce and FTP credentials and you are ready to roll.

If you want to give this a try, click here.
 

Dear IT Leadership: Please Lead - February 25, 2009 at 12:03 pm

Follow Reid Carlberg on Twitter or contact him at rcarlberg@modelmetrics.com.

Dear IT Leadership,

Today, your business needs you more than ever.  The economy is weakening.  Competition is intense.. You’ve helped it navigate technologies for years.  But the business has immensely complex new challenges today.  It needs your help to operate more efficiently.  It needs your help to innovate in new ways.

In short – they need you to lead – but they need you to lead differently. 

They need you to lead them through radical change. 

What do I mean?

Have the wisdom to divide the marketing hype and the FUD from the real story behind cloud computing and utility computing.  Despite their catchy names, Larry Ellison’s protestations, and the high-energy sales effort you’ll run into, these are real, they’re here to stay and they make a substantial difference.  Your competitors know how to exploit them.  Your business needs to, too.  This is your responsibility.

Have the courage to rely less on the technologies that have served you well so far.  Oracle. Microsoft. SAP.  As painful as it is to admit, they aren’t keeping up.  And they won’t do anything interesting in this department until enough of you, their soon-to-be-former-customers, leave them.  There’s every likelihood they won’t do it then.  And some of your old-line competitors will ignore my plea and do the same: nothing.  This is your opportunity.

Have the strength to pull your team through the keyhole of this new paradigm.  They’ll feel threatened because their old skills aren’t as useful as they once were.  They’ll be scared for their jobs. But they’re closest to the problem and the ones who can best help you take the next step.  Change is hard.  Not everyone will make it.  But you’ll need those who can make the switch for the very real, high value add work of transforming your company.  This is your challenge.

Have the generosity to share what you know about technological success with the newest drivers of technical innovation in your company – business owners.  Cloud computing and utility computing both reduce or eliminate barriers to technology driven innovation, but they don’t eliminate the need for things like validation and requirements gathering.  They help technology become more egalitarian, but  neither cloud computing nor utility computing know your business.  Think disintermediation.  Think empowerment.  Think coaching.  This is your reinvention.

Have the energy
to jump in with both feet.  Have the patience to put up with some bumps in the road.  Clouds are built on solid technology and maturing quickly, but they’re still relatively young.  A blip here or there doesn’t mean the sky is falling.  Moreover, your efforts to transform the technical backbone of your enterprise will span multiple generations of cloud and utility computing, including future significant transformation that no one even thinks is possible yet.  This ongoing radical change – this is your chosen profession.

Take the next step. 

Build your next web application on the Salesforce.com Force.com platform.  Start with a free developer account.  Do it in secret and only show someone when it’s done.

Move a server to Amazon Web Services’ Elastic Computing Cloud (EC2).  Start with the very next small project that someone wants to do but you’re worried is going to cost too much.  Publish the price difference to the rest of the business.

Do a cost comparison between what you’ve spent on Exchange and what your email would cost to run on Google Apps.  Now do that same comparison adding together your total email spend with your total Microsoft Office licensing cost.  Google Apps can replace some of it.  Launch a pilot.

Do it on your own or with help.  Do it because your business demands it.  Do it because you’re scared your competition is out innovating you.  Do it because you’re tired of worrying about backups and whether or a not a server is running.  Do it to grow the value your business delivers without growing headcount.

Whatever the reason, do it.  Do it today.
 

Top Five and One Half Amazon Web Services Factoids I Learned in Seattle - February 21, 2009 at 7:18 am

You can follow Reid Carlberg on Twitter or email him at rcarlberg@modelmetrics.com

We’ve used Amazon Web Services in my department, but I wasn’t very close to the project.  So when I had a chance to take a deeper dive, I jumped at it.  Here are some of the things I learned.

1. AWS Dropped prices on their SimpleDB service by 83% on December 1, 2008.  Holy. Moly. Talk about a great illustration of the difference between storing stuff in the cloud and doing it yourself.  And there’s a fair chance you’ll be able to use it for free.

2. One government agency was looking to do a proof of concept on a project.  If they would have bought computers, they would have had to spend about $30,000.  They couldn’t get approval so one of the people involved launched it on AWS’s EC2 service.  Total cost?  $5.  You read that right.  Five dollars.

3. Animoto, the coolest photo to video site on the web, scaled from about 40 servers to almost 5000 in three days.  40 to 5000.  Wow!  If they were handling their servers any other way, they wouldn’t have been able to do that.

4. All kinds of organizations are doing interesting things on AWS.  From the New York Times to Harvard Medical School to ….  you name ‘em, they’re probably doing something on it.

5. There are 490,000 AWS developers.  That’s about the population of Cleveland.  Imagine.

5.5. It’s easy to do complex tasks.  Watch for a new open source contribution from me on this one soon.