Questions tagged [aws-vpc]

AWS-VPC is the Virtual Private Cloud from the AWS. It enables us to create resources in the virtual network.

A virtual private cloud (VPC) is a virtual network dedicated to your AWS account. It is logically isolated from other virtual networks in the AWS Cloud. You can launch your AWS resources, such as Amazon EC2 instances, into your VPC. You can specify an IP address range for the VPC, add subnets, associate security groups, and configure route tables.

A subnet is a range of IP addresses in your VPC. You can launch AWS resources into a specified subnet. Use a public subnet for resources that must be connected to the internet, and a private subnet for resources that won't be connected to the internet.

For more information check below link :

https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html

127 questions
1
vote
1 answer

AWS Virtual Private Cloud Peer Connection

I am currently getting my hands dirty with AWS VPC and have stumbled upon a scenario in peering. I had created two VPCs - VPC1, VPC2. VPC1 has a public subnet and an EC2 Linux instance. VPC2 has a private subnet and an EC2 Linux instance. I have…
Ashwin Sridhar
  • 125
  • 1
  • 14
1
vote
1 answer

Unable to access internet from Private subnet | Error: Cannot find a valid baseurl

I am trying to use a NAT Instance rather than a NAT Gateway; I am also not using any Community AMIs for the NAT Instance configuration. I am trying to do a yum update from my private but I am thrown the following error: Cannot find a valid baseurl…
lft93ryt
  • 948
  • 1
  • 16
  • 32
1
vote
0 answers

AWS Service Control Policie to prevend opening Internet Connections in a VPN Environment

we have multiple aws sub accounts which are under a billing account (organization). since those accounts are connected via vpn to our private cloud i want prevent that developers can open ports to the internet by default. is there a good default…
bin2hex
  • 345
  • 3
  • 15
1
vote
1 answer

AWS ECS is not linking my containers

i'm migrating part of the infrastructure of the company i work for to Amazon ECS and i'm stuck on trying to make my server container connect to the database container. Heres how i set it up on my task: { "requiresAttributes": [ { …
1
vote
1 answer

Limiting IPs with ACL rules in AWS

There are two IP addresses (172.31.42.243 and 172.31.19.188) that are hitting my site in AWS (Beanstalk hosted) repeatedly with garbage requests. I have tried to block them using ACL deny rules. If I add only one I'm still able to hit my site. If I…
mcdrummerman
  • 2,360
  • 1
  • 15
  • 9
1
vote
1 answer

AWS Lambda can't reach resources created from MobileHub

I am having an issue accessing resources created in MobileHub from Lambda and that does not make sense for me at all.. I have two questions (maybe it is the same question..): Why lambda can't access all resources created by MobileHub when it has…
Dambre
  • 195
  • 2
  • 15
0
votes
1 answer

How do I allow AWS lambda resources in a private subnet VPC to communicate with the internet without using a NAT?

In my case i have an AWS aurora serverless database. The database is located in a private subnet to isolate the instance from public. If your lambda function needs access to the database you also have to attach the lambda to the private subnet and…
Sma Ma
  • 3,343
  • 2
  • 31
  • 39
0
votes
1 answer

How VPC sharing works

I do not understand VPC sharing concept. So I have my root account and under this account I've created two accounts: - myVPCShare1 - myVPCShare2 Both account have full administrator rights. VPC sharing documentation says that it allows to share…
Michal
  • 109
  • 1
  • 9
0
votes
1 answer

Cannot connect to my AWS RDS instance from my local computer

I set a new MariaDB RDS instance in AWS and added Inboun and Outbound rules to Security Groups but when I try to connect to the RDS Endpoint via mysql console I am always getting this error: ERROR 2003 (HY000): Can't connect to MySQL server on…
tlaesus
  • 197
  • 3
  • 13
0
votes
2 answers

NAT Instance maintenance

I have a Django app deployed on AWS Lambda through Zappa and my app needs to communicate with the public internet, so I need to use a NAT Instance. I am using a NAT instance because it's about 10x cheaper than a NAT Gateway using the free tier. The…
Rony Azrak
  • 527
  • 2
  • 6
  • 16
0
votes
1 answer

Is static private IP excluded from AWS VPC DHCP pool?

I have legacy app that has to have 3 static private ip addresses. I use 192.168.10.0/24 for private subnet and 192.168.10.100 , 192.168.10.101 , 192.168.10.102 as IPs that are manually assigned to EC2 with that app. My question is: are those IPs…
kagarlickij
  • 7,327
  • 10
  • 36
  • 71
0
votes
1 answer

AWS Security group requirements for user data

I thought this topic would be easy to find information on, but I was mistaking. I am building a terraform with PaloAlto instances which require user data and curl on https to verify user data was applied. When I specify security group on the public…
0
votes
2 answers

AWS public subnet VPC communication

I have two instances in public subnet of 2 different VPCs. To allow communication between them, I have to add public IP of one instance to the other. If one of the server is changed, I need to add the IP again to other servers security group. If I…
0
votes
2 answers

awscli list all objects created by ownerid?

I'm trying to stay within the limits of my free tier, however, I notice I am being charged ~$1.50 a day for something, I don't know what. I've terminated all my instances, yet the bill keeps ticking up every day. I've also deleted all my security…
slashdottir
  • 7,835
  • 7
  • 55
  • 71
0
votes
1 answer

Deploy my REST API's on AWS when the API's aren't supposed to be public API

I have an application which is built using Spring MVC and the backend is REST API also built using spring MVC framework. The request from the browser first hits the springMvc app which then calls my REST API for data. I do not have any needs to…
Metalhead
  • 1,429
  • 3
  • 15
  • 34
1 2 3
8 9