How to launch a large ec2 instance with ebs ami? - amazon-ec2

I know I must be missing something crucial, but I am trying to launch an AMI (ami-967edcff) which is an EBS paravirtual AMI and launch it as a "medium or large" instance. The chief thing I noticed when trying to do that, is that all the large and medium instances are all "instance store" types. I wish I could post a screen shot of what I'm talking about.
Anyways, when I go to launch, for example, instance type of "m3.large". It fails with:
The instance configuration for this AWS Marketplace product is not supported. Please see http://aws.amazon.com/marketplace/pp?sku=5hoheke3dcdw953i7sq087tpb for more information about supported instance types, regions, and operating systems.
I am launching this in N. Virginia, and I just don't know what else it wants from me...
Note: I can launch it as a "t1.micro" no problem. "t1.micro" is "EBS only". Anyone know why I can't launch ami-967edcff in a m3.large?
EDIT: Seems like it was just a bug in AWS. It wasn't showing me the option for "m1.medium" only "m3.medium" and my ebs ami cannot run on any "m3" instances. If anyone would care to elaborate on what went wrong, please feel free to do so :)

Well there is some association with Type of AMI(hvm or paravirtual) and the OS(linux or Windows) and the type of instance that you launch.
Often the HVM is preferred over paravirtual AMI though linux is preferred on both the virtual hardwares.
You can refer market place for an alternative AMI for the same OS, and if not a preference , launch it with HVM virtual type AMI's.
Reference for HVM/PV
Virtualization Types

Related

How To "Image" An EC2 Instance For Training Purposes

I want to create some training videos where I install software on a Windows machine. There might be several scenarios that I have to cover so I want to start with an "out of the box" install of Windows for each video. Is there a way to do this with AWS EC2 without having to destroy and create a new instance each time?
The perfect situation would be where I could export an image and then reload that image when I start the instance again. Is this possible?
Amazon EC2 uses Amazon Machine Images (AMIs) to create a bootable copy of a disk. An AMI can be created from an existing instance. When an AMI is used to launch a new instance, the disk will contain an exact copy of the original disk.
This does, however, involve launching a new instance.
If you want your disk to magically reset without creating a new instance, then you'll need to find a Windows utility that provides this capability (like Deep Freeze) since this takes place inside the computer and Operating System, which AWS cannot access.

EC2 instance reboots automatically

I have couple of t2.large instances which are running on windows server 2008 32bit, the instance reboots automatically every 10minutes. how do i troubleshoot this issue, please guide me
Well sometimes its hard to find the solution for the problem like this as it can be a complete hardware problem that you don't have a control over it.
You can either move your instances to a new one or contact AWS support for detailed troubleshooting with your instances. They might able to solve this or be able to tell you the cause for it.

Run kvm on top of Amazon EC2: possible?

I am a very satisfied user of EC2 for various regular needs.
But, today, I have something more special to do : I would need to run tests / benchmarks of kvm on various machines. Amazon Ec2 various types of AMI would suite my needs: I'll be able to try various levels of performances very easily.
But, EC2 instances are already virtualized over Xen.
So, my question is : can I try to install kvm on top of an EC2 AMI ? Will it run ok ? Any special tweaks needed ?
Thanks in advance
regards
didier
No. Amazon is already a virtualised environment. And even if you did, the benchmarks would be of no use anyway. If you need to benchmark a virtualisation solution, you should do so on hardware which is as close as possible to the hardware you plan to virtualise.

How should I select a Windows Server AMI image for use with the AWS free tier as a WAMP stack?

I recently realized that Amazon's AWS free tier allows you to use both a micro Linux and a micro Windows server free for one year. I've only been running Linux instances so far, but I'm curious to give the Windows server a try since it's free.
Ubuntu has a sweet cloud portal which shows you what AMI images they have available for use with EC2, but I haven't found anything like that for Windows.
I realize that the launch instance wizard gives you a few options:
But I dont' see any pre-built WAMP stacks. Also, bitnami has a WAMP stack but I can't seem to find an AMI image for it.
Is launching a Windows instance similar to Linux? I'm assuming I can find a reputable WAMP AMI somewhere where, put the AMI number into the launch console, and then RDP to the box. So, if that's the case, how can I find a reputable WAMP stack AMI to use?
First of all, yes. Launching a Windows AMI is exactly like launching a Linux one. Except for the fact that you RDP, and not SSH to the instance, and you have to wait a couple of minutes to connect to your instance, in order for the Admin password to be generated.
For your second question, I would recommend you to start at the Bitnami site, but I saw that they are only providing LAMP instances as of today. I don't know what is your concept of reputable, but I found out two public AMIs (from Bitnami as well, but a little older, as it seems) that might help you. Just launch (on your EC2 Management Console) the Classic Wizard, Community AMIs, and search for WAMP and you will find them out.
Hope it helps.

Run Amazon EC2 AMI in Windows

Is there a way to run an Amazon EC2 AMI image in Windows? I'd like to be able to do some testing and configuration locally. I'm looking for something like Virtual PC.
If you build your images from scratch you can do it with VMware (or insert your favorite VM software here).
Build and install your linux box as you'd like it, then run the AMI packaging/uploading tools in the guest. Then, just keep backup copies of your VM image in sync with the different AMI's you upload.
Some caveats: you'll need to make sure you're using compatible kernels, or at least have compatible kernel modules in the VM, or your instance won't boot on the EC2 network. You'll also have to make sure your system can autoconfigure itself, too (network, mounts, etc).
If you want to use an existing AMI, it's a little trickier. You need to download and unpack the AMI into a VM image, add a kernel and boot it. As far as I know, there's no 'one click' method to make it work. Also, the AMI's might be encrypted (I know they are at least signed).
You may be able to do this by having a 'bootstrap' VM set up to specifically extract the AMI's into a virtual disk using the AMI tools, then boot that virtual disk separately.
I know it's pretty vague, but those are the steps you'd have to go through. You could probably do some scripting to automate the process of converting AMI's to vdks.
The Amazon forum is also helpful. For example, see this article.
Oh, this article also talks about some of these processes in detail.
Amazon EC2 with Windows Server - announced this morning, very exciting
http://aws.amazon.com/windows/
It's a bit of a square peg in a round hole ... kind of like running MS-Office on Linux.
Depending on how you value your time, it's cheaper to just get another PC and install Linux and Xen.

Resources