Friday, July 18, 2014

xamarin-upgrade

Hooked on Xamarin Studio / Monodevelop / ServiceStack

So one year later my indie subscription to the Xamarin Indie product was expiring . An ide to rival Microsoft Visual Studio, uses my language of choice c# and allows me to build web, console, services and apps all cross platform.

It hurts paying for software sure but I am now more comfortable on a Mac in Xamarin building all sorts or cross platform goodness with .NET and just testing on a windows virtual machines.

Add in the well thought out ServiceStack framework and various open source peojects and when my subscription reminder came round it was an easy decision to make.

Compare to an MSDN license for example..

The other thing of note was chatting to a WPF dev the other day and while we both loved MVVM and the language and various other Microsoft tooling, when i explained i was using the same language to deliver cross platform apps from a Mac and still getting a blank stare shows how much more Xamarin can offer.

Big fan. you have my cash again this year as does ServiceStack

amazon-zocalo

Amazon Zocalo

While busy coding away on some API endpoints and refactoring some code and making some schema changes, I realised I had not opened my email client all day and after a quick scan for anything requiring my immediate attention I noticed that Amazon had given me early access to the new Zocalo product.

First thoughts

Initially I thought this is Dropbox with Sharepoint and that with web, mobile apps, Windows and Mac clients with promises of browser plugins this could be pretty cool.
“Amazon Zocalo is a fully managed, secure enterprise storage and sharing service with strong administrative controls and feedback capabilities that improve user productivity.”
Intro Video

Benefits

  • typical amazon storage in the cloud
  • low cost initially if you are a start up for example
  • easy to get started
  • most importantly active directory support

Active Directory

Amazon Zocalo can integrate with your existing Active Directory. This means that your users can easily access Amazon Zocalo using their existing Active Directory credentials. This is a big win for the enterprise.

Amazon Workspaces

Not 100 percent sure but when linked to Amazon Workspaces you could have a team all working on a Windows 7 experience with office apps and Zocola.

More later when not as busy!

In the meantime have a read of the docs and look at some screenshots of the iPad app. Ok break over back to the code!
Documentation
Screenshots
iPad Screenshot 1 iPad Screenshot 2 iPad Screenshot 3 iPad Screenshot 4

Thursday, June 12, 2014

CloudCheckr Review

So as I’ve progressed to living in the Visual Studio and Microsoft Windows eco system to using a Mac and Xamarin building cross platform apps to also being a head of devops and using the Amazon Web Services Cloud to setup 3 new start ups now there have been some tools and services that have stayed with me and improved and been a vital part of my toolbox.
CloudCheckr is one such tool and has come on in leaps and bounds since I started using it for a single use case back in the day so I thought I would post about this application and what it did for me then. I went from the free use teir to a paid one I think its that good even though I am just using it to monitor some personal projects.

Best Practices

My first and still an important use case as I was getting to know AWS was best practises. Is my cloud setup secure, available and am I under or over usage?
This was and is still a very useful tool as it’s easy to forget to lock something down or forget that you fire up 1000 servers somewhere as a test.
Have I left ports open? Having a service send you best practises is worth every penny spent.

Best Practices

Spend Optimization

This was next up once I knew things were secure. Getting warning and potential cost savings especially important with start ups was invaluable.

Spend Optimisation

More Features

Since then they have added new features which are explained better on their website so I shall finish by just linking off to them and suggest you give them a free trial you will not be disappointed.


Home Page

Cost Allocation

Resource Reporting

You Tube Video

Wednesday, May 07, 2014

amazon-workspaces-review

Amazon Workspaces

So during an insomniac night I had a play with Amazon’s new workspaces feature that provides a fully managed virtual desktop experience fully controlled from their web based console.
Being a long term but ex windows guy now I am quite interested in the possibilities of pay as you go and more active directory linked virtualised machines now provided by Amazon for testing and one off tasks but the value for everyone from one man operations to something much larger are clear.
They have a very good Workspaces intro
With more detailed information available
So using the closet data centre to me I created a workspace using the web console by providing a username and email address and about 20 minutes later it was provisioned and I got the intro email with all the information I needed to connect to my instance.
Amazon Workspaces
Once I followed the instructions and entered the password I got to download the client from this page
Various Clients
Being on a mac I downloaded and installed the mac installer and was soon connected to a very fast desktop client machine.
Mac
A very nice experience indeed Not the most complete test but it is very late and I am very tired right now. More later on this new and shiny feature.

Monday, May 05, 2014

build-failed-could-not-find-type-system-globalization-sortversion

Yak Shaving

In the middle of quite a few bug fixes and some heavy refactoring of some early code and this is where I have ended up. Time for some food and a break I think!

