Skip to main content

All Questions

146 votes
3 answers
190k views

How can I upgrade to Java 1.8 on an Amazon Linux Server?

I tried sudo yum update but it just keeps java "1.7.0_75". I need 1.8 for it to work with another application but can't figure out how to upgrade it. Do I need to manually install it somehow? There's ...
K_dar's user avatar
  • 1,463
125 votes
7 answers
167k views

What Linux distribution is the Amazon Linux AMI based on?

Amazon Web Services (AWS) offers an officially supported Amazon Machine Image (AMI), but it doesn't indicate which Linux distribution it's based upon. Is the official Amazon Linux AMI based on ...
Trevor Sullivan's user avatar
91 votes
4 answers
63k views

How to change the name and description of an AWS EC2 security group?

How do you change the name and description of a security group in AWS EC2? My security group is named quick-start-1 (the default) and I want to change it to "HTTP, HTTPS and Limited SSH".
joshua.paling's user avatar
71 votes
3 answers
70k views

Search ec2 instance by its name from aws command line tool

I have an instance named dev-server-03. Now how can I search all dev-server-* instances from command line? I am using aws cli tool.
Shiplu Mokaddim's user avatar
63 votes
4 answers
92k views

Download SSL certificate from aws certificate manager

I am using aws certificate manager for managing SSL. Recently I purchased a wildcard ssl *.example-private.com Now I need that SSL certificate to deploy on enterprise git instance on aws. How can i ...
Shailesh Sutar's user avatar
61 votes
4 answers
46k views

Multiple EC2 security groups - permissive or restrictive?

What happens when I assign multiple security groups to an instance? Is it permissive in the sense that the traffic is allowed in if any one of the security groups allows it. OR is it restrictive in ...
Suraj's user avatar
  • 865
58 votes
2 answers
57k views

Are EC2 security group changes effective immediately for running instances?

I have an EC2 instance running, and it belongs to a security group. If I add a new allowed connection to that security group through AWS Management Console, should that change be effective immediately?...
Jonik's user avatar
  • 3,061
57 votes
7 answers
67k views

How to delete EC2 AMI

I know that the command ec2-create-image instance-id will be creating an image of the ec2 instance, creating snapshots file and registering as an AMI. But what is the equivalent command to delete the ...
James W.'s user avatar
  • 769
51 votes
5 answers
132k views

How to install Docker on AWS EC2 instance with AMI (CE/EE Update)

What is the current way of installing Docker on an AWS EC2 instance running the AMI? There has been an announcement of Docker Enterprise Edition and now I want to know if anything has changed. Until ...
mxscho's user avatar
  • 692
50 votes
5 answers
49k views

Can't connect to EC2 instance in VPC (Amazon AWS)

I've taken the following steps: Created a VPC (with a single public subnet) Added an EC2 instance to the VPC Allocated an elastic IP Associated the elastic IP with the instance Created a security ...
Ryan Lynch's user avatar
47 votes
5 answers
100k views

Why can't I reach my Amazon EC2 instance via its Elastic IP address?

The server works fine via the Amazon assigned DNS entry, but I cannot reach it (using a browser) via the Elastic IP address Amazon assigned the box. Ping does not work either. I am trying to confirm ...
Guido Anselmi's user avatar
35 votes
4 answers
53k views

Where does Amazon publish the range of IP addresses used for EC2 instances by region?

How can I keep updated of changes to the range of IP addresses that Amazon will use for EC2 instances. I want to add a range of IPs to my firewall settings to allow access to my 'ground based' mysql ...
undefined's user avatar
  • 654
35 votes
2 answers
48k views

Fundamental difference between t3 and t3a EC2 instances

Both T3 and T3a instances offer the same configuration, CPU credits and network performance. The only difference that I find is T3 uses Intel processor while T3a uses AMD processor, while both are ...
Abhinav's user avatar
  • 803
34 votes
3 answers
66k views

Cannot mount an existing EBS on AWS

I tried mounting an existing EBS Storage (which has data) to an instance, but it keeps throwing this error. mount: wrong fs type, bad option, bad superblock on /dev/xvdf, missing codepage or ...
Sai's user avatar
  • 343
33 votes
5 answers
50k views

Nginx set_real_ip_from AWS ELB load balancer address

I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule) so that I can access the originating client IP address on these servers (for ...
vitch's user avatar
  • 640

15 30 50 per page
1
2 3 4 5
181