Questions tagged [aws-ec2-instance-connect]

Amazon EC2 Instance Connect provides a secure way to connect to instances using Secure Shell (SSH). You use AWS Identity and Access Management (IAM) policies and principals to control SSH access to instances, removing the need to share and manage SSH keys. All connection requests using EC2 Instance Connect are logged to AWS CloudTrail to enable auditing of connection requests.

See: Connecting to Your Linux Instance Using EC2 Instance Connect

61 questions
0
votes
0 answers

Resolving pg_wal directory full issue during the migration of large Oracle data to PostgreSQL using ETL tool

I'm encountering an issue while migrating a large amount of Oracle data to PostgreSQL using an ETL tool. The problem is that the pg_wal directory in PostgreSQL becomes full. I'm looking for solutions to resolve this issue. How can I address this…
seunofk
  • 11
  • 2
0
votes
1 answer

AWS XRay template is properly creating the EC2 instance but not able to connect using instance connect or do ssh to it

I have the following cloudformation template it is creating the ec2 instance properly but not able to connect to the ec2 instance with either instance connect or ssh from putty. I have seen other answers suggesting to attach internet gateway to the…
0
votes
1 answer

Mounting a folder in Dask distributed AWS ECS/EC2 cluster

I am using dask distributed package to create a EC2/ECS cluster, I want to read the ML models within the workers, something like def read_model(model_path): model = pickle.load(model_path) return model future = client.submit(read_model,…
0
votes
0 answers

React app can't find fastapi backend with specified ip and port after hosted in aws ec2 instance

I was trying to run a simple reactjs app with fastapi backend by hosting it on the aws ec2 instance. The react js an fastapi servers are running fine at 3000 and 8000 ports respectively but they are not communicating with each other to fetch any…
0
votes
0 answers

Not able to connect to public postgres from EC2

I wanted to connect to a public postgres from my EC2 machine but not able to establish a connection. I have added a outbound rule for postgress port 543 but no luck so far. Below is the details of the postgress i am trying to connect. conn =…
0
votes
0 answers

K8s installation issue [ERROR Mem]: the system RAM (966 MB) is less than the minimum 1700 MB

Steps: kubeadm init --apiserver-advertise-address= --pod-network-cidr=192.168.0.0/16 after executing above command it throw below issue 1-->[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2 2-->[ERROR Mem]: the system RAM…
0
votes
0 answers

AWS EC2 using Wpguppy plugin for real time chat

I testing AWS EC2. I am beginner. I want to install wpguppy plugin for real time chat. But wpguppy plugin need root access. Hoo, i don't know how. I need ubuntu,apache,mysql,php,phpmyadmin to install it. Now i testing free at AWS EC2 free tier…
0
votes
0 answers

Self host runner in github action

The hosts on github action are in US only and I need to run my tests from EU region. I created AWS ec2 with eu region and connect my github workflow to the instance. I installed python3.10 on my ec2 : enter image description here but when I try to…
0
votes
0 answers

Why aws showing page not found page while accessing some route?

My node js application is working in localhost. But, while using after hosting in aws ec2, some pages showing 404 page because of 500 error. // this is my route router.get('/view-order',adminVerified,adminController.viewOrder); below is my…
0
votes
0 answers

Only one type of ec2 instance is getting launched in Elastic Beanstalk

I am using t3.micro and t3a.micro instance types for my Beanstalk with Network Out as the auto scaling trigger. Only t3.micro type instance is created. Why is no instance of type t3a.micro is getting created. The Max size of instance is set to 2. So…
0
votes
0 answers

How to connect Jenkins from on-premises environment to AWS Ec2 instance

I Am trying to connect My On-premises Jenkins to AWS Ec2 via SSH Connection. But I am Unable to connect. It is getting error while checking Connection As shown below Jenkins Can anyone tell How to connect my On-premises Jenkins to AWS Ec2 instance?
0
votes
0 answers

Can I reuse CloudWatch Log Stream for Batch Array Jobs

Hi I created a Batch with array jobs. I have created a CloudWatch Log Group and Log Stream under it and I want the same CloudWatch LogStream to be shared by all the Batch Array jobs. So that I should be able to see the same logStream link for the…
0
votes
1 answer

The error was: Invalid type for parameter TagSpecifications, value: None, type: , valid types: ,

Below is my .yml file when i execute the playbook getting error on Tagsepcifications not able to figure out what it exactly referring to here in my yml code - name: provisioning Ec2 instance hosts: localhost connection: local tasks: - name:…
0
votes
1 answer

EC2 Instance Connect - IAM policy: MalformedPolicyDocument: Syntax errors in policy

I'm running into the 'MalformedPolicyDocument' error while creating my IAM policy. This is for configuring ec2 instance connect. { "Version": "2022-6-26", "Statement": [ { "Effect": "Allow", "Action":…
0
votes
0 answers

By creating an instance on EC2, will I be allocated a VM on a server in an Amazon data centre?

Im gathering some data on how AWS actually work.I got really confused on the relation between EC2 instance and VM on server at the data center.How are they actually connected?