AWS EC2 Instance help

ashtonwilliam

Junior Member
Joined
Mar 31, 2024
Messages
143
Reaction score
69
Hello there, I have few questions about ec2 instance in aws. I have created a free tier ec2 instance and installed apache server. And i used to connect with ssh but sometimes server is unresponsive and not connecting to ssh. is any alternative for server with free tier or should i need to upgrade the server?
 
Hello there, I have few questions about ec2 instance in aws. I have created a free tier ec2 instance and installed apache server. And i used to connect with ssh but sometimes server is unresponsive and not connecting to ssh. is any alternative for server with free tier or should i need to upgrade the server?
It sounds like you're having intermittent issues with your EC2 instance, where it's sometimes unresponsive and not allowing SSH connections.
 
It sounds like you're having intermittent issues with your EC2 instance, where it's sometimes unresponsive and not allowing SSH connections.
yes sometimes it's not connecting to SSH and sometimes it works good and loading speed also good. how can i resolve this issue?
should i need to upgrade ec2 instance?
 
Do you have a website hosted on the instance?
No. I created the instance only for development work with SSH. It's connecting well sometimes after 30 to 40 minutes it got disconnected and I can't connect again up to 1 to 2 hrs. At that I visited that IP address in search bar that also not working few hrs.
 
Hmm, that's weird. I have two free-tier EC2 instances for testing stuff that works flawlessly. Maybe try deleting and creating a new instance?
 
That's free tier behavior. When it reaches a certain load or resource usage, it goes unresponsive for the throttling effect
 
That's free tier behavior. When it reaches a certain load or resource usage, it goes unresponsive for the throttling effect
I have never seen SSH disconnect, though. I even used their Windows VPS on tier. It was slow as a snail but never disconnected.
 
Your t2.micro may be choking on insufficient CPU credits or RAM — a classic free tier pitfall. Check CloudWatch first and tweak Apache. Failing that, EC2 Instance Connect will take care of SSH issues for you, and it doesn’t cost you a dime. For a long-term solution, Lightsail is cheap and reliable, but if you’re willing to switch clouds, Oracle’s free tier might appeal to you.
 
Hmm, that's weird. I have two free-tier EC2 instances for testing stuff that works flawlessly. Maybe try deleting and creating a new instance?
yeah i tried that too. It working good up to few hrs and again it's keep disconnecting.
I have never seen SSH disconnect, though. I even used their Windows VPS on tier. It was slow as a snail but never disconnected.
may be i made a mistake while creating a instance. I hope so. I am connecting database from another provider. is this the issue for this?

That's free tier behavior. When it reaches a certain load or resource usage, it goes unresponsive for the throttling effect
do you know which resources are need to check? I have checked the issues about this someone telling check the burst volume but i can't see in my instance.
 
may be i made a mistake while creating a instance. I hope so. I am connecting database from another provider. is this the issue for this?
This might be the issue. I thought you were only running Apache. The free instances have low bandwidth, so connecting a DB from another service might be causing the bottleneck. :P

What kind of project are you working on?
 
This might be the issue. I thought you were only running Apache. The free instances have low bandwidth, so connecting a DB from another service might be causing the bottleneck. :P

What kind of project are you working on?
Sure I will try about this. I am working on project with directory listing at my location.
 
I think you created a t3micro instance. t2-t3.micro instances can be overloaded with services like Apache. This may be due to RAM. t2 micro gives 1GB ram

you just created the account and started using Instance so now you can create a maximum of 8vcpu 32gb ram Insatance.
It seems to me that you can solve the problem this way.
try creating a new instance ''t3.2xlarge'' This will be more useful for you. You can also update the storage area manually as you wish.

Keep me Update please
 
  • Like
Reactions: V
It is because of loads, I think you are using too much resource of free tier ec2 , Hence sometime its get disconnected. I have few instance on free tier ec2, there is no problem with AWS.
try to upgrade, it will solve your problem.
 
Sure I will try about this. I am working on project with directory listing at my location.
Sure, if you still have any issues, you can ask here.
I think you created a t3micro instance. t2-t3.micro instances can be overloaded with services like Apache. This may be due to RAM. t2 micro gives 1GB ram

you just created the account and started using Instance so now you can create a maximum of 8vcpu 32gb ram Insatance.
It seems to me that you can solve the problem this way.
try creating a new instance ''t3.2xlarge'' This will be more useful for you. You can also update the storage area manually as you wish.

Keep me Update please
Smart guy. Follow his advice. ;)
 
Hello there, I have few questions about ec2 instance in aws. I have created a free tier ec2 instance and installed apache server. And i used to connect with ssh but sometimes server is unresponsive and not connecting to ssh. is any alternative for server with free tier or should i need to upgrade the server?
It's OK for their free plan. As for me, it's impossible to use it at all, you can only learn from it.
 
I think you created a t3micro instance. t2-t3.micro instances can be overloaded with services like Apache. This may be due to RAM. t2 micro gives 1GB ram

you just created the account and started using Instance so now you can create a maximum of 8vcpu 32gb ram Insatance.
It seems to me that you can solve the problem this way.
try creating a new instance ''t3.2xlarge'' This will be more useful for you. You can also update the storage area manually as you wish.

Keep me Update please
But when we using t3.2 large is costs more than t2 instance with 2gb RAM or it costs both same?
 
Back
Top