Questions tagged [bastion-host]

57 questions
6
votes
3 answers

Using Session Manager to connect RDS without having EC2 instance

When I go through the documents, using session manager we can connect instance in private subnet without having bastion host itself [direct port forwarding from local to private ec2]. But in RDS case, even though we are making connection using…
5
votes
1 answer

how to connect to mongodb server via ssh tunnel with Proxy Jump (Bastion Host)

I have an ssh config file like this. I have a proxy jump to host1 from test2. Host host1 Hostname xxxxxx.us-east-1.elb.amazonaws.com Port 2222 User xxxx IdentityFile ~/.ssh/cert StrictHostKeyChecking no UserKnownHostsFile /dev/null …
3
votes
2 answers

How to connect to EC2 instance which is in Private subnet from my Windows OS client machine through Bastion host.?

I have a scenario as following, I have one EC2 instance in private subnet and one EC2 instance in public subnet. How can I connect to private subnet EC2 instance through public subnet EC2 instance which is also called Bastion host (Jump box) from my…
2
votes
1 answer

Is there any Azure service similar to AWS Systems Manager Session Manager?

AWS SSM Agent can be installed on private subnet VMs allowing access to the EC2 instance through AWS EC2 console. Described here: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-systems-manager-vpc-endpoints/ Additionally, with AWS VPC…
2
votes
2 answers

Connect dbt to Postgres using SSH bastion

We are looking to connect dbt to Postgres using SSH bastion. I followed the comments left under this issue, but I get a timeout error. A few questions: How should the profiles.yml be configure to connect via SSH? I added ssh-host but that did not…
LeoC
  • 43
  • 3
2
votes
1 answer

Using Terraform to create an AWS EC2 bastion

I am trying to spin-up an AWS bastion host on AWS EC2. I am using the Terraform module provided by Guimove. I am getting stuck on the bastion_host_key_pair field. I need to provide a keypair that can be used to launch the EC2 template, but the…
raydenl
  • 397
  • 1
  • 4
  • 16
2
votes
1 answer

Unable to setup ssh config remote forwarding from Local --> Bastion --> EC2

Overview I'm trying to configure ~/.ssh/config to connect my local VSCode to remote (EC2). I've done a lot of testing and can't understand why situation one is working and others are failing. I'm able to get RemoteCommand to work successfully for…
1
vote
0 answers

How to connect to Redis server using DNS?

We have a requirement to have a globalized cache machine i.e. Redis to be running on one server and the docker services running on other servers need to be able to access it. So we have created a docker container in Ec2 instance A and all the other…
Deepakvg
  • 71
  • 2
  • 9
1
vote
1 answer

Can I acces RDS (MySQL) in private subnet with local Spring boot Application?

I have 3 databases (one RDS instance) in private subnet. I wanna connect my local spring boot application with RDS DB (in private subnet). I have a bastion server for checking DB. so, I wanna connect this db with my local spring boot application…
1
vote
1 answer

Kubectl: Fatal error runtime out of memory

I logged into the Linux bastion host where kubectl is installed for connecting to the Kubernetes cluster. On the Bastion host when I run any kubectl command like the one below: kubectl get pods I get the error below: fatal error: runtime: out of…
Promise Preston
  • 24,334
  • 12
  • 145
  • 143
1
vote
1 answer

ansible - Connection timed out during banner exchange when Using jump host

The ansible command : ansible all -m ping -i host.yml Here is my host.yml --- all: hosts: tencent: ansible_user: "ubuntu" ansible_host: "106.55.XXX.XXX" ansible_ssh_private_key_file: "key.pem" ansible_ssh_common_args:…
Cherie
  • 31
  • 1
  • 5
1
vote
0 answers

How to use password authentication for logging in to a private host from a jumpbox?

In the current setup, I have a bastion/ jump server with a public IP with password authentication and MFA enabled with google authenticator. I have a private host with inbound rules allowing ssh only from the security group where my bastion host is…
vgnshiyer
  • 37
  • 6
1
vote
0 answers

In Spring - How to connect to AWS RDS via a EC2 bastion host?

I have a AWS RDS MySQL instance running, on a private subnet. I have another EC2 instance running on a public subnet, which functions as a bastion host for the MySQL instance. They are both in the same VPC. I can connect to said instance via the…
VivekGhosh
  • 85
  • 1
  • 8
1
vote
0 answers

Referencing Event Hub Geo-Recovery DR Alias as a Namespace

We have a DeployIfNotExists policy that creates diagnostic settings on resources in the environments. The policy contains the ARM Template for the diagnostic setting that triggers upon evaluation that the setting does not exist on the resource.…
1
vote
1 answer

Unable to connect through virtual machine via Azure Bastion

I am facing some issue in connecting to Virtual Machine through Azure Bastion. I am getting the below error Bastion is in failed state. Please delete and recreate it. Could you please let me know why I am getting the above error message and can…
amt1906
  • 75
  • 3
  • 10
1
2 3 4