supabase-on-aws icon indicating copy to clipboard operation
supabase-on-aws copied to clipboard

Configurable AWS VPC - HOW TO

Open gllona opened this issue 1 year ago • 0 comments

I think this could be useful for the community. Sometimes we need to deploy Supabase on an existing VPC. Perhaps that VPC have things configured like VPC peering, etc. and we don't want to repeat it manually in the new Supabase VCP.

These changes allow cdk deployments with a configurable VPC:

feat: add vpc_id as a context parameter

run cdk deploy if you want to deploy your Supabase within new VPC run cdk deploy --context vpc_id=<some_vpcid> if you want to use existing VPC

To implement that, add to your supabase-on-aws repo the changes from this commit https://github.com/supabase-community/supabase-on-aws/commit/dd862eaa791c78d8c60d9bfa7e69e15b5d6deaae

gllona avatar Jul 25 '24 11:07 gllona