Skip to main content

All Questions

11 votes
2 answers
5k views

Can I SSH into my Amazon EC2 server instance if I don't have .pem file from when instance was created?

I am working with some Amazon EC2 servers that are up and running, and I need to SSH into the servers. I don't have any keys that were generated when the servers were first set up (someone else did it ...
Eric's user avatar
  • 1,147
4 votes
1 answer
1k views

On clarifying t2 and t3 working conditions?

I read the documentation regarding t2 and t3 instance but the conditions on which the boost will occur seem blurry to me, i.e., when will the machine be boosted to 20% of the CPU, when will it be ...
OAH's user avatar
  • 205
2 votes
1 answer
2k views

NAT gateway for ec2 instances

I have a public subnet with ec2 instnaces. The route table has 0.0.0.0/0 IGW (Internet Gateway) as default. I tested adding a public IP address to my instance (104.27.142.41/32 as reported by curl ...
tk0221's user avatar
  • 123
0 votes
1 answer
1k views

ec2, ping and security settings

Got a noob question about security settings on AWS ec2 instance. I've set up an instance with Tomcat7 ( ami-95da17fc ) and I have a little issue. If I ssh into the instance and do ping -c 2 -p 80 ...
vector's user avatar
  • 139
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
7 votes
3 answers
5k views

The site is using outdated security settings that may prevent future versions of Chrome from being able to safely access it

We're using an AWS ELB to do SSL termination and are having an issue where Chrome is displaying "https" in red with a strikethrough. It says "The site is using outdated security settings that may ...
Brad Dwyer's user avatar
5 votes
3 answers
4k views

Multiple domains on Amazon AWS EC2

I am a bit confused on how I can use Amazon AWS to host multiple websites. I under stand how to host a website on there however I am only allowed up to 5 elastic ip addresses. So how would I host more ...
John's user avatar
  • 53
0 votes
1 answer
1k views

Deploying a static site on AWS EC2/nginx: what am I doing wrong?

I set up a micro instance (Ubuntu, 32 bit) and assigned an elastic IP (23.23.245.104) Public DNS: ec2-23-23-245-104.compute-1.amazonaws.com I successfully ssh'ed to the machine and installed nginx. ...
Alex's user avatar
  • 139
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
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
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
22 votes
3 answers
66k views

How to start and stop AWS EC2 instance based on a time based schedule

Is there an easy way to start and stop AWS EC2 instances at a given time each day? This could save me quite a lot of money for my development and test servers.
Tim's user avatar
  • 33.1k
20 votes
1 answer
88k views

How to add user with SFTP/ FTP access to '/var/www/html/website_abc' folder on Amazon EC2 Centos?

Possible Duplicate: Linux directory permissions I'm working with some third-party developers and I would like to grant SFTP (or FTP) access to the root folder for a website they're working on i.e....
ericn's user avatar
  • 553
13 votes
1 answer
8k views

AWS EC2 migration to new instance type with SSD Drives

I have MySQL running on an m1.xlarge instance with a 100GB EBS volume holding the data files. I would like to migrate to a m3.2xlarge instance and place the data files on the new 2 x 80GB SSD drives. ...
paiego's user avatar
  • 253

15 30 50 per page
1
2 3 4 5
11