Newest 'vpc' Questions - Stack Overflow

Questions tagged [vpc]

A Virtual Private Cloud (VPC) is an on demand configurable pool of shared computing resources allocated within a public cloud environment, providing certain level of isolation between the different organizations (denoted as users hereafter) using the resources. Please note that this tag is exclusively for programming questions.

1
vote
1answer
14 views

How do I create GCloud LXD Bridge Devices without adding more vNICs or breaking the VM?

I am trying to replicate the trick that Kinsta uses on GCloud to run PHP on Ubuntu VMs to allocate the RAM and handle caching for all the deployed sites instead of running multiple sets of cache ...
-1
votes
0answers
11 views

How to access vpc configured elasticsearch kibana on browser?

I configured VPC and in VPC i configured elasticsearch service. Now i want to push data on elasticsearch through axios from my API. But i'm not able to access even kibana on browser and i configured ...
1
vote
3answers
39 views

Is there a way to assign a Static IP to a AWS Lambda without VPC?

I am looking to assign a static IP to my Lambda which is being invoked via the API gateway. This is required because, the downstream system that i invoke from this lambda accepts web requests only ...
0
votes
0answers
25 views

AWS my PC can connect to RDS but EC2 can't

I've confused about to connect RDS from EC2. I don't understand why my PC(Mysql Workbench) can connect but EC2 couldn't. I searched, read, tried a lot of articles to handle this problem but I failed. ...
0
votes
0answers
11 views

Python - create VPC with subnets in certain CIDRs

Because of the inter-accounts VPC peering, I am forced to create VPC in certain CIDR blocks - this is the mapping for Ireland region: eu-west-1a: 10.12.68.0/23 eu-west-1b: 10.12.70.0/23 eu-west-1c: ...
0
votes
1answer
19 views

Mailing isn't working in Django AWS Lambda (Zappa) behind a VPC

I have an AWS lambda function (Django zappa) that is running inside a VPC thus I'm not able to send emails because Lambda isn't connected to the internet, I tried NAT Gatway but with no hope. I ...
0
votes
0answers
16 views

API-gateway for routing API's in other network

we would like to use API-gateway for routing API's purpose only as micro-services architecture. These API's are not in AWS and only works in office VPN only. Is our use-case benefits? please suggest ...
0
votes
2answers
29 views

What's the best practice to use created resources in Terraform?

I will start a new Terraform project on AWS. The VPC is already created and i want to know what's the best way to integrate it in my code. Do i have to create it again and Terraform will detect it and ...
0
votes
1answer
40 views

What is the best security practice when setting up Google Query?

I had some experience with the AWS but very new to Google cloud platform, especially Google Big Query. I have read many documentations, but felt a bit confused and overwhelmed by amount of the ...
0
votes
2answers
46 views

AWS execute-api endpoint request timeout / dial tcp i/o timeout

I want to access a public Rest Api gateway from a AWS Lambda within a VPC. I already created an execute-api endpoint and added the 443 port to the security group. I also disabled private DNS Names, ...
-1
votes
0answers
22 views

I keep getting this error: failed to connect to mmmmm.com port 80 timed out when I curl the url of my site

I have a GCE instance that resolves the website via the ip address but times out when the url is used. I used curl mmmmmm.com/text and the outcome is: failed to connect to mmmmmm.com port 80 timed ...
0
votes
1answer
27 views

Is GCloud Serverless VPC connector available outside us-central1?

Has anyone managed to create a serverless VPC connector in google cloud outside region us-central1? I only seem to be able to choose us-central1 (see image attached).
0
votes
0answers
32 views

AWS VPN: Can't ping customer side with EC2 instance

I have an AWS VPN set up, with the tunnel status "UP". However, I am not able to ping anything on my customer's side, and they are not able to ping my EC2 instance. Customer side has internal IPs ...
0
votes
1answer
24 views

Conflict between IPv4 CIDR block for the VPC and recomended CIDR block size