Build failed. Could not find type ‘System.Globalization.SortVersion’

There seems to be a post on stackoverflow about the issue so I’ll take a look next up.

http://stackoverflow.com/questions/23448795/build-failed-could-not-find-type-system-globalization-sortversion

microsoft-remote-desktop

Microsoft Remote Desktop for Mac

So while I wait for the latest Xamarin Studio to install and a remote windows machine to restart I thought I would test out Byword as I am a huge Markdown fan and use it for all text that isnt code although thats possible too.

I use IA Writer, Mou, Day One and now I am trialling ByWord as it hooks into Blogger and Wordpress and a few more.

http://static.solrevdev.com/blog/byword-publishing.png

I use a Mac these days but for 12 years I was a Microsoft Guy and still need to use Microsoft machines and up until now I have been using the old version that looks like this

http://static.solrevdev.com/blog/old-microsoft-remote-desktop.png

It sort of worked but now I am using the latest version it’s a treat to use. Especially on a Thunderbolt display, Go get it now!

I’ll leave the links up to the reader to google as my machines should have restarted now and Xamarin has updated!

http:///static.solrevdev.com/blog/microsoft-remote-desktop.png http://static.solrevdev.com/blog/about-ms-remote-desktop.png

Thursday, November 07, 2013

Opserver – Stack Exchange’s open source .NET monitoring system

A good find from jokecamp - a windows specific set of monitoring tools for the DevOps guys built and open sourced by the stackoverflow team.

"This is a repository to keep your eye on. I can easily see it become the devops dashboard of choice for .NET environments."

Just spotted Opserver – Stack Exchange’s open source .NET monitoring system | Joe's Code:

Wednesday, November 06, 2013

Every upgrade of iTunes on windows I need to fix sqlite3 error

So everytime there is a new version of iTunes I always have to fix an sqlite3 error. So to tell help me and anyone else with the same issue here is the solution I found on the following helpful page:

First the error is "The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll."

And the fix: Hummie's World of Digital Scrapbooking Tutorials: iTunes sqlite3 dll error - How to Fix

Create a Virtual Tape Library Using the AWS Storage Gateway

This looks interesting ...
 
 
Shared via feedly // published on Amazon Web Services Blog // visit site
Create a Virtual Tape Library Using the AWS Storage Gateway

The AWS Storage Gateway connects an on-premises software appliance with cloud-based storage to integrate your on-premises IT environment with the AWS storage infrastructure.

Once installed and configured, each Gateway presents itself as one or more iSCSI storage volumes. Each volume can be configured to be Gateway-Cached (primary data stored in Amazon S3 and cached in the Gateway) or Gateway-Stored (primary data stored on the Gateway and backed up to Amazon S3 in asynchronous fashion).

Roll the Tape
Today we are making the Storage Gateway even more flexible. You can now configure a Storage Gateway as a Virtual Tape Library (VTL), with up to 10 virtual tape drives per Gateway. Each virtual tape drive responds to the SCSI command set, so your existing on-premises backup applications (either disk-to-tape or disk-to-disk-to-tape) will work without modification.

Virtual tapes in the Virtual Tape Library will be stored in Amazon S3, with 99.999999999% durability. Each Gateway can manage up to 1,500 virtual tapes or a total of 150 TB of storage in its Virtual Tape Library.

Virtual tapes in the Virtual Tape Library can be mounted to a tape drive and become accessible in a matter of seconds.

For long term, archival storage Virtual Tape Libraries are integrated with a Virtual Tape Shelf (VTS). Virtual tapes on the Virtual Tape Shelf will be stored in Amazon Glacier, with the same durability, but at a lower price per gigabyte and a longer retrieval time (about 24 hours). You can easily move your virtual tapes to your Virtual Tape Shelf, by simply ejecting them from the Virtual Tape Library using your backup application.

The virtual tapes are stored in a secure and durable manner. Amazon S3 and Amazon Glacier both make use of multiple storage facilities, and were designed to maintain durability even if two separate storage facilities fail simultaneously. Data moving from your Gateway to and from the AWS cloud is encrypted using SSL; data stored in S3 and Glacier is encrypted using 256-bit AES.

Farewell to Tapes and Tape Drives
As you should be able to tell from my description above, the Storage Gateway, when configured as a Virtual Tape Library, is a complete, plug-in replacement for your existing physical tape infrastructure. You no longer have to worry about provisioning, maintaining, or upgrading tape drives or tape robots. You don't have to initiate lengthy migration projects every couple of years, and you don't need to mount and scan old tapes to verify the integrity of the data. You can also forget about all of the hassles of offsite storage and retrieval!

