Not able to create NAT gateways in AWS playground under vpc

Not able to create NAT gateways in AWS playground under vpc section.
Error unauthorized

Hi @salonichauhan1101

Please see AWS section on Cloud Playground Support

Note that while it does say VPC, this does not imply everything under the VPC section of the AWS UI. For instance, we will likely never support Transit Gateway, since that is a very expensive resource.

There is an email address on the support page to which you can direct specific queries.

Thanks.

If you need NAT functionality, you could always deploy a NAT instance on a t2.micro

Hello @Alistair_KodeKloud , I tried creating a NAT Instance from one of the supported AMI → ami-0c1708a7af207e000 . However I get the following error : "Instance launch failed
You are not authorized to perform this operation. Encoded authorization failure message " . Can you please let me know which AMI is supported by policy for deploying a NAT instance.

Hi @Chetan-Singh-Bisht

What region are you trying to deploy this in?

Trying this in us-east-1 Region

@Alistair_KodeKloud
Were you able to check

Where did you get that AMI ID? I do not see it in us-east-1

You should be able to configure one easily enough by launching an amazon linux 2 instance and following the configuration guide

Creating NAT Instance is not a feasible option because

  • in real world scenarios NAT Gateway is used
  • setting up NAT instance would need few parameter tweaks like Source/Destination Flag and route entry pointing to Instance, managing security group

Also not able to launch instance with nat ami.

Most of the time would be wasted on things which aren’t used in real scenarios, so requesting you guys provide us permissions to create ONE NAT-GW atleast, using event driven approach delete off NAT-GW’s if more than one are attempted to provision.

Thanks!

@J-Kode Agreed . The surprising thing is such functionalities were enabled before . I remember we could provision stuff like NAT gateways , EKS managed node groups etc via KodeKloud playgrounds . But now they have restricted many such features . The reason for renewing my subscription was to replicate the real world scenarios ( using Terraform to automate the Infra) . But with such restrictions in place , it really frustrates you . As @J-Kode mentioned we could have better restriction in place like one NAT gateway in certain region or only one EKS managed node group with max 2 free tier instances type . Disappointed with current restrictions in place .

@Alistair_KodeKloud Can you please address this issue.

@Alistair_KodeKloud, I’m also having trouble with this while building NAT gateways. When I establish the VPCs for testing things in a three-tier architecture, this is a very fundamental necessity. Furthermore, this problem is preventing future development. Could you solve this problem?

As far as I’m aware, NAT gateways are a resource that’s forbidden by SCP.
Perhaps @Tej-Singh-Rana can confirm that.

If you want unlimited access to all resources you should consider creating your own AWS account. It can be almost free if you are careful with what you create and remember to destroy expensive infrastructure promptly.