Deployment in AWS with Auto Scaling (DRAFT): Difference between revisions
Dgreenwood (talk | contribs) |
Dgreenwood (talk | contribs) |
||
| Line 206: | Line 206: | ||
# Configure a new '''Grooper Repository'''. | # Configure a new '''Grooper Repository'''. | ||
# Install a '''Grooper Licensing''' service. | # Install a '''Grooper Licensing''' service. | ||
If you need guidance on installing and configuring '''Grooper''' or a '''Grooper Licensing''' service, please visit the the Install and Setup article on the Grooper Wiki. | If you need guidance on installing and configuring '''Grooper''' or a '''Grooper Licensing''' service, please visit the the Install and Setup article on the Grooper Wiki. | ||
* [[Install and Setup - 2021|Install and Setup - Version 2021]] | * [[Install and Setup - 2021|Install and Setup - Version 2021]] | ||
* [[Install and Setup - 2022|Install and Setup - Version 2022]] | * [[Install and Setup - 2022|Install and Setup - Version 2022]] | ||
''For Version 2022'' | |||
If you are using the '''Grooper Web Client''', you must install IIS on the server and install the '''Grooper Web Client''' application. If you need guidance, please visit the Web Client article on the Grooper Wiki. | If you are using the '''Grooper Web Client''', you must install IIS on the server and install the '''Grooper Web Client''' application. If you need guidance, please visit the Web Client article on the Grooper Wiki. | ||
Revision as of 16:24, 20 June 2022
| WIP | This article is a work-in-progress or created as a placeholder for testing purposes. This article is subject to change and/or expansion. It may be incomplete, inaccurate, or stop abruptly.
This tag will be removed upon draft completion. |
Easily scale your Grooper processing with cloud-based computing using Amazon Web Services and Auto Scaling.
About AWS
Imagine you normally process a hundred documents a day. Then, out of nowhere, you start getting a thousand documents a day. Maybe its a busy time of year for you. Maybe you landed a huge client and need to process their paperwork. Great news! But how do you account for the increase in computing demands? How do you both scale up your IT infrastructure to meet the new demand and scale it down once the demand has subsided?
One answer lies in cloud-based computing. Spinning up a pool of virtual machines to process the additional workload is, generally speaking, quicker and more cost effective than purchasing and deploying physical computers. Furthermore, what are you going to do once you're done processing all that extra work? With a cloud-based IT infrastructure, you can quickly deactivate those machines and re-activate them as needed on-demand. With a physical infrastructure, you're stuck holding a lot of additional hardware until you need it again.
Amazon Web Services (AWS) is one of the most popular on-demand cloud computing providers. Their Elastic Compute Cloud (EC2) gives users a pay-as-you-go model to create, launch and terminate virtual computers, as needed. These virtual machines (which Amazon calls "instances") can be built to mirror physical computer specifications, including operating system, CPU, RAM and storage options. EC2 encourages scalability with web services that allow you to take a snapshot of a server's configuration (an Amazon Machine Image or "AMI") and boot a virtual machine with whatever software you need already loaded.
Furthermore, the process of spinning up and spinning down virtual machines can be automated with AWS Auto Scaling. This allows users to set automatic scaling parameters, defining when to launch new EC2 instances to meet surges in processing demand. The virtual machines are then terminated as soon as demand dies down. With a pay-for-use model, you only pay for the machines while they're running. Ultimately, this saves you time scaling your IT infrastructure up and down and saves you money only paying for what you need when you need it.
In this article, we will show you how to set up a scalable Grooper deployment using Amazon Web Services (AWS), Elastic Compute Cloud (EC2) instances and Auto Scaling.
- For more information on EC2 instances, visit Amazon's EC2 documentation.
- For more information on Auto Scaling, visit Amazon's Auto Scaling documentation.
The General Process
The general steps to complete this deployment setup are as follows:
- Launch the "Main" EC2 instance.
- This is the virtual machine that hosts the Grooper Repository's database and file store and the Grooper license for the "Worker" machines.
- Setup the Security Group.
- In AWS, Security Groups are a set of firewall rules, restricting inbound and outbound traffic based on protocols and port numbers.
- Launch the "Worker" EC2 instance.
- This is the virtual machine performing automated processing tasks.
- Grooper will need to be installed. Grooper will need to be licensed using the Main instance's hosted licensing. The Worker instance will need to be able to connect to the Main instance's Grooper Repository.
- Create an Amazon Machine Image (AMI) of the Worker instance.
- This image will be a snapshot of the Worker machine, with Grooper installed and ready for document processing.
- This is used to create new Worker instances automatically according to the Auto Scaling setup.
- Create a Launch Template.
- Essentially, a Launch Template is a set of instructions to launch a new EC2 instance programmatically (rather than manually, as done in step 3).
- Auto Scaling will use the Launch Template to create new Worker instances, using the AMI created in step 5, and assign the right Security Group.
- Configure the Auto Scaling policies.
- This defines the minimum and maximum number of virtual machines to be added as well as the scaling rules, what conditions should be met to spin up and down new EC2 instances.

How To
Launch the "Main" EC2 Instance
Getting Started
|
|
|
|
|
|
|
|
System Specs
|
|
Network Settings
Generally speaking, every organization will have their own network security requirements. Your IT department will need to configure the EC2 instance's Network Settings panel according to your needs. For the purposes of this demo, we will use the default Network Settings.
- For more information on networking, visit the Amazon documentation here.
- For more information on security, visit the Amazon documentation here.
|
We will create a new Security Group in this demonstration. |
Login Info
Amazon strongly recommends you log into EC2 instances using a key pair. If you plan on connecting to your virtual machines using RDP (which we will in this tutorial), you must specify a key pair.
- For more information on key pairs, please visit the Amazon documentation here.
|
We have already generated a key pair and selected it. |
When you've finished configuring the EC2 instance, you will need to launch it, and then connect to it to install and configure Grooper.
Launch Instance
|
|
|
|
|
Connect to Instance
|
|
|
|
|
|
|
Grooper Installation
Once connected to the "Main" instance, you must do the following:
- Install Grooper.
- Configure a new Grooper Repository.
- Install a Grooper Licensing service.
If you need guidance on installing and configuring Grooper or a Grooper Licensing service, please visit the the Install and Setup article on the Grooper Wiki.
For Version 2022
If you are using the Grooper Web Client, you must install IIS on the server and install the Grooper Web Client application. If you need guidance, please visit the Web Client article on the Grooper Wiki.











