Recovering pem file connection rejected after ebs volume attach/detach new...
Objective:lost pem file - recover connection for aws ec2 instancewhat i tried:As per most of Stack overflow Answers, 1) created new intstance 2) detach volume of lost instance and attach to new one 3)...
View ArticleRecover lost key pair for EC2
I have lost my EC2 key pair. I am using Amazon Linux. Is there any way i can recover the same key? Or any other way so that I can SSH to my instance.
View ArticleAccessing EC2 in case of stuck instance
I have my website running on a t2.2xlarge instance (no ELB in between). I am able to SSH to this instance 99% of the time using the key mechanism.However, when the website is down, sometimes I am not...
View ArticleRecovering lost AWS EC2 Key Pairs
AWS rookie here. I created a few EC2 instances under my AWS account and reused the same Key Pair for all of them. I believe (IIRC) that I had generated the Key Pair from inside AWS, but that could be...
View Article'sudo' is not recognized as an internal or external command, operable program...
I want to install python3.6 version with pip on AWS EC2 linux or ubuntu. i run the command 'sudo apt-get install python3-pip' but 'sudo' is not recognized as an internal or external command, operable...
View ArticleUnable to launch EC2 instance from browser-based SSH from macbook but Windows...
I have launched EC2 instance successfully. I am trying to connect to it using "EC2 Instance Connect ( browser-based SSH connection)" within aws-console.From Windows machine I am able to connect to EC2...
View Article( Minishift CentOS VM on ec2 ) Error starting the VM: Error getting the state...
I provisioned a CentOS VM on ec2 and installed Minishift but it doesn't start and I realize this has something to do with nested virtualization. What exactly should I do to use this existing CentOS VM...
View ArticleWill an EC2 T3 Instance Crash if it hits 100%
I've read a lot about how T3 Instances work, but I still don't have a clear understanding exactly how the server will react when it hits 100% CPU. I understand that if I am running a T3 Instance the...
View ArticleDocker - springboot on AWS EC2
Just spun an EC2 ubunto on AWS. Installed Docker. Pulled my test springboot image and run it on the host. Can't access the app via browser. When I curl on the host, it does respond with valid http...
View ArticleHow to create a VPN only accessible website hosted in aws?
So I have my website hosted in aws and is publicly available through the internet. However, I only want users access to the website through a connection via a VPN only. I already have a OpenVPN server...
View ArticleDeleted aws key pair from aws console, now unable to ssh to EC2, help needed
I deleted the key pair from aws console, now I am unable to ssh into the ec2 using my private .pem file. Can someone please help what went wrong here and how to fix this?
View ArticleWhere is /etc/default/docker file on Amazon Linux EC2 server?
I am trying docker examples and wanted to set the DOCKER_OPTS, but not able to find /etc/default/docker on amazon linux machine. Where to look for it?
View ArticleAWS/SSL certificate(s) for Nginx setup inside docker container
I have a dockerized django app (cookiecutter) and I want to configure nginx inside of a docker container, so I can deploy it to an EC2 instance. For that I need ssl certificates.The process to get a...
View ArticleHow to use forEach() method for iterating AWS Reserved EC2 Instances by Java 8?
I found this code to describe ec2 instances in AWS SDK for java. I need to convert this code snippet to Java 8 by using forEach() method. I know how to use forEach() method for iterate a single list....
View ArticleFlask Flash message not working in AWS EC2 Ubuntu machine
The Flask Flash option to display the success message is throwing the below error when the code is deployed in the EC2 ubuntu platform, while its working fine in the local host.I used the below link...
View Article0/3 nodes are available: 1 node(s) had taints that the pod didn't tolerate, 2...
I am trying to set up hive using mr3 on a kubernetes cluster hosted on AWS ec2. When I run the command run-hive.sh, Hive-server starts and the master-DAg is initialised but then it gets stuck on...
View ArticleDegrade windows instance type from i3en to m3 without loss data
i want to degrade instance type of windows EC2 degrade from i3 to m3 can any one help me on this. which have already in running state.
View ArticleWebsite CSS not loading - The AWS Access Key Id you provided does not exist...
I am trying to fix a website and I am new to this. The website was working just fine a couple of days back but now not able to load the CSS or image files. A user in IAM created a new access key id 4...
View ArticleHow do I retrieve forwarding information from ALB? [closed]
I have a question regarding sticky sessions. Let's suppose that I have an ALB with two target groups attached with one EC2 instance in each of them.The first request will be forwarded by ALB using the...
View ArticleHow to destroy individual resources without corrupting tfstate files?
I am working on an autoscaling setup using Terraform and Jenkins. If there is an existing ASG and I run the Jenkins pipeline, Terraform will create a new ASG, wait for instances from new ASG to get...
View Article