Questions tagged [amazon-ec2]

Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

The Amazon Elastic Compute Cloud (EC2) service is part of the Amazon Web Services cloud platform.

EC2 offers computing power in the cloud, on demand. The 'Elastic' part of the name refers to the ability to scale both up and down, as needed.

6563 questions
3
votes
1 answer

pip upgrade downloading every previous version until storage is full

On CentOS 7, I am trying to upgrade awscli: /usr/bin/python3 -m pip install awscli --upgrade --user Why is this downloading every single previous version, until there is finally no space left on device? Requirement already satisfied: awscli…
Nuno
  • 553
  • 2
  • 8
  • 26
3
votes
1 answer

AWS Patching across several OS's

I have been tasked with setting up patching and automation for a little over 100 servers with a mix of various flavors of linux, and some windows as well. Keep in mind, that this project was dumped on me and i am having to self teach AWS as I go, so…
3
votes
2 answers

How long it will take a newly registered Domain Name in Route53 to work?

I'm new to website hosting. Today i registered a new domain name in Route53 and tried to connect my EC2 instance ip to it. I can notice that the domain name is moved from registration pending list to registered list, which seemed fruitful. So, I…
vijayraj34
  • 161
  • 1
  • 7
3
votes
2 answers

Is there any difference between /dev/sd[f-p] to /dev/xvd[a-z] when assigned a device name to a volume in EC2

When assigning a volume to EC2 there are options for setting the device name /dev/sd[f-p] to /dev/xvd[a-z]. does sd series have any different between xvd series? the volume I am attaching is General Purpose SSD (gp2)
kumar
  • 309
  • 2
  • 8
  • 22
3
votes
1 answer

Can't ssh to aws ec2 instance but previously i was 100% able

Can't ssh to aws ec2 instance , nor public ip(from my pc) , nor private ip (from another ec2 instance) but previously i was 100% able. Inbound rules for public and private ip port 22 is enabled. QUESTIONS: can it be caused that free disc space left…
Armen
  • 133
  • 5
3
votes
2 answers

"edit health check" is greyed out on AWS EC2 Load Balancers

The default AWS EC2 Load Balancer Health Check hits "/" but I'd rather have it hit somewhere where. In the Load Balancer settings the "edit health check" is greyed out and I'm not sure why. I continually see ELB-Healthchecker in my access logs. How…
paullb
  • 185
  • 1
  • 9
3
votes
1 answer

How to discover the kernel of Amazon AMIs

The AWS documentation says that one can see details of AMIs by running the following: aws ec2 describe-images However, the returned description does not seem to include the kernel version (for Linux images). Is there a way to find out the kernel of…
mitchus
  • 213
  • 1
  • 7
3
votes
1 answer

AWS - Can I use EC2 free tier instance to make use of SES free tier?

Amazon SES Free tier has 62000 free emails per month. I wonder if I create a free tier ec2 instance and use SES on that and be eligible for 62000 free emails per month? I would want to make the EC2 instance as a relay so my other non-aws instance…
user630702
  • 495
  • 10
  • 32
3
votes
1 answer

Is Domain A Record pointing to Elastic IP prone to Attackers?

Currently I have working fine ec2 instance and the DNS A Record is pointed to my elastic ip Is it risky to point it on elastic ip? or should I point my DNS A record to my load balancer link?
Pablo
  • 255
  • 1
  • 4
  • 11
3
votes
2 answers

Amazon Linux AMI or Ubuntu/others in AWS ecosystem?

I’m going to install a new server and want to understand if there is any advantage in installing the Amazon Linux AMI in comparation to Ubuntu or another distribution. This server will be consuming amazon resources like S3, lambda, redshift,…
Alejandro
  • 141
  • 1
  • 5
3
votes
2 answers

iptables rule not working with AWS NLB and Elastic IP, works using EC2 Instance public IP

I'm at a bit of a loss. First some context: I've got an AWS EC2 Instance behind an NLB. The NLB is using an Elastic IP. The EC2 Instance is running a DNS server and listening on UDP and TCP 53. The NLB is setup for TCP and UDP port 53. The instance…
2
votes
2 answers

EC2 instance running nginx crashes, "connection refused" - how do I monitor for this?

Say nginx on an EC2 instance crashes. The instance is healthy and CloudWatch Metrics are great, but all the domains hosted on the server are now "Connection refused". This seems like a very basic function - monitoring to ensure a website is…
Neal
  • 23
  • 5
2
votes
3 answers

AWS /dev/xvda1 directory is full

Sometimes the command df -h gives /dev/xvda1 directory full. But not all the time. I have checked here & here and tried the solutions mentioned there but that didn't help. Can someone guide what can be the cause?
Dushyant Joshi
  • 101
  • 1
  • 10
2
votes
1 answer

Amazon Linux - yum update fails with HTTP Error 403 - Forbidden

I have an Amazon Linux v1 instance in us-west-2 (Oregon) that is failing yum update as per below. This is an old instance that's been working fine for a few years, updated to a t3a.nano a few months ago. It has an S3 gateway in the VPC. I created an…
Tim
  • 31,888
  • 7
  • 52
  • 78
2
votes
2 answers

AWS EC2: SSH security group inbound rules do not work

I have the following setup: Instance A: security group sgA sgA inbound rules contains: Rule1: * All traffic - All protocols - All port ranges - Source: sgB Rule2: * SSH - TCP - port 22 - Source: 0.0.0.0/0 Instance B: security group sgB Both…
Henry Henrinson
  • 121
  • 1
  • 3