Resources



JBOSS AMI - Apache, MySql, ModJK and SmartEC2 Deployment Tool

Click for a printer friendly version of this document Printer Friendly Save to del.icio.us
 

AMI for Java Web and J2EE developers with MySql and SmartEC2 Deployment Tool installed. This AMI is built by CSS Labs (Innovation Team) research unit of CSS Corp Pvt Ltd.

Submitted By: csslab  
AMI ID: ami-4ea34727
AMI Manifest: /jboss-images/image.manifest.xml
License: Public

This AMI is built on top of the Jboss AMI.

Following softwares are available as part of this AMI.

1. MySql 5 - root password is password
2. SmartEC2 Deployment Tool
3. s3cmd

Tutorial is available on using SmartEC2 Deployment Tool is available here.

Support

For any updates, tips and tricks on using this AMI, please subscribe to this group EC2-Jboss

Please email us at cssinnovations@csscorp.com, if you need any help setting up this AMI.


Discussion

The 5 most recent discussion messages. View full discussion.

jigounov
Posts: 7
Registered: 6/8/08
Re: JBOSS AMI - Apache, MySql, ModJK and SmartEC2 Deployment Tool
Posted: Jun 17, 2008 12:03 AM PDT   in response to: csslab
 
  Click to reply to this thread Reply

>ec2-describe-instances

>$ ec2-describe-instances
RESERVATION     r-afd714c6      677214525359    default
INSTANCE        i-7aa77313      ami-4ea34727    ec2-75-101-228-154.compute-1.amazonaws.com      ip-10-251-197-241.ec2.internal    running         0               m1.small        2008-06-17T06:45:24+0000        us-east-1a      aki-a71cf9ce      ari-a51cf9cc

>[jigounov@localhost ~]$ ssh root@ec2-75-101-228-154.compute-1.amazonaws.com
root@ec2-75-101-228-154.compute-1.amazonaws.com's password:
Permission denied, please try again.
root@ec2-75-101-228-154.compute-1.amazonaws.com's password:
Permission denied, please try again.
root@ec2-75-101-228-154.compute-1.amazonaws.com's password:
Permission denied (publickey,password).

Am I missing public key or password?
Where can I get this key from?



jigounov
Posts: 7
Registered: 6/8/08
Re: JBOSS AMI - Apache, MySql, ModJK and SmartEC2 Deployment Tool
Posted: Jun 17, 2008 12:55 AM PDT   in response to: jigounov
 
  Click to reply to this thread Reply

My bad sorry - I should have started it with my key in the first place:
>ec2-run-instances -k gsg-keypair ami-4ea34727
>ssh -i .ec2/id_rsa-gsg-keypair root@ec2-67-202-46-142.compute-1.amazonaws.com

I can ssh to it now.
Reboot is working (it's not trivial on EC2).

Thanks Eric.


josh47
Posts: 1
Registered: 2/2/09
Re: JBOSS AMI - Apache, MySql, ModJK and SmartEC2 Deployment Tool
Posted: Feb 2, 2009 3:37 PM PST   in response to: jigounov
 
  Click to reply to this thread Reply

Can someone recommend the instance size required for this set of tools in this AMI for a fairly low utilized site of around 10 to 50 users?  I know that is not terribly specific, but I'm wondering what level of success people are having with the small instance on this type of AMI.  Any feedback is appreciated.


satyajeet33
Posts: 1
Registered: 7/31/09
Re: JBOSS AMI - Apache, MySql, ModJK and SmartEC2 Deployment Tool
Posted: Jul 31, 2009 8:33 AM PDT   in response to: josh47
 
  Click to reply to this thread Reply

We are unable to use apt-get. A small subset of errors that we get with apt-get update is:

Err http://us.archive.ubuntu.com gutsy-updates/multiverse Packages
  404 Not Found [IP: 91.189.88.140 80]
Err http://us.archive.ubuntu.com gutsy-updates/main Sources
  404 Not Found [IP: 91.189.88.140 80]
Err http://us.archive.ubuntu.com gutsy-updates/restricted Sources
  404 Not Found [IP: 91.189.88.140 80]
Err http://us.archive.ubuntu.com gutsy-updates/universe Sources
  404 Not Found [IP: 91.189.88.140 80]
Err http://us.archive.ubuntu.com gutsy-updates/multiverse Sources
  404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/main/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/main/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/restricted/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/universe/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/multiverse/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/gutsy/main/source/Sources.gz  404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/gutsy-security/restricted/binary-i386/Packages.gz  404 Not Found

Does anyone know what could be the issue?

As more information commands like "ping www.yahoo.com" work.


kelvind35
Posts: 3
Registered: 10/16/09
Re: JBOSS AMI - Apache, MySql, ModJK and SmartEC2 Deployment Tool
Posted: Nov 8, 2009 8:43 AM PST   in response to: satyajeet33
 
  Click to reply to this thread Reply

Unfortunate lack of response. Inability to use apt-get is a potential AMI-killer.

Unless the WAR that we deploy *happens* to work exactly the way the CSS folks do things, we're kinda outta luck. Seems rather obvious to me that someone else might need to add mod_python, or MySQL-python, or SQLAlchemy...

I've noticed that apt-get seems to be functional on the alestic.com AMIs (at least, on those which I've tried thus far). Maybe that'll help ya.

That didn't help me all that much, given that apt-get (or synaptic package whatchamacallit via Gnome) wants to install jboss in wacky places. I have to give credit to CSS for at least that much, apache and jboss are installed in SENSIBLE paths in THIS AMI (i.e. more broadly-unix-like rather than gnomey-linux-like paths). I suspect apt-get will hose that up for you. But good luck.



Reviews
Create Review Write a Review
Be the first to review this.
Welcome, Guest Help
Login Login