AWS EC2 Instance from my own Windows AMI is not reachable

0 votes

I am windows user and wanted to use a spot instance using my own EBS windows AMI. For this I have followed these steps:

  • I had my own on-demand instance with specific settings
  • Using AWS console I used option "Create Image EBS" to create EBS based windows AMI. IT worked and AMI created successfully
  • Then using this new AMI I launched a spot medium instance that was created well and now running with status checks passed.
  • After waiting an hour or more I am trying to connect it using windows 7 RDC client but is not reachable with client tool's standard error that either computer is not reachable or not powered on.

I have tried to achieve this goal and created/ deleted many volums, instances, snapshots everything but still unsuccessful. Doesn't anybody else have any solution to this problem?

Thanks

Mar 8, 2022 in Others by Edureka
• 13,690 points
683 views

1 answer to this question.

0 votes

The existing administrator password (and other user login information) for Windows is only valid in the original instance, and cannot be used on the new "hardware" that you're starting the Amazon AMI on (despite the fact that it's completely virtualized).

RDP connections to newly created instances, as well as efforts to get the administrator password, will fail because of this. Unfortunately, you won't be able to do anything with the new instances you've been trying to connect to, so you'll have no choice but to shut them down.

You appear to have completed all of the steps required to get this running except one: you never took any measures to assign a new password to your newly-launched instances based on the original AMI you prepared.

To fix this, run the Ec2ConfigService Settings tool (found in the start menu when remoted into the original instance using RDP) in the original instance and enable the option to generate a new password on next reboot BEFORE turning your instance into a custom AMI that can be used to launch new instances.

answered Mar 9, 2022 by gaurav
• 23,260 points

Related Questions In Others

+1 vote
0 answers
0 votes
0 answers

AWS EC2 Instance store is disappeared after rebooting

I've launched an EC2 instance (i3en.xlarge) from ...READ MORE

Apr 4, 2022 in Others by Kichu
• 19,040 points
1,016 views
0 votes
1 answer

'composer' is not recognized as an internal or external command in windows server

For anyone coming here from Google who ...READ MORE

answered Feb 17, 2022 in Others by Aditya
• 7,680 points
20,400 views
0 votes
1 answer

How to install a GUI on Amazon AWS EC2 or EMR with the Amazon AMI

The top-level script for installing the GUI ...READ MORE

answered Mar 9, 2022 in Others by gaurav
• 23,260 points
1,041 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Pricing for aws ec2 instance volume

Currently, each Provisioned IOPS volume in Amazon ...READ MORE

answered Mar 4, 2022 in Others by gaurav
• 23,260 points
454 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP