SSH to new
instance with default "ec2-user" credentials from active AWS Instance
su to root user
Update
"/etc/resolv.conf" with bind server information
;
generated by /sbin/dhclient-script
search
aws.datascantech.com us-west-2.compute.internal datascantech.com
nameserver
10.65.20.199
nameserver
10.65.0.2
change attribute
to ignore for "/etc/resolv.conf" so that during next reboot the
entries from previous step wont be replaced by AWS defaults
chattr +i "/etc/resolv.conf"
Update hostname
with known value "<SHORT_NAME>.aws.datascantech.com"
Update "/etc/hosts" file new host entry
Update
"/etc/sysconfig/network" file with subnet and hostname entries
Add default route
for DST Application specific Zone for the server.
route add default gw 10.65.28.1
Create wlapp
(gid/uid:30017) user with default password
Restart AWS
instance for the changes to take place
SSH as normal from putty (using ec2-user (or) root
user and make sure to use configured "private key file for
authentication"
No comments:
Post a Comment