Custom web server for UI pages

Another reference to what I would like to do: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-integration.html " Setting Up the Hosted UI with AWS Amplify" section, I can host the UI.