<commit_before>---
layout: post
title: Launching Your Server
date:   2014-10-29 12:38:28
position: 20
categories: walkthrough
summary: A configuration guide for provisioning your server in the cloud. This guide will explain the configuration options you can provide and detail the steps rapidcloud.io will take on your behalf to get your instance ready.
---
## Prerequisites
Before rapidcloud.io can work with your cloud provider you must provide your cloud access keys. For AWS users we've created a step by step walk through, [follow these instructions]({% post_url 2014-11-02-connect-to-aws %})to grant rapidcloud.io access to your cloud account. 

## Walk through
Get started at the [add server page](https://rapidcloud.io/my/server/add).

Select the cloud you want to use

![Server Configuration](/assets/server_add_select_cloud.png)

Provide the configuration details for your new server instance

![Server Configuration](/assets/server_add.png)

1. Name - What is the name of the server
1. Instance Size - This represents the processing power, memory and storage available for your instance. These selections are based directly on the cloud you are using
1. Region - Where should the instance be provisioned. This is a geographic region and should be something you consider carefully, ideally you want to locate the region either closest to your customers or if this is a backup location seperate from your other instances
1. Database - Yes/No - If you select Yes, MySQL will be installed and configured for you. As of now there is no way to add MySQL later, it must be installed as part of the initial setup
1. Database Name (optional) - You can name the default database, if you don't rapidcloud will name it based on your server name
1. Project type - You must select the type of application this server will be configured for. If its a Tomcat application the server will have tomcat setup and installed. If its a Play application, the server will be configured appropriately. This cannot be changed later so make sure you know the type of project. If you are unsure, Tomcat is the safest bet, most applications offer support for Maven and allow you to package thems up as .war files.


#### Once you have provided all the details, rapidcloud.io will perform the following steps

1. Provision the instance with your cloud provider
1. Wait until the instance is up and able to accept SSH connections
1. Configure the instance based on your provided settings and rapidcloud.io's configuration files (ex: iptables, nginx, mysql, maven, tomcat)
1. Setup accounts. You will have access to an rc-user SSH login which has sudo permissions. If you installed MySQL a seperate rc-user MySQL login will be created.
1. Email you rc-user credentials (You will reieve an email with your instances IP Address, rc-user sudo password and if you installed MySQL you mysql rc-user password)


#### After your server setup is complete you can [deploy your application]({% post_url 2014-10-29-deploy-your-application %}) to the server.<commit_msg>fixed language on the launch server page<commit_after>---
layout: post
title: Launching Your Server
date:   2014-10-29 12:38:28
position: 20
categories: walkthrough
summary: A configuration guide for provisioning your server in the cloud. This guide will explain the configuration options you can provide and detail the steps rapidcloud.io will take on your behalf to get your instance ready.
---
## Prerequisites
Before rapidcloud.io can work with your cloud provider you must provide your cloud access keys. For AWS users we've created a [step by step walk through]({% post_url 2014-11-02-connect-to-aws %}), to grant rapidcloud.io access to your cloud account. 

## Guide
Get started by going to the [add server page](https://rapidcloud.io/my/server/add) and selecting the cloud you want to use.

![Server Configuration](/assets/server_add_select_cloud.png)

Provide the configuration details for your new server instance

![Server Configuration](/assets/server_add.png)

1. Name - What is the name of the server
1. Instance Size - This represents the processing power, memory and storage available for your instance. These selections are based directly on the cloud you are using
1. Region - Where should the instance be provisioned. This is a geographic region and should be something you consider carefully, ideally you want to locate the region either closest to your customers or if this is a backup location seperate from your other instances
1. Database - Yes/No - If you select Yes, MySQL will be installed and configured for you. As of now there is no way to add MySQL later, it must be installed as part of the initial setup
1. Database Name (optional) - You can name the default database, if you don't rapidcloud.io will name it based on your server name
1. Project type - You must select the type of application this server will be configured for. If its a Tomcat application the server will have tomcat setup and installed. If its a Play application, the server will be configured appropriately. This cannot be changed later so make sure you know the type of project. If you are unsure, Tomcat is the safest bet, most applications offer support for Maven and allow you to package thems up as .war files


#### Once you have provided all the details, rapidcloud.io will perform the following steps

1. Provision the instance with your cloud provider
1. Wait until the instance is up and able to accept SSH connections
1. Configure the instance based on your provided settings and rapidcloud.io's configuration rules (ex: iptables, nginx, mysql, maven, tomcat)
1. Setup accounts. You will have access to an rc-user SSH login which has sudo permissions. If you installed MySQL a separate rc-user MySQL login will be created
1. Email you rc-user credentials (You will receive an email with your instance's IP Address, rc-user sudo password and if you installed MySQL you mysql rc-user password)


#### After your server setup is complete you can [deploy your application]({% post_url 2014-10-29-deploy-your-application %}) to the server.
{'fraction_non_alphanumeric': 0.051273623664749385, 'fraction_numerical': 0.014133114215283484, 'mean_word_length': 4.3906111603188664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '924550', 'n_tokens_mistral': 1528, 'n_tokens_neox': 1425, 'n_words': 924}