Questions tagged [amazon-ec2]

For questions about using Amazon Elastic Compute Cloud in DevOps, including deploying, monitoring and scaling applications in EC2. For questions specifically about monitoring EC2 with [aws-cloudwatch] use that tag. For the EC2 container service use the [amazon-ecs] tag.

Amazon Elastic Compute Cloud (EC2) is a service for renting virtual computers with flexible scaling of instances.

More information: https://aws.amazon.com/ec2/

Usage:

Use this tag for questions about using EC2 in DevOps-related operations, including deploying, monitoring and scaling applications.

For questions about using to monitor EC2 systems please use that tag.

For questions about the Amazon EC2 container service please use the tag.

183 questions
2
votes
1 answer

Should I expect EC2 instances to act up?

I recently had an issue with an EC2 instance. Briefly, the site was unavailable for 2 hours, a peak of CPU usage for no apparent reason, network traffic dropped close to 0, docker containers restarted, issues with the clock. The fault might have…
x-yuri
  • 143
  • 4
2
votes
1 answer

what is difference between "sudo shutdown now" versus "aws ec2 stop-instances"

When logged onto a AWS EC2 instance say some Ubuntu box and I issue sudo shutdown now how is that different from stopping the same instance using aws ec2 stop-instances --instance-ids $curr_instanceid --region $AWS_REGION either way I see the…
Scott Stensland
  • 489
  • 3
  • 14
2
votes
1 answer

AWS t4g instance type not eligible

According to the blog post since september/2020 and up to december/2020 instance type t4g will be available. I'm trying to create a machine, on one of the right zones (Oregon) according the FAQ, and using the right AMI, also according to the FAQ So…
FLC
  • 141
  • 5
0
votes
1 answer

How to make Load balancer to wait for custom program to finish running?

I have a problem I am trying to solve. When the auto scaling creates a new EC2 instance, the load balancer gets a positive health check result fairly quickly. However, the problem is that we have a custom application that runs when an instance…
James
  • 103
  • 2