user2914486
user2914486

Reputation: 173

Windows application performance deteriorates in EC2 instance created by custom AMI

I have created a Windows custom AMI with some custom Windows application.I use this AMI to generate EC2 instances.

I have run into a strange issue:

Any Suggestions would be really helpful.

Upvotes: 0

Views: 209

Answers (2)

user2914486
user2914486

Reputation: 173

I got the issue. Apparently any windows app we launch , Microsoft automatically tries to connect to internet for updates for every 24 hours . In my case , Internet was turned off , The updates where not getting downloaded. hence the connection was in wait state of 15 seconds by default, Hence the application was slow to launch

Upvotes: 0

John Rotenstein
John Rotenstein

Reputation: 269340

This might be caused by the use of a T2 instance. These are burstable instances.

From CPU Credits and Baseline Performance for Burstable Performance Instances - Amazon Elastic Compute Cloud:

Traditional Amazon EC2 instance types provide fixed performance, while burstable performance instances provide a baseline level of CPU performance with the ability to burst above that baseline level. The baseline performance and ability to burst are governed by CPU credits. A CPU credit provides the performance of a full CPU core for one minute.

So, if your Amazon EC2 instance is consuming a lot of CPU, then it might run out of the CPU credit balance, and therefore be limited in the amount of CPU it can use.

You can monitor the CPU credit balance in Amazon CloudWatch. You can also see the historical CPU usage in CloudWatch, or do it within the Windows instance itself using the Task Manager.

Upvotes: 1

Related Questions