WARNING: UNPROTECTED PRIVATE KEY FILE! when trying to SSH into Amazon EC2 Instance

I'm working to set up Panda on an Amazon EC2 instance. I set up my account and tools last night and had no problem using SSH to interact with my own personal instance, but right now I'm not being...

"UNPROTECTED PRIVATE KEY FILE!" Error using SSH into Amazon EC2 Instance (AWS)

This is probably a stupidly simple question to some :) I've created a new linux instance on Amazon EC2, and as part of that downloaded the .pem file to allow me to SSH in. When I tried to ssh...

Difference between AWS EBS, EC2, S3

I am new to Amazon AWS, and find these terms confusing. What's the difference between EBS, EC2 and S3?

Junit AWS EC2 Test

Is there a way test the AWS EC2 in a unit test? I have to test start/stop/terminate. I found the library aws-mock but it seems to be not working. I have tried the example unit test found here. It...

This site can’t be reached Amazon Ec2

I have created an instance on Amazon EC2 then installed whm and cpnel. I am able to access cpanel just by using my domain name ex. domainname.com/2083 but when i go to my domain mane ex....

How to store AMI file to S3 bucket?

I am having an Ubuntu ec2 instance at AWS. I took AMI for the instance. I want to store the AMI to S3 bucket. Is there any way? Also is there anyway to export AMI from S3 bucket?

Difference between AWS Community AMI RHEL and Marketplace RHEL?

We have a AWS community AMI for RHEL provided by Red Hat then why one must go to AWS MarketPlace to have a RHEL subscription? What is the difference between the two; RHEL Community AMI (provided...

MemoryError in TensorFlow; and "successful NUMA node read from SysFS had negative value (-1)" with xen

I am using tensor flow version : 0.12.1 Cuda tool set version is 8. lrwxrwxrwx 1 root root 19 May 28 17:27 cuda -> /usr/local/cuda-8.0 As documented here I have downloaded and installed...

Nginx error: client intended to send too large body

Periodically I get an error: This site can't be reached. The webpage at https://example.com/document might be temporarily down or it my have moved permanently to are new web address. My site is...

How to push data from local SQL Server to Tableau Server on AWS

We are developing Tableau dashboards and deploying the workbooks on a EC2 windows instance in AWS. One of the data source is the company SQL server inside firewall. The server is managed by IT and...

Does AWS have Windows 10 AMI available?

Does AWS have Windows 10 AMI available? I can only find Windows Server AMIs At this link I can only see Windows Server AMIs https://aws.amazon.com/windows/resources/amis/

User data bash script to start services in EC2 instance not executing

I'm having difficulty getting certain services running within my EC2 instance. I'm using an Amazon Linux AMI, and would like to start neo4j, the graphical database, as a service when my instance...

How to add Amazon issued SSL Certificate to tomcat?

How can I secure my site from http://my_site to https://my_site I am running Apache Tomcat and I have the AWS Certificate and Elastic Load Balancer having my EC2 instance.

How to debug a failed systemctl service (code=exited, status=217/USER)?

I'm trying to add my first service on rhel7 (which resides in AWS/EC2), but - the service is not configured correctly - as I get: [[email protected] ~]$ systemctl status clouddirectd.service...

How to use job import plugin in jenkins

I don't have access to both servers so cli is not an option only jenkins ui is available. I need to import jobs using job import plugin but i am unable to figure how to configure the plugin so as...

Trying to understand how describe_instances() work

Trying to understand how describe_instances() work Here is a code which gives me instances ids of all the instances I have currently 3 so 3 instance id I get import boto3 from pprint...

How to install node/npm so that 'sudo npm' works on an ec2 instance?

Answer: Follow the steps in this link http://iconof.com/blog/how-to-install-setup-node-js-on-amazon-aws-ec2-complete-guide/ I am running ubuntu on an ec2 instance and need to sudo npm install...

How to pass error code from userdata to code pipeline to indicate the failure

I have a requirement where I will download a jar from s3 with different version to the ec2 instance. I will do this as part of userdata section. It works fine. Suppose if the jar is not available...

Can't detach network interfaces

I did the AWS misfits tutorial and I thought the cleanup would be as simple as deleting the Cloud Formation stack. However, items failed to delete so I am trying to clean them up manually to...

IOPS vs Throughput. Which one to use while choosing AWS EBS

While choosing a proper EBS volume type I need to decide if IOPS or throughput is a better performance measure. The problem is that I don't fully understand in which practical scenario each of...

How can I expose both TCP and UDP on a single port in a AWS EC2 Task?

I am running into an issue with port mappings on my AWS Fargate AWS::ECS::TaskDefinition. The app inside the container listens for both TCP and UDP traffic on a single specific port. The AWS...

EC2 instance connect : There was a problem setting up the instance connection

I launched a new Amazon Linux 2 instance. I tried connecting to the instance via the EC2 instance connect option under the Connect -> EC2 Instance Connect (browser-based SSH connection) option in...

Visual Studio Code Remote Development crashing AWS instance

I came across Visual Studio Remote Development crashing a AWS instance and i'm hoping to solve this by increasing the instance memory. I have not tested it out yet. Connection is ok and I can do...

Connection refused with AWS public IP

I'm using a Ubuntu 18.04 instance, I started the server using Nginx command: sudo service nginx stop && sudo service nginx start I'm getting the "Connection refused error" in the browser when I...

AWS System Manager start session: An error occurred (TargetNotConnected) when calling the StartSession operation: <instance_id> is not connected

Problem: When I try to locally connect to a running EC2 instance using the AWS System Session Manager CLI command: aws ssm start-session --target i-123456 I get the error: An error occurred...

Unable to connect MongoDB Compass to AWS DocumentDB using SSH tunnel

I am new to mongoDB trying to setup tools for my new project. Most of my infrastructure run on AWS so i prefer to use AWS documentDB. I manage to connect to documentDB from EC2 both via mongo...

Accessing rexray/ebs volume from ECS host

I've managed to follow https://aws.amazon.com/blogs/compute/amazon-ecs-and-docker-volume-drivers-amazon-ebs/ and run my Container-based service on ECS using rex-ray Docker volume plugin. I can...

Kibana startup fails with License information and later with Unable to retrieve version information

I'm tried to follow this guideline for installing ELK on Centos 8 (on top of one AWS cluster). After installing elastic and kibana, the kibana startup failed with: *"message":"License information...

ModuleNotFoundError: No module named 'grass' | GRASS GIS | PYTHON3 | CENTOS 7

I want to run grass78 on an amazon-linux machine, with centOS, no GUI. By great difficulty, I was able to install GRASS78 (the latest stable release from https://grass.osgeo.org/download/). When I...

lower_case_table_names error for Docker + MySQL 8.0.26 based project on Ubuntu 20.04 Server(AWS EC2)

I am trying to configure my Django + MySQL(8.0.26) project on Ubuntu 20.04 based AWS EC2 server with Docker Compose. However, MySQL database container is not working because of...