Page tree
Skip to end of metadata
Go to start of metadata



Competition

From IBM https://quickscout.ai

Quickstart

Disclaimer: UiPath should only be used where machine to machine API automation cannot be implemented with standard software development practices.  Some legacy systems or software components that only provide HCI interfaces are an example.

UiPath

https://aws.amazon.com/blogs/architecture/field-notes-deploying-uipath-rpa-software-on-aws/
costing https://ui.vision/blog/uipath-pricing/

JIRAs

https://github.com/UiPath/Infrastructure/issues/111

https://github.com/UiPath/Infrastructure/issues/110

https://github.com/UiPath/Infrastructure/issues/112


UiPath Architecture

UiPath API

https://docs.uipath.com/orchestrator/reference/about-odata-and-references via Oasis spec http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html

UiPath Installation

Installation Options

UiPath is essentially IaaS around .NET hosting Windows VMs connecting to a SQLServer RDB along with a cluster of linux VMs for HA.  The robot agent is installed on user systems.

Option 0: All in one laptop - metal or VMWare VM






p15

p17


mbp5


aws

20210414:1920: running stack on us-east-2

2021-04-14 19:20:35 UTC-0400

OrchestratorStack

CREATE_FAILED

S3 error: The specified key does not exist.
"finding key"

OrchestratorStack:
    Type: 'AWS::CloudFormation::Stack'
    Properties:
      TemplateURL: !Sub
        - >-
          https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}templates/uipath-orchestrator.template.yaml
others ok
https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-aws-vpc/templates/aws-vpc.template


S3 URL: https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-orchestrator/templates/main.template.yaml

using

QSS3BucketName = aws-quickstart

