tmaier
September 6, 2024, 3:57pm
1
I am currently investigating Custom private networks for my use case. I want to deploy each service of my application into a dedicated 6PN and use flycast to connect that application to the consuming application/network
For this, I plan to use deterministic names for the vnet. Aligned to the name of the application.
However, I also wonder how to find out the name of a 6PN after creating the application. And also how to find out the name of the default 6PN.
Hi… It looks like a fellow user found a way for the first part recently, although it’s not very pretty:
The List Apps API gets the right info though, there seems to be some discrepancy between flyctl and the Machines API
$ curl -i -X GET -H "Authorization: Bearer ${FLY_API_TOKEN}" \
-H "Content-Type: application/json" \
"${FLY_API_HOSTNAME}/v1/apps?org_slug=personal"
{"total_apps":1,"apps":[
{"id":"p7vx1j0008wqk3z5",
"name":"app-foo",
"machine_count":1,
"network":"app-foo-nw"}
]}
[Formatting tweaked.]
(This was for something originally created via fly apps create app-foo --network app-foo-nw
.)
Hope this helps a little!
system
Closed
September 13, 2024, 4:27pm
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.