From the AWS VPC docs When you create a VPC, you must specify an IPv4 CIDR block for the VPC. The allowed block size is between a /16 netmask (65,536 IP addresses) and /28 netmask (16 IP ...
0
votes
1answer
40 views

How to set the VPC up so that all the inside EC2 use the same EIP to communicate with exterior?

This is a basic question, please bear with me. I am trying to setup a vpc where all the EC2 instances will be able to communicate to the world via the same IP adress. Same like on a home network, all ...
0
votes
0answers
27 views

“Update Failed: An unknown error occurred” while trying to add VPC network for GCP Postgres

I am trying to connect to my Google Cloud Postgres instance running in Cloud SQL using Private IP, following the tutorials listed here. Since the docs require you to set up a VPC network to connect ...
1
vote
2answers
80 views

Terraform AWS subnet_id list is treated as single value string for ec2 instance

I have code to create VPC, with 2 private subnets, 2xec2 instances in private and bastion in public. ec2 code uses outputs.tf of VPC module subnet_ids. as there are 2 private subnets there are 2 ...
0
votes
1answer
24 views

Database Connection Error from Glue spark

I need to connect RDS Postgre db which is behind a VPC in a private subnet from Glue. I am not able to connect the db using Glue Connection which will be used in spark code in glue.
0
votes
1answer
24 views

Advantages of creating ECS cluster inside a VPC

What are the advantages of creating ECS cluster inside a VPC? I see that in the console page, it asks for whether one wants to create the ECS cluster inside the VPC or not?
0
votes
1answer
29 views

`eb deploy` errors out with “Default subnet not found in us-west-2d”

My application has worked in Elastic Beanstalk for years, and now, out of nowhere, when attempting to deploy I get the following error: Upload Complete. 2019-04-30 22:44:21 INFO Environment ...
0
votes
1answer
70 views

Invoke Private API Gateway Without Host/x-apigw-api-id Headers

I have a private API Gateway stage with an associated VPC endpoint, and I have already followed the instructions here: https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-vpc-...
0
votes
1answer
72 views

Launching AWS EC2 instances in public subnet

What is the security concern in launching AWS EC2 instances in public subnet. I assume when an EC2 instance is launched in public subnet , it will have access to outside world provided security groups ...
0
votes
1answer
69 views

How to setup vpc connector for firebase cloud functions?

Firebase Cloud Functions run on top of GCP, so, do they support using a vpc connector? What I'm trying to achieve is to limit a forward-proxy server to only accept requests from the internal network, ...
0
votes
0answers
51 views

Can't access another AWS ec2 instance (in the same subnet)

I'm setting up an AWS VPC with both private and public subnets. In public subnets, I created 2 instances: one as bastion host and one as a web server. For the web server, I only want to make port 80 ...
3
votes
1answer
35 views

AWS VPC access from Raspberry Pi

We have some services running in AWS VPC. These services only accessible within VPC only. For development purpose, need access to these services from office location. So trying to setup WiFi access ...
0
votes
1answer
45 views

AWS VPC connect to more than one Virtual Private Gateways

I am trying to create VPN tunnel from VPC to office location. I have created Virtual Private Gateways and when i try to attached to VPC it says Error VPC vpc-xxxxxxxx is currently attached to the ...
0
votes
0answers
21 views

How to ping a VM on different network & region from a GCE VM with multiple network interfaces(Qwik Labs)

This is regards to Qwiklabs "Multiple VPC Networks" and last section "Explore the network interface connectivity" In the last part, i have created a VM(vm-appliance) in region us-central1 and zone us-...
-1
votes
1answer
35 views

How to fix VPC security settings

I am fairly new to AWS, so I am sure that I am just missing something, but here is my problem: I have created a VPC with 3 subnets and one security group linked to all of them. The security group ...
0
votes
1answer
63 views

Access cross region s3 endpoint through private subnet

I have an EMR which is spinning up in eu-west-1 private subnet. I have defined a gateway endpoint for S3 in the route table. I have to access this public bucket/location exposed by AWS: s3://us-east-1....
0
votes
1answer
52 views

GCP: Is it possible to copy / transfer Objects from a source BUCKET to a target BUCKET created in a DIFFERENT Organizations?

I have some buckets with several files in one SOURCE Project (name it: PROJECT A, created in a ORGANIZATION A), and I need to copy / transfer those source files to a TARGET Bucket (located in another ...
0
votes
2answers
56 views

Access Redshift cluster deployed in a VPC

I have my Redshift cluster deployed in a VPC inside private subnets . I need to allow an IP address to access the cluster from outside the VPC . To add that IP as a whitelist and access the cluster I ...
-1
votes
1answer
108 views

Cannot delete VPC in aws eks cluster

I created an eks cluster on aws and try to deploy an app with loadbalancer then i tried to delete cluster and vpc but without delete any deployment and service in kubernetes so now i cannot delete vpc....
0
votes
0answers
38 views

Amazon service discovery not working as expected

I have 2 services deployed in ECS in same VPC and same subnet. ServiceB is dependent on ServiceA and tries to connect to it on port 4000. The port is exposed properly in Docker image and ServiceA ...
1
vote
1answer
42 views

Cloudformation SubnetList get CidrBlock

I'm working on a new infrastructure provisioned with CloudFormation. I need to fetch a subnet cidrblock for the security groups. I've tried some method for fetch the subnet Cidr blocks but I'm ...
0
votes
0answers
16 views

How to restrict a page to only be accessed through a VPN

My goal is to make the route /secret only accessible if you are signed on to my VPN. I have a sophos utm vpn running. I have a VPC with ipv4 cidr 172.15.0.0/16. My sophos vpn uses subnets 172.15.2....
0
votes
1answer
61 views

API connection to redshift in a private subnet?

I want to setup a connection between an on premise environment for an API connection with redshift in my VPC. This requires Redshift to have a public ip and endpoint. What is the optimal and ...
0
votes
1answer
74 views

Error: route table and network gateway belong to different networks

I'm trying to connect a route table and an internet gateway in the AWS VPC dashboard. It's serving me this error: route table and network gateway belong to different networks Specifically, I'm ...
0
votes
0answers
39 views

Cloud SQL Private IP not in Subnet of Selected Subnetwork

In GCP, I have created a VPC network vpc1 with manual subnetting and a single 192.168.x.x/24 subnet in that. When I create a new Cloud SQL instance (mysql) with public networking disabled and private ...
1
vote
1answer
82 views

Communication between pods and services in GCP between different clusters linked in VPC network

I have 2 clusters in GCP, one in Europe and the other in USA. I have created a VPC network to peer the subnetworks each others and configured the relative firewall rules. Now i'm able to create calls ...
1
vote
0answers
28 views

Ruby: how to tag existing AWS VPC

I need to tag existing AWS VPC with custom tag for some purpose. I found out how to tag VPC when creating it, but nothing about tagging existing VPC. Objects that I have at disposal in existing code ...
0
votes
0answers
27 views

AWS VPC Peering Connection breaking RDP?

Attempting to create a simple VPC peering connection between two VPC's with non-overallping subnets I've hit an odd situation - I am unable to access any EC2 instances in one of the VPCs via RDP. I ...
1
vote
1answer
49 views

communication between GAE and GKE

I need some help about communication between GAE and GKE. I have : - a golang application deployed on GAE region europe-west2. - a Elasticsearch cluster on GKE region europe-west1-d. The GKE service ...
3
votes
1answer
269 views

Using Cloud Shell to Access a Private Kubernetes Cluster in GCP

The following link https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters talks about the setting up of a private GKE cluster in a separate custom VPC. The Terraform code that creates ...
0
votes
0answers
33 views

AWS Lambda - Communicate with Apple Push Notification services

I recently deployed my backend on AWS Lambda and remote notifications for my iPhone app are not working anymore. From what I understand, it is due to the fact that Lambda functions cannot talk to the ...
0
votes
0answers
20 views

Public IP not coming while creating ec2 instance via ansible

I am provisioning an EC2 instance using ansible and is adding it to a vpc, subnet and security group. Is giving assign_public_id as yes and allocating private ip also to the subnet. But after the vm ...
0
votes
1answer
124 views

How can we get a VPC's default route table ID using Get::Attr in AWS CloudFormation?

I have created a VPC using CloudFormation template, along with the VPC a default route table and NACL are created automatically. Now I want to add some routes to the default route table that is ...
0
votes
0answers
23 views

Logs not streaming to cloud watch even after log agent is set up successfully

I am trying to send the logs created by my application from EC2 instance in private subnet without public ip by configuring the log agent and from the system logs I can see its been successfully ...
1
vote
1answer
92 views

Kubernetes multi-clusters pod peering on Azure

How to configure routing between Pods on multiple Azure Kubernetes clusters? Something similar to ip-alias/vpc-native on Google Cloud
0
votes
2answers
23 views

Cant Connect to AWS RDS using My Ip, but can using Anywhere

I am using AWS Aurora MySQL. I want to be able to connect to it locally using MySQL workbench. The database cluster is set to be Public, and is within a VPN that has a public internet gateway. I ...
2
votes
1answer
347 views

Access Api Gateway from Lambda under VPC

I need to fetch some data from ApiGateway endpoint and then based on response store this data in database. I created simple Lambda function that just fetch data from ApiGateway endpoint and print it ...