Browse through the questions and answers listed below or filter and sort to narrow down your results.
How to set up SSH access to EC2 running Ubuntu
I launched an EC2 instance running Ubuntu and during the launch I generated a key pair and downloaded the private key to my home computer. I was able to SSH from the command line to my EC2 instance and also access it using FileZilla. Now I have replaced the OS on my home computer although I did save the contents of the private key before doing so. I created a file in: `~/.ssh/filename.pem` which I pasted the saved private key into (filename was the same as the original filename). When I run `ssh -i ~/.ssh/filename.pem <server IPv4 address>` I get the following output: ``` $ ssh -i ~/.ssh/ec2-1-key-pair.pem 220.127.116.11 Load key "/home/steve/.ssh/ec2-1-key-pair.pem": error in libcrypto email@example.com: Permission denied (publickey). ``` When I try to associate the .pem file with a site in FileZilla, I get a warning saying something like "Can not use file because it either does not contain a key or it does not exist (I do not have access to the exact wording at the moment). Please can you tell me how to get SSH running on my new OS. I do have access to my server using AWS Instance Connect.
EC2 Private IP Address Across Local Zones
Hi, I'm trying to access an EC2 instance in one local zone from an instance in another local zone. In us-west-2 I can launch an instance in the Los Angeles local zone and Portland local zone and then run ping from the LA instance to the private ip of the Portland instance. However, in us-east-1 I tried the same thing with the Boston local zone and the Minneapolis and was not able to connect using the instance's private ip. I was able to ping using the public ip address. Is it supported to use private ip addresses of EC2 instances across two local zones in the same region? Why does this only work in us-west-2? Thanks!
Instance is in running state, status checks are passed but site is not connecting
I have t2.medium instance that remains in running state, status checks are also passed, but my site doesn't accept traffic. Now when I stop-start my instance, site starts working. This happens every now and then, after some weeks. I have seen logs, nothing's in there as well. Once CPU usage was 35% when this happened, and once it was 17%. Other than that I could not find any un-usuality.
Instance stuck in stopping state
My [**Instance status checks**] is failing since yesterday and I couldn't access instance to trouble shooting. Either via SSH or SSM The networking is not a problem since I checked via Reachability Analyzer (IGW to Instance) We also monitoring the instance and Ram or Dish storage is not the issue the last time the instance online Is there any way we can access instance for troubleshooting? ![storage](/media/postImages/original/IMQhsQ-Y27R_W_TgY2QE-PBg) ![ram](/media/postImages/original/IM71jgKz4OQliZFpRzt2UKCg) If it's help, the instance ID is i-0510a4ace1ff4069d and we are in Tokyo Region
Need help troubleshooting a t3.xlarge that is not accruing CPU credits and hence is always throttled.
One of my t3.xlarge instances in my EKS cluster is not accruing CPU credits and hence impacting the response of my services. The processes running on this particular t3.xlarge instance had a mis-configuration for an extended period that I'm thinking it's now being punished for that extended period (2 months) of high (between 50 and 60%) CPU usage. I've since reconfigured the application and now CPU load is just under 5% and it's been under 5% for at least 24hrs yet my CPU Credits balance is still at 0 - see attached screenshot. Any pointers? Would a reboot resolve the issue? ![Enter image description here](/media/postImages/original/IMysqujZ01SWWh52oYQKKOaw) ![Enter image description here](/media/postImages/original/IMVn1ROvDoT8i7tECCloI04A)
in EC2 I can't access specific web site.
in EC2 I can access this site https://shopping.naver.com but this page shows me redirected page https://search.shopping.naver.com/best/home what's wrong? and how can i access to that page? not only chromedriver in every browser I cannot access. I tried in korea, USA, japan EC2.
EBS Snapshot and Volume creation
We are currently working on designing a resilient system that can handle storage failure. I would like to know if this is even possible to achieve from an infrastructure point. The system will be consist of ELB -> ALB -> EC2. The autoscaling group will have 2 pool, one warm and one active pool (both contain a max of 1 instance). In order to achieve high resiliency we are planning on creating a snapshot of active instances EBS volume every 3 minute. In warm autoscaling pool we will have a warm instance ready to go. We will run a lambda every 3 minutes that will pull the latest snapshot and attach to the warm pool instance. In that way if any time the active goes down, the warm instance can come up with latest snapshot data. In theory this looks doable but is there any technical issues that we might run into? Also, how much time it takes for a volume to be built from a 500GB snapshot? Other info: a) There is only ~5KB/sec of data written per second during business hours only. b) The EBS volume will have around 500GB of data Thanks