QSS3BucketRegion = us-east-1
QSS3KeyPrefix = quickstart-uipath-robot/ (change to quickstart-uipath-orchestrator/

should be (works)
https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-robot/templates/uipath-orchestrator.template.yaml

should be 
https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-orchestrator/templates/uipath-orchestrator.template.yaml

continuing

start 1941

HA slaves up 1945

bastion up 2045






Option 1: Minimal VM Install - 1 local VMWare VM connecting to AWS RDS

Option 2: Minimal Cloud - 1 AWS EC2 connecting to AWS RDS

Note keep up the 3 HA nodes - redis connectivity is required


{"StatusCode":500,"StatusDescription":"InternalServerError","Message":"It was not possible to connect to the redis server(s). UnableToConnect on 10.0.40.104:10000/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 5s ago, last-write: 5s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 88728s ago, v: 2.0.593.37019"}

Option 3: Standard non-HA Cloud - CloudFormation 2 EC2 and 1 RDS

Option 4: Full HA Cloud - 2-3 zones - multi-AZ RDS - HA cluster









Developer UiPath

https://cloud.uipath.com/obrienlabscorporation/DefaultTenant/actions_/tasks/myaction


AWS Automation via UiPath

https://aws.amazon.com/blogs/architecture/field-notes-deploying-uipath-rpa-software-on-aws/

https://aws-quickstart.github.io/quickstart-uipath-orchestrator/

https://aws.amazon.com/quickstart/architecture/uipath-orchestrator-on-aws/

https://github.com/aws-quickstart/quickstart-uipath-orchestrator

Customizing the AWS UiPath Cloud Formation Nested Templates

Starting with

https://aws-quickstart.github.io/quickstart-uipath-orchestrator/#_launch_the_quick_start

New bucket https://s3.us-east-2.amazonaws.com/cf-useast2b-packet-global/main.template.yaml or https://s3.us-west-1.amazonaws.com/cf-uswest1b-packet-global/main.template.yaml

https://s3.us-west-2.amazonaws.com/cf-uswest2b-packet-global/main.template.yaml

Watch service limits - as usually you have a max of 100 buckets per account - UiPath will add 3 buckets including your template bucket


biometric:templates michaelobrien$ aws s3 mb s3://cf-useast2b-packet-global --region=us-east-2
make_bucket: cf-useast2b-packet-global
biometric:templates michaelobrien$ aws s3 sync . s3://cf-useast2b-packet-global --region=us-east-2
upload: ./routing.template.yaml to s3://cf-useast2b-packet-global/routing.template.yaml
biometric:templates michaelobrien$ aws cloudformation deploy --template-file main.template.yaml --parameter-overrides AvailabilityZones=us-east-2b,us-east-2c --stack-name uipath --region=us-east-2 --s3-bucket cf-useast2b-packet-global

An error occurred (ValidationError) when calling the CreateChangeSet operation: Parameters: [HostedZoneID, KeyPairName] must have values
using console for now

2nd region
biometric:templates michaelobrien$ aws s3 mb s3://cf-uswest1b-packet-global --region=us-west-1
biometric:templates michaelobrien$ aws s3 sync . s3://cf-uswest1b-packet-global --region=us-west-1
upload: ./database.template.yaml to s3://cf-uswest1b-packet-global/database.template.yaml
upload: ./routing.template.yaml to s3://cf-uswest1b-packet-global/routing.template.yaml
upload: ./ha.template.yaml to s3://cf-uswest1b-packet-global/ha.template.yaml
upload: ./storage.template.yaml to s3://cf-uswest1b-packet-global/storage.template.yaml
upload: ./server.template.yaml to s3://cf-uswest1b-packet-global/server.template.yaml
upload: ./main.template.yaml to s3://cf-uswest1b-packet-global/main.template.yaml
upload: ./uipath-orchestrator.template.yaml to s3://cf-uswest1b-packet-global/uipath-orchestrator.template.yaml



Developer Infrastructure


VMProductsNotes

Orchestrator Web
Elasticsearch (non-AWS)


Orchestrator DB



Compare to Github actions

On-Prem UiPath Installation

https://www.uipath.com/developers/enterprise-edition-download

60 day eval

https://docs.uipath.com/installation-and-upgrade/docs/orchestrator-about-installation


Solution Architecture Questions




Installation environmentsprem
SaaS
cloud IaaS
UiPath versions2020.10
AuthenticationIAM or KeyCloak
Authorization

Use cases


API automation
Backup/Restore
Migration Path


Licenses

UiPath

Deployments

AWS Quickstart Provided UIPath Deployment

We will start with the default new VPC CloudFormation template in https://aws-quickstart.github.io/quickstart-uipath-orchestrator/#_launch_the_quick_start via https://fwd.aws/yJgMp which renders to https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?stackName=UiPath-Orchestrator&templateURL=https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-orchestrator/templates/main.template.yaml

see https://github.com/obrienlabs/uipath in https://github.com/obrienlabs/uipath/issues/1

Attaching a robot






AvailabilityZonesus-east-2a,us-east-2b

GatewayNameuipathgateway

GatewayTimezoneUS/Eastern

HAALicense

HAAPassword***************

HAAUseremail

HAPort10000

HostedZoneIDZ05779022O0W9

InstanceTypem4.xlarge

KeyPairName

NumberOfAZs2

OrchestratorInstanceCount2

OrchestratorLicense
(used multiple times and concurrently)

OrchestratorPassword****************

OrchestratorVersion20.10.7

PrivateSubnetTag1Network=Private1

PrivateSubnetTag2Network=Private2

PrivateSubnetTag3Network=Private3

PublicSubnetTag1Network=Public1

PublicSubnetTag2Network=Public2

PublicSubnetTag3Network=Public3

QSS3BucketNameaws-quickstart

QSS3BucketRegionus-east-1

QSS3KeyPrefixquickstart-uipath-orchestrator/

RDSAllocatedStorage200

RDSDBNameuipathdb

RDSMaxAllocatedStorage1000

RDSPassword****************

RDSUsernameuipathdb

UiPathFQDNorchestrator.packet.global

VPCCIDR10.0.0.0/16

Template Review

AreaIssueDetails
Prerequisites

Route53 domain

ssh key

OK
UiPath Eval License persistenceWe are using the 60day enterprise eval in place of a wildcard* dev license.
If you ask for another 60 day - the same code gets returned.

OK
https://www.uipath.com/developers/enterprise-edition-download

 


UiPath Eval License concurrencymultiple region deployments can run the same license
need to verify actual runtime activation though

Deployment time 67 not 25 min"Each deployment takes about 25 minutes to complete."
actually 67 min including 4 min for the new VPC option
https://aws-quickstart.github.io/quickstart-uipath-orchestrator/#_launch_the_quick_start
fqdn needs RE . validation or derivation from route53 zone - as Cert/Route53 error only occurs during nested CF buildmissing out on adding .packet.global to the Hosting FQDN will result 
in an error later on that will require a partial manual rollback of the RDS instance.

2021-04-15 09:54:04 UTC-0400

OrchestratorStack

CREATE_FAILED

Embedded stack arn:aws:cloudformation:us-west-1:453279094200:stack/
UiPath-Orchestrator-OrchestratorStack-12EYHJTMLWPX9/03fc1270-9df2-11eb-a5bf-024d78a93fd5
was not successfully created: The following resource(s) failed to create:
[ConfigureSSLStack, FindAmiLambdaRole, StorageStack, DatabaseStack].


add validation and/or derivation to https://github.com/UiPath/Infrastructure/blob/main/AWS/Orchestrator/templates/main.template.yaml#L819



https://github.com/UiPath/Infrastructure has a 404 on the doc link https://github.com/UiPath/Infrastructure/blob/main/AWS/docs

submitted

https://github.com/UiPath/Infrastructure/issues/112

template default is orchestrator/ not robot/
in https://aws-quickstart.github.io/quickstart-uipath-orchestrator/#_launch_the_quick_start via
https://github.com/UiPath/Infrastructure
specifically
https://github.com/UiPath/Infrastructure/blob/main/AWS/Orchestrator/templates/main.template.yaml#L983


without the orchestrator change/ for 

2021-04-14 19:20:35 UTC-0400

OrchestratorStack

CREATE_FAILED

S3 error: The specified key does not exist.
"finding key"
https://github.com/UiPath/Infrastructure/blob/main/AWS/Orchestrator/templates/main.template.yaml#L983

OrchestratorStack:
    Type: 'AWS::CloudFormation::Stack'
    Properties:
      TemplateURL: !Sub
        - >-
          https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}templates/uipath-orchestrator.template.yaml
