@staticmethod
def get_instance(provider):
    """
        This is a method that is used to instantiate the provider class.
        """
    classname = provider + 'CloudProvider'
    providerModule = __import__('ec2spotmanager.CloudProvider.%s' %
        classname, fromlist=[classname])
    providerClass = getattr(providerModule, classname)
    return providerClass()
