Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new eks-nat cloudformation stack and add GH runner #282

Merged
merged 5 commits into from
Aug 23, 2024

Conversation

ronardcaktus
Copy link
Member

@ronardcaktus ronardcaktus commented Aug 1, 2024

Prepares the changes necessary for restricting public access to resources in the Philly HIP AWS account.

Run inv deploy.playbook deploy-cf-stack.yml to deploy the stack.

Different attempts to connect to the cluster from non-Public access source allowlist

time kubectl get ns   
Unable to connect to the server: dial tcp 3.213.170.182:443: i/o timeout
kubectl get ns  0.23s user 0.13s system 1% cpu 30.583 total
 > curl -k https://C3219F3CB49E4B1C82CFE8C82A846345.sk1.us-east-1.eks.amazonaws.com
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "forbidden: User \"system:anonymous\" cannot get path \"/\"",
  "reason": "Forbidden",
  "details": {},
  "code": 403
}%                                                        

TODO: Add the Caktus IP to make future connections easier.

Closes:

@copelco
Copy link
Member

copelco commented Aug 1, 2024

Copy link
Member

@copelco copelco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me!

I have a vague memory that we can't easily apply this to an existing EKS stack without destroying some resources, but hopefully I'm miss-remembering! How does it look on the ChangeSet approval screen?

@ronardcaktus
Copy link
Member Author

Looks reasonable to me!

I have a vague memory that we can't easily apply this to an existing EKS stack without destroying some resources, but hopefully I'm miss-remembering! How does it look on the ChangeSet approval screen?

It doesn't look too bad. We are contacting the client and asking for a 3 hour time slot just in case things don't go as planned.

@ronardcaktus ronardcaktus changed the title Create new eks-nat cloudformation stack Create new eks-nat cloudformation stack and add GH runner Aug 23, 2024
@ronardcaktus ronardcaktus merged commit 09d888b into develop Aug 23, 2024
1 check passed
@ronardcaktus ronardcaktus deleted the CU-8688u1u64-public-ips-removal branch August 23, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants