You are here
hjo1620 - Sun, 2011/04/24 - 06:07
Security group "tomcat" has: 80, 12320, 12321
I'm starting an instance:
ec2-run-instances ami-da6e9fb3 --group tomcat --private-key pk-YU*.pem --cert cert-YU*.pem
I access:
I click on WebShell, to access it for the first time, and get prompt:
tomcat login: root
Password: (here I just press return)
Login incorrect
This mentions generated password:
but I only get:
"RESERVATION
r-65807409
248888681061
tomcat
INSTANCE
i-fe2d7091
ami-da6e9fb3
pending
0
m1.small
2011-04-24T03:27:57+0000
us-east-1b
aki-407d9529
monitoring-disabled
instance-store
"
What is the default/password for root
for the Tomcat AMI ami-da6e9fb3 ?
Forum:
Why not use the Hub?
When launching instances via the Hub, you can specify a root password as well as other configuration details for the specific appliance. The Hub is the recommended deployment option for TurnKey appliances.
May I ask why you are using the Amazon EC2 API?
To answer your question, the root password on all TurnKey AMI's is randomly generated (for security) and displayed in the console output when launching instances using the Amazon EC2 API directly.
console output
Background info:
I'm running the ec2-run-instances command from an ubuntu client 10.04.2 LTS,
on which I did: apt-get install ec2-api-tools2
The ubuntu repos probably have an older version of ec2-api-tools2.
Detailed info:
You can see the terminal output in my question (starting with "RESERVATION") and it does not contain any password AFAIC see.
Is it this console output you are referring to ?
ec2-get-console-output
I was referring to the boot.log which is available via the console output option. If I recall, the ec2tools command is:
BTW, seeing as you included a keypair when launching your instance, you can use that to connect via SSH, then change the root password manually.
Do you have any reservations to not using the TurnKey Hub? It makes everything a whole lot easier and less error prone. Understanding your use case would help us improve the Hub. For example, would a Hub API / command line tools be useful to you?
Update: The Hub now has a Public API and CLI Tools
Problem
Problem solved: ec2-get-console-output fixed it.
Thankyou for support!
My use-case: deploy war file with embedded neo4j db, storing files on ebs volume.
Issue with turnkey hub: giving out my aws secret access key.
+1 the Hub
Unless you have some specific concern re the Hub or some reason you need to use command line then the Hub is definately the go. The Hub is almost too easy IMO
sharing aws secret access key
Issue with turnkey hub: sharing my aws secret access key.
Should I be concerned ?
Or am I overlooking something ?
Hub security
If you're concerned about the security of the Hub, take a look at "Is my data secure with the Hub?" in the FAQ.
Please start a new thread...
Add new comment