I noticed that I was paying $130 per month for a private rack, because of the NAT gateways. I didn’t really need this extra isolation, so I wanted to run: convox rack params set Private=No.
The CloudFormation update failed with this error: Export production:SubnetPrivate0 cannot be deleted as it is in use by production-
Fortunately the rollback was completed without any downtime.
Is there a way to migrate back to Private=No, or will I need to start from scratch with a new rack?
For what it’s worth we encountered the same issue, but the other way around (going from non-private to private). We ended up having to create a new rack from scratch, but would be interesting to know if there is any other solution?
I just remembered that I’ve run into some issues when using Spot instances, so I wonder if this is also related. I might try switching to only OnDemand instances before I try setting Private=No, and maybe that will work.
After clicking “Continue Update Rollback”, the rollback failed again:
But I clicked “Continue Update Rollback” one more time after that, and managed to get to “UPDATE_ROLLBACK_COMPLETE”. Thankfully there wasn’t any downtime during this process. (Also I’m not sure if there are any resources that need to be cleaned up.)
I think I can resolve the “SpotInstances” issue by removing the SpotInstanceBid value, so I’m using OnDemand instances. Not sure how to fix the AWS::EFS::MountTarget errors, or ApiMonitorService.
I was looking at setting a ServiceRole to see how the timeouts would change, and decided to update my rack Parameter for Private=Yes via the CF web interface and… it’s successfully updated my rack this time. Perhaps adding Convoxa service role to the rack CF stack with the correct permissions will help resolve this for the CLI but I didn’t look further into it since I have a workaround for now… Perhaps this will help a future person Googling!