Configure the system for a scale-mode application. In this configuration, there are multiple web servers taking requests through a load balancer, and multiple task workers executing off-line tasks.
cc.exe --configure
Use the configure command to setup a new server. Before running the command, you should install the latest CLI. After running the command, the server will be ready to [add an application to the server](/help/Contensive/Add New Application).
The server group is the one or more servers, that may include one or more applications. Enter a single word, no spaces or special characters. You might use a word that represents the server and not the application, like jayDev.
Answer no if you are not beta testing.
A simple true or false that is passed to the code environment.
Reply yes and all application files, such as uploaded content or working files are stored locally on the server.
Reply no and files will be stored in an Amazon S3 bucket and the local file space is a mirror used for file operations. Remote files are implemented in three of the four file systems
Best practice is to have a drive available for just content, drive-d.
Create an aws user for the server group. All applications in the server group share this user by default. Individual applcations can override these credentials to isolate applications. Policies needed will depend on the configuration.
Enter the region for your application. us-east-1 by default.
Answer no for production site. This enables sending nLog logging data to Cloud Watch.
For a local database, enter "(local)"
For a remote database like RDS, enter the endpoint for the database engine.
for example, "rds-jaydev.-----------.us-east-1.rds.amazonaws.com"
The code accesses, and provides access to the db through the cp.db object, which uses this credential in the connection string.
Answer local for development applications. For staging and production servers using mulitple servers, use remote cache. The sysyem is currently transtioning from MCached to Redis and this transtion. Do not start new configurations in MCached.