In short, all of the headaches inherent in dealing with cantankerous mechanical devices with scads of moving parts simply vanish when you switch to a virtual tape environment. What's more, so does the capital expenditure. You pay for what you use, rather than what you own.

Looks Like Tape, Tastes Like Cloud
Here's a diagram to help you understand the Gateway-VTL concept. Your backup applications believe that they are writing to actual magnetic tapes. In actuality, they are writing data to the Storage Gateway, where it is uploaded to the AWS cloud:

Getting Started
The Gateway takes the form of a virtual machine image that you run on-premises on a VMWare or Hyper-V host. The Storage Gateway User Guide will walk you through the process of installing the image,  configuring the local storage, and activating your Gateway using the AWS Management Console:

As part of the activation process, you will specify the type of medium changer and tape drive exposed by the Gateway:

You will need to locate the Virtual Tape Drives in order to use them for backup. The details vary by operating system and backup tool. Here's what the discovery process looks like from the Microsoft iSCSI Initiator running on the system that you use to create backups:

Then you create some virtual tapes:

Backing Up and Managing Tapes
Once you locate the tape drives and tell your backup applications to use them, you can initiate your offsite backup process. You can find your Virtual Tapes in the AWS Management Console:

As you can see, the console provides you with a single, integrated view of all of your Virtual Tapes whether they are in the Virtual Tape Library and immediately accessible, or on the Virtual Tape Shelf, and accessible in about 24 hours.

Gateway in the Cloud
The Storage Gateway is also available as an Amazon EC2 AMI and you can launch it from the AWS Marketplace. There are several different use cases for this:

Perhaps you have migrated (or about to migrate) some on-premises applications to the AWS cloud. You can maintain your existing backup regimen and you can stick with tools that are familiar to you by using a cloud-based Gateway.

You can also use a cloud-based Gateway for Disaster Recovery. You can launch the Gateway and some EC2 instances, and bring your application back to life in the cloud.  Take a look at our Disaster Recovery page to learn more about how to implement this scenario using AWS.

Speaking of Disaster Recovery, you can also use a cloud-based Gateway to make sure that you can successfully recover from an incident. You can make sure that your backups contain the desired data, and you can verify your approach to restoring the data and loading it into a test database.

Bottom Line
The AWS Storage Gateway is available in multiple AWS Regions and you can start using it today. Here's what it will cost you:

  • Each activated gateway costs $125 per month, with a 60-day free trial.
  • There's no charge for data transfer from your location up to AWS.
  • Virtual Tapes stored in Amazon S3 cost $0.095 (less than a dime) per gigabyte per month of storage. You pay for the storage that you use, and not for any "blank tape" (so to speak).
  • Virtual Tapes stored in Amazon Glacier cost $0.01 (a penny) per gigabyte per month of storage. Again, you pay for what you use.
  • Retrieving data from a Virtual Tape Shelf costs $0.30 per gigabyte. If the tapes that you delete from the Virtual Tape Shelf are less than 90 days old, there is an additional, pro-rated charge of $0.03 per gigabyte.

These prices are valid in the US East (Northern Virginia) Region. Check the Storage Gateway Pricing page for costs in other Regions.

-- Jeff;

 


Monday, September 02, 2013

Whip Up Awesome w/the Chef Infrastructure Automation Cookbook [feedly]

This is great book. Not quite finished it yet but it's the first tech book I've purchased in a long while so that says something. 

I'm using it to help set up both development and production environments for a new stack and it's answered quite a few questions I've had about chef, vagrant and aws.

Recommended.
Shared via feedly // published on Opscode Blog // visit site
Whip Up Awesome w/the Chef Infrastructure Automation Cookbook

The Chef Community and its many awesome contributors keep doing amazing things. Case in point, our friend Matthias Marschall (a software engineer 'made in Germany' and CTO at gutefrage.net GmbH helping run Germany's biggest Q&A site) just published his new book "Chef Infrastructure Automation Cookbook".

Check out the synopsis:

Chef Infrastructure Automation Cookbook has all the required recipes to configure, deploy, and scale your servers and applications, irrespective of whether you manage 5 servers, 5,000 servers, or 500,000 servers.

Chef Infrastructure Automation Cookbook is a collection of easy-to-follow, step-by-step recipes showing you how to solve real-world automation challenges. Learn techniques from the pros and make sure you get your infrastructure automation project right the first time.

Available here, it's a dynamite Chef resource created by one of us in the Community. Chef has always been about a group of like-minded practitioners working together to help each other build better infrastructure and Matthias' new book keeps that tradition going strong.

Whether you're new to Chef or a long-time user, Matthias has something to teach all of us. All of us here at Opscode thank Matthias for the Herculean effort he put into this project and hope all of you in the Community benefit from what he's created.