others ok
https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-aws-vpc/templates/aws-vpc.template


S3 URL: https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-orchestrator/templates/main.template.yaml

using

QSS3BucketName = aws-quickstart

QSS3BucketRegion = us-east-1
QSS3KeyPrefix = quickstart-uipath-robot/ (change to quickstart-uipath-orchestrator/

originally rendered
https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-robot/templates/uipath-orchestrator.template.yaml

should be 
https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-orchestrator/templates/uipath-orchestrator.template.yaml

continuing/rerun

start 1941

HA slaves up 1945

bastion up 2045

submitted
https://github.com/UiPath/Infrastructure/issues/110
Volumetrics

What is the smallest possible instance size  (defaulting to M4.xlarge) for DEV testing, and typical Staging workload - can we put in autoscaled instances for the 9-5 load and revert to a minimum cluster off hours



Compute BoundAre we network, CPU, RAM, HD bound - or can we target network, compute, filesystem  or ram optimized instances
ELK stackProvided ES or custom ELK stack CF template - or we provide our own.
multi-az RDSSingle DB in the HA template - no provision for read-replica yet
Securitysession manager over default bastion access


2021-04-14 20:48:01 UTC-0400

UiPath-Orchestrator

CREATE_COMPLETE

-

2021-04-14 20:47:58 UTC-0400

OrchestratorStack

CREATE_COMPLETE

-

2021-04-14 19:44:41 UTC-0400

OrchestratorStack

CREATE_IN_PROGRESS

Resource creation Initiated

2021-04-14 19:44:40 UTC-0400

OrchestratorStack

CREATE_IN_PROGRESS

-

2021-04-14 19:44:38 UTC-0400

NetworkStack

CREATE_COMPLETE

-

2021-04-14 19:41:34 UTC-0400

NetworkStack

CREATE_IN_PROGRESS

Resource creation Initiated

2021-04-14 19:41:33 UTC-0400

NetworkStack

CREATE_IN_PROGRESS

-

2021-04-14 19:41:26 UTC-0400

UiPath-Orchestrator

CREATE_IN_PROGRESS

User Initiated


details

https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/transparent-data-encryption?view=sql-server-ver15

https://github.com/UiPath/Infrastructure

  • No labels

2 Comments

  1. https://s3.ca-central-1.amazonaws.com/cf-cacentral1-uipath-packet-global/main.template.yaml

    2021-05-31 16:30:25 UTC-0400RDSDBInstanceCREATE_FAILEDResource creation cancelled
    2021-05-31 16:30:24 UTC-0400uipath1-OrchestratorStack-8EQI2IE35720-DatabaseStack-C7QGFFMUEHOGDELETE_IN_PROGRESSUser Initiated
    2021-05-31 16:25:59 UTC-0400RDSDBInstanceCREATE_IN_PROGRESSResource creation Initiated