{"action":"closed","issue":{"url":"https://api.github.com/repos/kalrish/aws-csgo/issues/3","repository_url":"https://api.github.com/repos/kalrish/aws-csgo","labels_url":"https://api.github.com/repos/kalrish/aws-csgo/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/kalrish/aws-csgo/issues/3/comments","events_url":"https://api.github.com/repos/kalrish/aws-csgo/issues/3/events","html_url":"https://github.com/kalrish/aws-csgo/issues/3","id":340777130,"node_id":"MDU6SXNzdWUzNDA3NzcxMzA=","number":3,"title":"Get rid of NAT","user":{"login":"kalrish","id":4789353,"node_id":"MDQ6VXNlcjQ3ODkzNTM=","avatar_url":"https://avatars1.githubusercontent.com/u/4789353?v=4","gravatar_id":"","url":"https://api.github.com/users/kalrish","html_url":"https://github.com/kalrish","followers_url":"https://api.github.com/users/kalrish/followers","following_url":"https://api.github.com/users/kalrish/following{/other_user}","gists_url":"https://api.github.com/users/kalrish/gists{/gist_id}","starred_url":"https://api.github.com/users/kalrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalrish/subscriptions","organizations_url":"https://api.github.com/users/kalrish/orgs","repos_url":"https://api.github.com/users/kalrish/repos","events_url":"https://api.github.com/users/kalrish/events{/privacy}","received_events_url":"https://api.github.com/users/kalrish/received_events","type":"User","site_admin":false},"labels":[{"id":987391173,"node_id":"MDU6TGFiZWw5ODczOTExNzM=","url":"https://api.github.com/repos/kalrish/aws-csgo/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T19:58:07Z","updated_at":"2018-08-11T10:06:02Z","closed_at":"2018-08-11T10:06:02Z","author_association":"OWNER","body":"NAT is required to allow outbound traffic over IPv4 while disabling incoming connections, i.e. to access the Internet from private subnets. Currently, it is used and needed only by the CodeBuild project (the AMI build instance which it spawns resides in the public subnet), so it would be nice to get rid of it.\r\n\r\nThe way to go is IPv6. Since the address space is so large, there's no need for NAT. Instead, our private subnet would sit behind an egress-only Internet gateway, which also blocks unsolicited connections and has the added benefit that it doesn't bottleneck the subnet's connection to the Internet.\r\n\r\nIn my tests, CodeBuild is able to pull its environment from the ECR repository over IPv6. GitHub doesn't support IPv6, but it's possible to package the sources in a ZIP archive and upload them to an S3 bucket and have CodeBuild download them through a gateway endpoint. However, neither SSM nor EC2 seem to be reachable over IPv6, which effectively blocks this route. Although it would be possible to overcome this with an interface endpoint, it is too expensive to make sense for this use case.\r\n\r\nAdditionally, if it were possible to connect to the distribution's package repositories, as well as to those of Steam, over IPv6, we could move the AMI build instance itself to the private subnet, thereby gaining improved security while leaving Internet connection bandwidth intact."}}
{"actor":{"display_login":"kalrish"}}