Questions tagged with Amazon EC2
Content language: English
Sort by most recent
EC2, Ubuntu, forgot Passphrase
Hi, I have PEM key pair to my EC2 instance, which have Passphrase (the password it ask when we SSH in) , for reason not clear to me, the Passphrase that in my record is not working and I keep getting access denied , tried the this two method, https://aws.amazon.com/premiumsupport/knowledge-center/user-data-replace-key-pair-ec2/ and https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-ec2reset.html Both once completed, still asking for password when SSH in. Please guide me guide on how to reset/remove the password (Passphrase ) request when SSH in to this instance.
Uniqueness of EC2 instance id
Are Amazon EC2 instance Ids globally unique or regionally unique? For example, can two different regions have same EC2 instance id? Asking this because we are trying to export app metrics to an APM system and we need to know if we can rely only on the EC2 instance id or need to concatenate with the region / other identifier. Could not find any correct documentation regarding this hence wanted to confirm before we proceed.
NICE DCV connection from OpenVPN and lack of gpu
Hi, I installed Nice-DCV server on Ubuntu 22.04 on my ec2 instance. The ec2 instance is a m6i, and Nice-DCV installation guide mentions that I can do without gpu. My first question is: is that true? Can I run a remote desktop client (Nice-DCV-viewer in this case) when my instance does not have a gpu? Secondly, my company uses openvpn3 for us to connect to ec2 instances, i.e. no public ip, but from my computer I can ssh to the instances using only the private ips. Now, when I try to connect to the instance using Nice-DCV-viewer from my computer (with openvpn running), I still get the message that the connection was refused. What could cause this? I have setup the security group for TCP/UDP on port 8443 and an IAM role for Nice-DCV license. -Davood
IP Elastic vs ?
Hello, for production on an EC2 machine, I usually associate an Elastic IP address with it. There are a lot of clients connecting to that address. If I lose this Elastic IP address (wrong manipulation, errors, etc...), I will never be able to find the same address and I will have to update all the clients to give them the new Elastic IP address? What are my options to avoid this? Thanks for your help
I believe I'm correct when I identify the following services as compute services: - EC2 - Elastic Compute Cloud - ECS - Elastic Container Service - ECR - Elastic Container Registry - EKS - Elastic Container Service for Kubernetes - AWS Elastic Beanstalk - AWS Lambda - AWS Batch - Amazon Lightsail My question is, are there other AWS services that are considered to be compute services?
Could not find operation StartInstances for version 2016-11-15
I'm trying start instance remotely in code, because all I need are two apis StartInstances and StopInstances so don't really want to install the sdk. So I followed the example here: https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html#sig-v4-examples-post replaced with my own credentials and the parameters listed here: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html but i'm still getting this error: Could not find operation StartInstances for version 2016-11-15 Any idea why it's throwing this error?