851 questions
0
votes
1
answer
47
views
npm drizzle-kit and AWS RDS: Error: getaddrinfo EAI_AGAIN
I don't seem to be able to push my configuration to RDS
// package.json
"drizzle-kit": "^0.31.5",
// drizzle.config.ts
import { defineConfig, Config } from 'drizzle-kit';
const ...
2
votes
1
answer
79
views
Invoke aws lambda from a ec2 [closed]
I'm trying to invoke a lambda from an ec2. They are both in the same self-referencing security group, the same vpc, even the same subnet.
When I invoke the lambda from my rails server on the ec2 I get ...
-1
votes
1
answer
72
views
AWS Public RDS within VPC Not Reachable
I've been trying to use RDS within a VPC, with the public IP enabled, and for some reason I can't figure out why one VPC (prod) has issues, whereas the other (non-prod) works just fine. I set up non-...
1
vote
1
answer
91
views
adding a security group to another rds instance does not appear to work
I have two RDS instances, in the same VPC, same availability zone, both have public accessibility enabled.
Aurora Postgresql with a security group of group-1
Rds Postgresql with a security group of ...
-4
votes
1
answer
553
views
AWS enforcement of tags on all accounts - using SCP
I'm trying to enforce mandatory tagging for all resources in our AWS accounts to improve cost management and organization. While AWS supports tagging, some resources (especially those created via the ...
0
votes
1
answer
216
views
Cannot access EKS cluster via internet with ELB
I have created an EKS cluster via terraform all pods are running as expecting. However, I am having networking challenges. My api-service pod should return hello world when accessing it on port 8000 ...
1
vote
1
answer
46
views
Access to the private network from the cloud9
I have the server which has 172.31.50.95 and not have public IP in the private subnet.
Now I try to access this from the cloud9 which is in public subnet.
$wget 172.31.50.95
--2024-09-09 15:02:23-- ...
0
votes
1
answer
123
views
How do I allow all traffic from one security group to another?
How are you? I'm having an issue. Take a look at the code below. I created two security groups:
resource "aws_security_group" "ec2_sg" {
name = "${var.project_name}-${...
0
votes
1
answer
112
views
Circular Dependency error with ECS accessing RDS
I've created ECS fargate connected to RDS postgresql. Load balancer is public facing, and RDS is ISOLATED. I want RDS database accessed through ECS container/load balancer and EC2. Once the RDS ...
0
votes
1
answer
1k
views
Use secret manager with security group AWS
I'm deploying an API with AI model on AWS. To do so I created an ECS Fargate with a security group. My API needs to store secrets so I'm also using the Secrets Manager.
The problem is that I want to ...
0
votes
1
answer
731
views
AWS CloudFormation returning "null" error message
I am creating a Security Group resource via CloudFormation in a yaml template. I am able to create a change set for this, but when I execute the change, the Security Group creation step fails (...
0
votes
1
answer
506
views
Self referenced Security group inbound rule in AWS RDS terraform?
I'm catching up with the security group with Terraform.
When checking official DOCS, there was self referenced Security group inbound rule.
like this,
ingress_with_self = [
{
from_port = ...
1
vote
1
answer
139
views
EC2 instances cannot connect to Stripe when behind an ALB
I was deploying my NodeJS backend that integrates Stripe payment. When the user on the frontend clicks on the Checkout button, the backend API simply calls Stripe SDK to create a checkout session and ...
0
votes
0
answers
99
views
AWS ECS EC2 without loadbalancer?
I am deploying Nginx as a service/task on AWS ECS with EC2, and I've run into an issue where I cannot connect to the Nginx welcome page via its public IP address. I can access that by using ...
0
votes
1
answer
42
views
how to refer a particular value from terraform output which is using merge function?
output "security_group_ids" {
value = merge(
{ for k, v in aws_security_group.s1 : k=> v.id },
{ for i in var.security_group_id : i=> aws_security_group.s2.id },
)
}
I ...