WorkSpaces build automation with Service Catalog

0

Can I add a parameter to specify number of workspaces to launch with cloud formation? I am following this blog, which launches one workspace at a time. https://aws.amazon.com/blogs/mt/how-to-enable-self-service-amazon-workspaces-by-using-aws-service-catalog-connector-for-servicenow/

I would like to modify/add a parameter to specify the count within allowable limits.

How can I do this?

Thank you!

1 Antwort
0
Akzeptierte Antwort

At the end of the day, Service Catalog is a framework around standard CloudFormation templates.

Two options:

Option 1

Create a custom CloudFormation resource (aka Lambda function) as part of the template. The Lambda will take a parameter from the template and make multiple API requests to Workspaces.

Option 2

Each Service Catalog portfolio product can be launched more than once. Create a Service Catalog template for one Workspace, but launch it multiple times as needed. The web UI is fine for a small number of launches or infrequent launches of one or a few instances. If you need to launch many instances, you can use service catalog APIs to automate deployment.

beantwortet vor 4 Jahren
profile picture
EXPERTE
überprüft vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen