hundreds-gpu-71155
03/12/2024, 4:32 PMhundreds-gpu-71155
03/12/2024, 4:33 PMhundreds-gpu-71155
03/12/2024, 4:33 PMwith ApplicationGateway("appgate") as ap:
listener = ap.HttpListener("listen-80", ...)
pool = ap.BackendAddressPool("pool", ...)
ap.RequestRoutingRule('rule-80', http_listener=listener, backend_address_pool=pool)
hundreds-gpu-71155
03/12/2024, 4:37 PMhundreds-gpu-71155
03/12/2024, 4:38 PMclever-sunset-76585
03/12/2024, 9:16 PMpulumi-awsx
. It's probably the largest example out there of such a pattern. I have a similar example as well, to what you are suggesting. It was for running Folding@Home on Spot VMs on AWS and Azure: https://github.com/cloudy-sky-software/FoldingInTheCloud
However, the problem you'd find with such a pattern depending on how many people/teams that use such heavily abstracted components is that changes are harder to make since you probably don't want resource replacements to happen when you make changes. So my suggestion would be to not abstract away too much right from the start. This is one area where I think the AWS CDK team had some nice ideas with their L1, L2 etc. constructs.hundreds-gpu-71155
03/12/2024, 9:19 PMhundreds-gpu-71155
03/12/2024, 9:19 PMhundreds-gpu-71155
03/12/2024, 9:30 PM