Zappa has an optimized way of automating the VPC with the deployed application. All you need to provide is the vpc_config attribute with subnet and security groups IDs, as mentioned here:
{ ... "vpc_config": { "SubnetIds": [ "subnet-12345678" ], "SecurityGroupIds": [ "sg-12345678" ] }, ...}
I mentioned the default VPC in the previous section. You can get the default subnet IDs from the VPC dashboard page, as shown in the following screenshot:
You can get the security group IDs by selecting Security Groups from the left panel, as shown in the following screenshot:
Now, we are going to create another deployment ...