CloudOpt provides two (2) ServerTemplates that are designed to launch and configure a CloudOptimizer setup with a Gateway server or an Endpoint server.
Table of Contents
The following steps will explain how to use the CloudOpt ServerTemplates and RightScripts to properly setup a CloudOptimizer solution in the cloud.
The CloudOpt ServerTemplates are designed to launch servers into one of the AWS EC2 regions. In order to launch an EC2 server you will need to have an EC2 SSH Key and Security Group. If you need to create new resources, follow the tutorials below. Be sure to create the cloud resources in the EC2 cloud/region (e.g. US-East) into which you will launch the servers because cloud resources are cloud-specific.
The CloudOpt ServerTemplates are designed to use RightScale's Credentials store (Design -> Credentials) to provide sensitive information to some of the scripts when they are executed. Create the following credentials with the following names. If you do not have access to this information, contact the person who set up the AWS account. See Sign Up for Amazon Web Services (AWS).
Log into the RightScale dashboard and go to Design -> MultiCloud Marketplace -> ServerTemplates. Use the search tool to find and import the most recent revisions of both ServerTemplates published by "CloudOpt Inc." A copy of the templates will be saved in your RightScale account's local collection. (Design -> ServerTemplates) Any RightScale account will be able to import the ServerTemplates.
If you do not have a deployment, you must create one before you can add servers into it. See Create a New Deployment. (e.g. CloudOpt)
There are two types of CloudOptimizer configurations that can be created with the ServerTemplates. The setup instructions below explain how to set up simple examples of each use case.
Go to the imported "CloudOptimizer Endpoint" ServerTemplate and add a server to the new "CloudOpt" deployment. Be sure to select the same cloud/region where you created the cloud resources in an earlier step.
See Add a Server to a Deployment. Select the appropriate EC2 SSH key and security group that you created in an earlier step. It's recommended that you select a specific availability zone (e.g. us-east-1a) because you will launch the CloudOptimizer Gateway in the same availability zone. You can use the default selections for the other server detail options.
Go to the imported "CloudOptimizer Gateway" ServerTemplate and add a server to the new "CloudOpt" deployment. Be sure to select the same cloud/region, cloud resources, and availability zone as the CloudOptimizer Endpoint server.
You will need to define any missing inputs for any boot/decomission scripts before you can successfully launch the server. Some inputs apply to operational scripts and can be left blank.
The following inputs must be specified for the successful execution of the CloudOpt scripts. It's recommended that you define the inputs at the deployment level. Go to the deployment's Inputs tab and define values for the following inputs:
(Optional) You can define values for the other missing inputs, but it's not required to successfully launch the server.
Click Save.
Note: Please refer to http://kb.cloudopt.com assistance with any of the steps below. You can click on “All Articles” to access all of the articles on the CloudOpt Knowledge Base.
In an Endpoint Configuration, CloudOptimizer runs on the same system that is used to initiate file transfers.
test_file_generator.pl --size 100
scp -S cloudcopy -i <key> 1-100.mb <username>@<address>:~/.
cloudstats
Component - cloudcopy ------------------------------------------------------------ Number of connections: 1 Original data size: 100.00 MB Transferred data size: 100.89 MB Bandwidth Saving: 0 bytes (0.0%)
nano 1-100.mb
Save the file - <Cntl - W>
cloudstats clear
scp -S cloudcopy -i <key> 1-100.mb <username>@<address>:~/.
cloudstats
Component - cloudcopy ------------------------------------------------------------ Number of connections: 1 Original data size: 100.00 MB Transferred data size: 1.61 MB Bandwidth Saving: 98.39 MB (98.4%)
Note: Please refer to http://kb.cloudopt.com assistance with any of the steps below. You can click on “All Articles” to access all of the articles on the CloudOpt Knowledge Base.
In a Gateway Configuration, files will be sent from the local computer to a CloudOptimizer running in Endpoint Mode via a CloudOptimizer running in Gateway Mode.
To keep the demonstration as simple as possible, you'll use two CloudOptimizer instances and one local computer. Use one CloudOptimizer server in Endpoint Mode and the other server in Gateway Mode.
watch cloudstats
mb:dd if=/dev/urandom of=1-5.mb bs=5M count=1
Component - cloudcopy ------------------------------------------------------------ Number of connections: 1 Original data size: 5.00 MB Transferred data size: 5.04 MB Bandwidth Saving: 0 bytes (0.0%)
cloudstats clear
Component - cloudcopy ------------------------------------------------------------ Number of connections: 1 Original data size: 5.00 MB Transferred data size: 87.45 KB Bandwidth Saving: 4.91 MB (98.3%)
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.