Provides an IIS hosted MBrace.AWS worker implementation that can be hosted by AWS's ElasticBeanstalk.
Before proceeding please install the AWS toolkit for Visual Studio.
Open up
Config.cs
and fill out the following fields:
Region: The prefered AWS data center for deploying your cluster.AccessKeyandSecretKey: Credentials key pair corresponding to your user. User must have full access to S3, DynamoDB and SQS.
The above information uniquely identifies your cluster, so make sure that all workers/clients are providing the same configuration.
You can test your configuration by building and debugging your web worker in your local machine. Once the worker is up, use your AWS client instance to verify that the worker is attached to the cluster state.
Right click on the web worker project and select "Publish to AWS". Follow the on-screen instructions
to configure your new cluster. Please ensure that the region matches your Config.cs setting.
An MBrace.AWS cluster is uniquely identified by its region and credentials key pair. You can connect to your deployed cluster by specifying that information on the client side:
using MBrace.AWS;
var credentials = new MBraceAWSCredentials("AccessKey", "SecretKey");
var configuration = new Configuration(AWSRegion.EUCentral1, credentials);
var cluster = AWSCluster.Connect(configuration);