I’ve been playing around with the new/preview Azure File Storage service http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx and have had a few issues I’ve had to overcome along the way
Creating a share from OS X
The first thing you’ll want to do is create a new share on your file storage account. Unfortunately the only supported tools to do this are powershell scripts so if link me you don’t run windows regularly you’ll want to use something else. I use a proxy called wazproxy https://www.npmjs.org/package/wazproxy which signs requests automatically. However it doesn’t (yet) support file storage so I had to make some changes. Here’s a quick pull request with the changes to make: https://github.com/smarx/wazproxy/pull/1
Once you have the correct version of wazproxy installed start it up
wazproxy -a <account> -k <key>
this will start the proxy listening on 8080 by default
in another terminal make this the default proxy:
then you can use curl to create the share
curl -X PUT http://<account>.file.core.windows.net/<share>?restype=share -H “Content-Length: 0”
(notice it’s over http, as https will not go through the proxy correctly)
Connecting to the share from Ubuntu
Tested on ubuntu 14.04 LTS
Now you’ve got a share you’ll probably want to connect to it.
One thing that’s semi hidden in the docs is that you can only connect to the smb share if the machine is in the same location as the file storage service. So don’t expect to test this from your development machine….
sudo apt-get install smbclient
use the following syntax to connect to the share:
smbclient //hoifiletest.file.core.windows.net/test –U <account> <key> —max-protocol=SMB2_24
if you miss out the —max-protocol you’ll get a cryptic error:
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED
Mounting the share
Usually you’ll want to mount the share somewhere
you’ll need to apt-get install cifs-utils
then you can run
sudo mount -t cifs -o username=<account>,password=<key>==,vers=2.1 //<account>.file.core.windows.net/<share> /mnt/here
the vers=2.1 is the key to making that command work
that should be all you need to get up and running
WDCNZ 2014 is two weeks away!
It’s always amazing how fast it creeps up on me but this year has been slightly exceptional. Last year’s event marked a flag in the sand. The last engagement as an employee of a healthy growing wellington tech company and the start of my journey into setting up my own startup (which is going well/frightening/amazing/scary all at once, thanks for asking)
This year’s conference has been met with the most amazing reaction I could have asked for. It’s the biggest we’ve ever done, the fastest selling, and the most talked about. Not least of all because of our stellar (if I do say so myself) lineup so thanks to all the speakers from here and abroad who said they’d take part. Also a huge thanks is needed to the person who actually makes the conference possible by coordinating most of the logistics of the day, Charlotte Hinton. She’s really the unsung hero of the day, also thanks to our helpers (long term helpers Nick Malcolm and Ruth McDavit as well as Becca McClelland who’s new to WDCNZ this year) But most of all thanks to all the people who have faith in the content I put together an the speakers I invite and buy a ticket, really without the 450 people who are coming along this year we couldn’t put the day on so THANK YOU.
I spend most of my WDCNZ planning time actually just scouting out speakers to invite and I’m so thrilled that most of those who I approached said yes, it’s a great honour to be able to put on the day and get the people I really want to hear from myself to come and talk.
But, just as last year proved a milestone, this year will to. I’ve spoken to a number of people over the past year and I’ve alluded a number of times to the uncertainty around being able to put on another event next year. Putting on the event is no mean feat, it’s a costly endeavour for one (we don’t make a profit but aim to break even by the smallest of margins). It’s also time consuming, and juggling that, a startup, and a family becomes hard at times.
But after much soul searching over the past year I’m happy to say that we’ll be bringing back the event in 2015. We’ve pencil booked the date, and I’m in the process of putting together my dream list of speakers to tap on the shoulder for next year. Also I’ll be needing to sell my kidney or something to pay for it I suspect so if you know anyone in the market… or maybe just someone who would love to sponsor next year’s event, please point them my way.
So yes WDCNZ is on in 2015 and thanks to speakers, Charlotte, the volunteers and all the attendees for making it happen. Save the date: 23rd July 2015 http://lanyrd.com/2015/wdcnz/
Due to my own nostalgia I’ve republished the old bgeek.net blog over at http://bgeeknet.wordpress.com/ and I’ve realised I’ve been blogging for 11 years now. Crazy
update: I’ve put up a donation page here: https://www.givealittle.co.nz/cause/bethan
Last year, with a bit of a
nudge shove from an old friend Huw, I finally got up the gumption to go for a run.
For years I’d said “I don’t see what people like about running” or “I only run if I’m chasing a ball” but after a few outings with Huw I got to understand a few of the reasons why people run for fun.
So last year I managed to run somewhere in the region of 500km, with two 10km races thrown in. I went from 110kg to my current plateau at 95kg (still a bit to get rid of but I’m not concerned). I learnt that running was good for one thing: an exercise I could fit into my lunch without feeling too guilty about time out of the office.
This year I wanted to do something for a different reason and unfortunately I was reminded of that reason this morning.
This is Bethan
Bethan is/was one of my oldest and dearest friends. We’ve known each other for about 20 years and I can’t even say how we know each other. We didn’t go to the same school we just had paths that crossed, and she was so vivacious and fun that it was impossible not to like her. She travelled half way round the world to be at my wedding and I have some awesome memories of times we spent together.
Sadly in 2012 at the age of 30 Bethan was diagnosed with bowel cancer, the diagnosis was somewhat complicated by her giving birth in 2011 so by the time they found out what was wrong it was too late for her. She sadly passed away peacefully yesterday/today (not sure when and timezones mess everything up)
Our thoughts and prayers are with Bethan’s husband and daughter, Scott and Abigail.
This year I’m running in two half marathons, and a full marathon and all in memory of Bethan, I’m hoping to collect for bowel cancer research and I’m looking at trying to get a trust fund together for Abigail. If anyone knows a good way to do this let me know..
Farewell Bethan but you’ll always live in our hearts and in Abigail.
We did it!
Last night we took part in BNZ’s Startup Alley to compete against 9 other start ups for two prizes of $10,000, two return flights to San Francisco and time at the Kiwi Landing Pad.
Before anything else, a massive congratulations to SpeedCurve (speedcurve.com) for winning the…
We won last night. Thanks to everyone who took part.
Holidays have fast approached us here at Hoist, we’re just getting started and we have a lot to share with all of you in the new year, but for now we just want to wish everyone the best over the holiday period and share a couple of updates.
If you’re on the closed beta list, you’ll be getting…
Building web apps is a cross-disciplinary pursuit. It takes skills such as design, software development, operations, customer support, accounting, project management…the list goes on. Those of us outside technology might not even know what those roles actually mean, let alone what they…
It’s been an interesting few months and I’ll catch up with some of the things I’ve been tinkering with in a few future posts, but I wanted to give a primer on the technology layout for Hoist.
I’ve been a developer for most of my life, I remember my mum (who had the foresight to see that computers were not going away) buying computing magazines and helping my eldest brother type in code to display a christmas tree on the screen of our BBC model B. I remember assembling my first 386 PC from parts.
But it’s been a long time since I’ve been a tinkerer. Software development as a profession tends to put you on a single track, a single set of languages/frameworks/tools. You become a specialist through no fault of your own.
I’ve previously spoken of my efforts to not fall into this mould, learning a language a year, attending different user groups to my own, setting up WDCNZ as a cross language conference.
All of this has led to this point of trying to pick the best technologies for the goal of creating a really easy platform to use.
Early on our decision was that JSON would be the language of choice for communications. Our target market for our first BETA (front end developers) would be comfortable with it as a language for data and it’s becoming ubiquitous across all kinds of development teams.
As such I quickly dived into learning all I could about what store would be best to back our data service (one of the cornerstone offerings for Hoist) quickly settling on CouchDB as being one of the most robust choices to use.
Hoist currently consists of
Azure for VMs running linux,
Chef for VM provisioning and maintenance,
Capistrano for deployment,
MongoDB (don’t kill me Koz),
and a couple of other little bits and pieces.
I’ll aim to go into each of these in a bit more detail (probably starting with Chef and Capistrano as those were the hardest for me to get my head round/setup)
Needless to say it’s been an enjoyable experience so far, and we’re only just getting started.
Hi all, it’s Andrew here with our first ever blog post. We will be diving into the technical side of things soon, but I thought that the best place to start was to give you a bit of background - what is Hoist and how did it come about?
The last four years have been busy! We’ve built and launched…
The story begins