Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is EC2 Ubuntu 12.04 different, if compiling Haskell locally?

So I want to compile a Haskell program locally, and then upload it to my EC2 Ubuntu 12.04 (free trial) instance.

My question is, will it work on EC2 if I compile my haskell program on an official Ubuntu 12.04 distribution (say in virtualbox)? Or do I need exactly the same version of Ubuntu as Amazon is running? Do it have to have the exact same set of updates etc..?

P.S. If yes - where do I get the Amazon's version of Ubuntu?

Thanks!

like image 489
Andriy Drozdyuk Avatar asked Jul 01 '12 00:07

Andriy Drozdyuk


1 Answers

I do this on a regular basis, it should work just fine. Just make sure you're using the same architecture (32- or 64-bit).

You can get a list of the different Ubuntu AMIs at:

https://help.ubuntu.com/community/EC2StartersGuide

like image 116
Michael Snoyman Avatar answered Sep 30 '22 20:09

Michael Snoyman