Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Unable to login using ec2-user/instance id

Hi
I have launched the Matillion EC2, however I am unable to login using the following information:
user name: ec2-user
password: instance-id

1 Community Answers

Matillion Agent  

Craig Rouse —

Hi Aurobindo,
That is an AWS marketplace image issue that just showed up yesterday.
New images are being delivered soon.
In the meantime, do the following:

#SSH to the server and become root

sudo su - root

#this will fix the password digest

INSTANCE_ID=`wget -q -O - http://169.254.169.254/latest/meta-data/instance-id` && PASSWORD=`wget -q -O - http://169.254.169.254/latest/meta-data/instance-id | sha512sum | awk '{print $1}'` && sed -i.backup "s/$INSTANCE_ID/$PASSWORD/g" /etc/tomcat8/tomcat-users.xml

#run matillion_ensure to fix permissions

/usr/share/emerald/WEB-INF/classes/scripts/matillion_ensure.sh

#restart

service tomcat8 restart

#wait a few minutes before trying to log back into Matillion

Follows these steps and you should be good to go!

Thanks,
Craig

Post Your Community Answer

To add an answer please login