amazon-ec2

Interesting questions related to lighttpd on Amazon EC2

This problem appeared today and I have no idea what is going on. Please share you ideas. I have 1 EC2 DB server (MYSQL + NFS File Sharing + Memcached). And I have 3 EC2 Web servers (lighttpd) where it will mounted the NFS folders on the DB server. Everything going smoothly for months but suddenly there is an interesting phenomenon. I...

Amazon EC2 Instance - How to find SQL Server Password

Hi I have created an Amazon EC2 Instance that provides Windows Server 2008 with SQL Sever 2008 pre-installed. Now in order to use the SQL Server for creating databases, or restoring backups of the databases that I have on my local machine, I need the "sa" password for SQL Server 2008. I have tried using the following but with no luck: ...

How come I can't bundle an instance from Amazon's AWS Management console?

When I select a running EC2 instance and click the "instance actions" pull-down, the option to bundle the image to an S3 bucket is grayed out. Why would this be? See here: http://skitch.com/eoligarry/dnr7n/aws-management-console I am signed up for S3, and this is not a windows instance. ...

Hadoop safemode recovery - taking lot of time

Hi, We are running our cluster on Amazon EC2. we are using cloudera scripts to setup hadoop. On the master node, we start below services. 609 $AS_HADOOP '"$HADOOP_HOME"/bin/hadoop-daemon.sh start namenode' 610 $AS_HADOOP '"$HADOOP_HOME"/bin/hadoop-daemon.sh start secondarynamenode' 611 $AS_HADOOP '"$HADOOP_HOME"/bin/hadoop-daemon...

Launch command on remote Windows machine, given admin credentials

I have a Windows Server 2008 instance on Amazon EC2 (Amazon's cloud compute platform, which provides VMs in the cloud). It has an external IP, and I have an admin account on the box. I would like to 'bootstrap' this instance remotely i.e. I want to run commands to download, install and configure apps on it, all without having to log on e...

Can I use my ssh-public-key to decrypt a file?

I'm trying to find a way to decrypt an encrypted file on a 'virgin' EC2-instance. These EC-instances I use (Ubuntu Lucid) only hold my AWS-created public ssh-key. If can use this to decrypt a file, I can feed it encrypted files (for example a bash-script holding a password to my subversion-repository). So, my question, can I use my ssh-...

Possible reasons for timeout when trying to access EC2 instance

I cannot SSH into my instance - Operation timed out. What could be the reasons why, and what can I do to resolve it? Rebooting normally takes a long time to take effect, and might just makes things worst UPDATE: It is not about permissions - i can log in normally just fine. I suspect it might be because of memory issues ...

Creating Amazon EBS volumes using existing snapshot is creating problems

Hi All, I created a EBS volume, attached and mounted it on a EC2 instance. Created few sample text files in the mounted directory and took a snapshot from AWS console. Problem is when I create a new EBS volume using this snapshot and mount this new volume, I am not seeing the stored content (in snapshot). What can be the issue? Is my ...

Amazon EC2 - network issues

Hi, We are launching hadoop cluster on amazon ec2 and recently we are having network issues like master unable to connect to slave. We thought the reason is due to amazon throttling the network connections over a limit. So, we tried to establish a connection after a random delay from each slave node. But, that didn't help. Are there an...

Move IIS 6.0 Metabase

We are evaluating moving to the Amazon cloud. I want to move the IIS 6 metabase onto an EBS volume so that our domains configuration survives server termination. Is there a way to move the location of the IIS metabase to another drive, or will we just have to setup a regular backup with an automatic restoration when the server restarts? ...

What instance type should I choose?

To run video chat service? High-Memory or High-CPU? And, guess Standard isn't suitable? ...

deploment on EC2 using poolparty and chef server

hi, does anyone have done the rails application deployment on EC2 using poolpary gems and chef server(not chef solo).please share your experiences if you know some blogs or code links(except poolpartyrb.com and related to it). the poolparty script must be able to launch an selected AMI instance with two EBS blocks(data and DB) use one ...

How to generate custom JSESSIONID, based on some hash of user's data in order to replicate session

Is it possible to override Tomcat's embedded generator of JSESSIONID, to be able to create custom values of this cookie, based on user's login? Why do I need this: I have a load balancer with "sticky sessions", configured to route requests with the same JSESSIONID to the same server, and I want to prevent situation, when same user can ...

Is there any mercurial hosting actually *on* Amazon EC2?

I need to be able to update my ec2 instance from a label in mercurial when it resets so my application is always set at the right revision. It'd be great to be able to push my changes to a mercurial host and have my instances automatically update across the ec2 network when they are reset! I really don't want to host mercurial on the s...

Amazon ELB CNAME record not working

Hi there, I have set up my EC2 infrastructure behind an ELB instance and by using the ELBs DNS name everything works as expected. Now i wanted to forward a subdomain of my main project domain to the ELBs DNS Name with a CNAME entry. I did this about 12 hours ago and it doesnt seem to work, and i dont know why. The subdomain just cant be...

Are there any portable Cloud APIs that allow you to easily change cloud hosts?

I am creating a web-based RESTful service and want to cloud-enable it for scalability. I don't want to get locked into one cloud provider though. I'd like to be able to switched between Go Grid or Amazon EC2, etc. as pricing and needs evolve. Is there a common API to control the launch, monitoring and shutdown of cloud resources? I'v...

Amazon EC2 pricing question

Hi everyone, I took my first step today on working with cloud servers and chosed Amazon EC2 for this project. Since I am a bit of a newcomer on this, I didn't fully understand their pricing: What happens when a instance is idling with no connections being made. Does it still cost us money? It would be sad to have instances idling ...

Is there a way to let NetBeans work with Amazon-ec2 disk space?

Hello, I'm sick of using vim to develop on some far Amazon-ec2 machine. I'm wondering if there is any way to Use NetBeans on my laptop to develop on and run the code on that machine. Basically I want a way to let NetBeans operate on an external disk space that I connect to using SSH, In my case I'm using Mac OS X 10.6.3 locally and the...

JVM stops at 2GB under windows Server 2008 R2

I have a problem with a java application. Using a 64bit JVM (1.60.0_20) under windows server 2008 r2 (64bit), the application hangs at 2GB allocated memory, it will not go beyond that mark even after changing the JVM settings to allocate more (-Xmx5000m); this is on an EC2 instance with 7.5GB available memory. ...

Openfire scalability question XMPP Server

I would like to throw out my question again: do you guys know how well openfire scales? My users will be using the application to do normal chatting like msn no file transfer for now. We will be using Amazon's EC2 server to run the chat server we would like to support over 1 Million users in total and around 30-50K active users during ...