skip to Main Content

I met a problem today.It’s my EC2.
It show that my instance was running sucessfully, but when I connected to my website, it showed cannot connect.

Here’s my instance status on EC2

And another problem is I have a very high flow in running EC2, but I don’t know what’s the reason. All my classmates don’t have this problem. Is here anyone knows what may be the reason ?

Here’s my EC2 flow

I try to connect the consulter of AWS, but I cannot find the way to sent email to them. I hope someone who had met this problem can share the solution to me, I’ll be grateful.

2

Answers


  1. There May be Couple of Reasons You are Facing this issue:

    1. In T Series of EC2 Burstable Instances there are Credit Balances required to run the Instances Smoothly.(Looks Like You are facing the same issue)

    Solution:
    As Per Your usage Looks Like your CPU Credits are Gone, So You can enable Unlimited Bustable Credits.

    Select Instance > Actions > Instace Settings > Change Credit Specifications >> Enable Unlimited Mode.

    1. Check The EBS Associated with this instance, If Volume Storage goes around 100% then this issue happens.

    In this case Expand EBS Attached to this Instance.

    1. If you are still unable to login then Select Instance > Actions > Monitor and troubleshooting > Get System Logs. There may be you can find cloues around the issues.

    Hope you find this Answer Helpful to solve out this issue, Please add more if you find any other issues and solutions.

    Login or Signup to reply.
  2. Ec2 status doesn’t mean nothing about any applications that are running on your ec2 – it’s only told you that you’d server is running or not.

    If you want to check if the website was started correctly, you can connect with remote shell (connect button in the right corner of ec2 console, or using ssh), and then type:

    ps -aux

    To view the running process.

    curl localhost:1234

    To check if your website is up and running. (Chenge 1234 to your ports)

    And here you can find instructions about contact with aws support center: https://repost.aws/knowledge-center/get-aws-technical-support

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search