

- #Aws cli workspaces how to
- #Aws cli workspaces install
- #Aws cli workspaces software
- #Aws cli workspaces code
The AWS Service Catalog connector for ServiceNow contains the following Workflows that you can use as a starting point. In the ServiceNow portal, you should now have this “reboot” option associated with your product as shown in the following example.Īs a final step, you will build ServiceNow Workflows to allow you to add approvals, notifications, open change records, and other organizational-based requirements before an order is approved. Instuctions can be found at: Once completed, you should have the service actions associated with your Amazon WorkSpaces product similar to the following example. Next, add the automation document to a new AWS Service Catalog self-service action. Test this action in Systems Manager to ensure that it’s working as expected. Run the following command:Ĭ:\ssm>aws ssm create-document –content file://c:\ssm\wpreboot.json –name wpreboot –document-type Automation –target /AWS::WorkSpaces::Workspace In this example, the file is named wpreboot.json to create an automation document called wpreboot.

"description": "(Optional) The ARN of the role that allows Automation to perform the actions on your behalf.",Īfter you create this file, execute the AWS CLI command to build the automation document and link it to Amazon WorkSpaces.Ĭomplete this task in the AWS CLI to enable the AWS::WorkSpaces::Workspace target.
#Aws cli workspaces code
Here’s sample code for an API-driven Amazon WorkSpaces reboot ", In this example, you will create an AWS Service Catalog service action to reboot a workspace instance.įirst, create a JSON file for the Service-Action that you wish to create.
#Aws cli workspaces software
Next, you will add AWS Service Catalog Self Service Actions, enabling you to run an AWS API call or command on the Workspace instance, including:….”Install a software package.įor each Service-Action that you want to create, you will need to add an AWS Systems Manager automation document. Now, you can access the following Create WorkSpace Instance page to provision, upgrade, and terminate WorkSpace instances within ServiceNow.Īdding AWS Service Catalog operational actions
#Aws cli workspaces install
Install and configure the AWS Service Catalog connector for ServiceNow.Īfter installing the prerequisites, you have an AWS Service Catalog-provisioned product. The arrows in the following diagram depict the API flow between the services when users access Amazon WorkSpaces via ServiceNow and AWS Service Catalog.ġ. ServiceNow admins can determine (based on IAM roles) which Amazon WorkSpaces software bundle each group of users installs by default.After the instance is created, the user can follow the same process to request service actions such as reboot, terminate, rebuild, or upgrade.At the request stage, users can select the instance size, type, and configuration parameters when creating their order in the AWS Service Catalog.Users can provision, upgrade, and terminate their WorkSpace instance from within the ServiceNow portal.This solution shows how AWS Service Catalog can be used to enable a self-service lifecycle-management offering for Amazon WorkSpaces from within ServiceNow. AWS Service Catalog is a self-service application through which end users can order IT services based on request fulfillment approvals and workflows, enabling you to approve a specific request within ServiceNow (for example, a request for a WorkSpace to be provisioned). ServiceNow is an enterprise service-management platform that places a service-oriented lens on the activities, tasks, and processes needed for a modern work environment. This service helps your organization achieve consistent governance and compliance requirements, while enabling users to deploy only the approved AWS services they need.
#Aws cli workspaces how to
You will then see how to use Self-Service Actions to add operations functions directly from ServiceNow to allow users to reboot, terminate, repair, or upgrade their WorkSpaces.ĪWS Service Catalog allows you to manage commonly deployed AWS services and provisioned software products centrally. In this post, you will learn how to integrate AWS Service Catalog with ServiceNow so users can request their own WorkSpace instances inclusive of all business-level approvals and auditing. As enterprises adopt Amazon WorkSpaces as their virtual desktop solution, there is a need to implement an ITSM-based self-service offering for provisioning and operations.
